Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b53cce74fa8bad39d84f8d6d5cef51853259bec 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-ssh15672322859936631964.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10732758532260859774.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh9043907329920210922.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh10656375194173767108.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-ssh10807526773966278257.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 ‘prd-ubuntu20.04-docker-8c-8g-9180’ Running on prd-ubuntu20.04-docker-8c-8g-9183 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9b53cce74fa8bad39d84f8d6d5cef51853259bec (main) Commit message: "Merge pull request #351 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 > git rev-list --no-walk 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-13T03:11:58.278Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-13T03:11:58.339Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-13T03:11:58.364Z] ========================================================= [2023-10-13T03:11:58.364Z] EdgeX Global Pipelines Version Info [2023-10-13T03:11:58.364Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:11:59.067Z] ------------------- [2023-10-13T03:11:59.067Z] stable info: [2023-10-13T03:11:59.067Z] ------------------- [2023-10-13T03:11:59.067Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-13T03:11:59.067Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-13T03:11:59.067Z] Message: update stable to v1.0.254 [2023-10-13T03:12:00.005Z] ------------------- [2023-10-13T03:12:00.005Z] experimental info: [2023-10-13T03:12:00.005Z] ------------------- [2023-10-13T03:12:00.005Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-13T03:12:00.005Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-13T03:12:00.005Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-13T03:12:00.190Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-13T03:12:00.206Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-13T03:12:00.223Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-13T03:12:00.239Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-13T03:12:00.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-13T03:12:00.271Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-13T03:12:00.283Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-13T03:12:00.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-13T03:12:00.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-13T03:12:00.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-13T03:12:00.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-13T03:12:00.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-13T03:12:00.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-13T03:12:00.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-13T03:12:00.403Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-13T03:12:00.426Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-13T03:12:00.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-13T03:12:00.457Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-13T03:12:00.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-13T03:12:00.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-13T03:12:00.500Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-13T03:12:00.516Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-13T03:12:00.537Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-13T03:12:00.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-13T03:12:00.569Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-13T03:12:00.579Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-13T03:12:00.593Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-13T03:12:00.610Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-13T03:12:00.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-13T03:12:00.648Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-13T03:12:00.666Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo [2023-10-13T03:12:00.678Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b53cce [Pipeline] echo [2023-10-13T03:12:00.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T03:12:00.720Z] provisioning config files... [2023-10-13T03:12:00.734Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13655888015884097221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:12:01.038Z] ---> docker-login.sh [2023-10-13T03:12:01.038Z] nexus3.edgexfoundry.org:10001 [2023-10-13T03:12:01.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:01.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:01.299Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:01.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:01.299Z] [2023-10-13T03:12:01.299Z] Login Succeeded [2023-10-13T03:12:01.299Z] nexus3.edgexfoundry.org:10002 [2023-10-13T03:12:01.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:01.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:01.299Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:01.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:01.299Z] [2023-10-13T03:12:01.299Z] Login Succeeded [2023-10-13T03:12:01.299Z] nexus3.edgexfoundry.org:10003 [2023-10-13T03:12:01.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:01.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:01.558Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:01.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:01.558Z] [2023-10-13T03:12:01.558Z] Login Succeeded [2023-10-13T03:12:01.558Z] nexus3.edgexfoundry.org:10004 [2023-10-13T03:12:01.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:01.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:01.558Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:01.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:01.558Z] [2023-10-13T03:12:01.558Z] Login Succeeded [2023-10-13T03:12:01.558Z] docker.io [2023-10-13T03:12:01.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:01.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:01.817Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:01.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:01.817Z] [2023-10-13T03:12:01.817Z] Login Succeeded [2023-10-13T03:12:01.817Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T03:12:01.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-13T03:12:02.181Z] + git rev-list -1 --merges 9b53cce74fa8bad39d84f8d6d5cef51853259bec~1..9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo [2023-10-13T03:12:02.222Z] -----------> git rev-list -1 --merges 9b53cce74fa8bad39d84f8d6d5cef51853259bec~1..9b53cce74fa8bad39d84f8d6d5cef51853259bec 9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:12:02.222Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec [false] [Pipeline] sh [2023-10-13T03:12:02.504Z] + git log --format=format:%s -1 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo [2023-10-13T03:12:02.524Z] ========================================================= [2023-10-13T03:12:02.524Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-13T03:12:02.524Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T03:12:02.862Z] + git log --format=format:%s -1 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo [2023-10-13T03:12:02.873Z] [semverPrep] GIT_COMMIT: 9b53cce74fa8bad39d84f8d6d5cef51853259bec, Commit Message: Merge pull request #351 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo [2023-10-13T03:12:02.882Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-13T03:12:03.222Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T03:12:03.222Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-13T03:12:03.222Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-13T03:12:03.222Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-13T03:12:03.222Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-13T03:12:03.222Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-13T03:12:03.222Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:12:03.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T03:12:03.574Z] [2023-10-13T03:12:03.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:12:03.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T03:12:03.873Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-13T03:12:03.873Z] b85a868b505f: Pulling fs layer [2023-10-13T03:12:03.873Z] e2be974225ed: Pulling fs layer [2023-10-13T03:12:03.873Z] 339a4e72a1f5: Pulling fs layer [2023-10-13T03:12:03.873Z] 988bab9f4d93: Pulling fs layer [2023-10-13T03:12:03.873Z] 1469e6f7b9e6: Pulling fs layer [2023-10-13T03:12:03.873Z] eaf3925da568: Pulling fs layer [2023-10-13T03:12:03.873Z] bab4dde63d76: Pulling fs layer [2023-10-13T03:12:03.873Z] bde34c3a00c8: Pulling fs layer [2023-10-13T03:12:03.873Z] b352a97aabf1: Pulling fs layer [2023-10-13T03:12:03.873Z] 4872d77fe225: Pulling fs layer [2023-10-13T03:12:03.873Z] 5851b861e8e6: Pulling fs layer [2023-10-13T03:12:03.873Z] bde34c3a00c8: Waiting [2023-10-13T03:12:03.873Z] 988bab9f4d93: Waiting [2023-10-13T03:12:03.873Z] 1469e6f7b9e6: Waiting [2023-10-13T03:12:03.873Z] eaf3925da568: Waiting [2023-10-13T03:12:03.873Z] bab4dde63d76: Waiting [2023-10-13T03:12:03.873Z] b352a97aabf1: Waiting [2023-10-13T03:12:03.873Z] 4872d77fe225: Waiting [2023-10-13T03:12:03.873Z] e2be974225ed: Verifying Checksum [2023-10-13T03:12:03.873Z] e2be974225ed: Download complete [2023-10-13T03:12:03.873Z] 988bab9f4d93: Download complete [2023-10-13T03:12:03.873Z] 1469e6f7b9e6: Verifying Checksum [2023-10-13T03:12:03.873Z] 1469e6f7b9e6: Download complete [2023-10-13T03:12:03.873Z] eaf3925da568: Verifying Checksum [2023-10-13T03:12:03.873Z] 339a4e72a1f5: Verifying Checksum [2023-10-13T03:12:03.873Z] 339a4e72a1f5: Download complete [2023-10-13T03:12:04.130Z] bde34c3a00c8: Verifying Checksum [2023-10-13T03:12:04.130Z] bde34c3a00c8: Download complete [2023-10-13T03:12:04.130Z] b352a97aabf1: Verifying Checksum [2023-10-13T03:12:04.130Z] b352a97aabf1: Download complete [2023-10-13T03:12:04.130Z] 4872d77fe225: Verifying Checksum [2023-10-13T03:12:04.130Z] 4872d77fe225: Download complete [2023-10-13T03:12:04.130Z] 5851b861e8e6: Verifying Checksum [2023-10-13T03:12:04.130Z] 5851b861e8e6: Download complete [2023-10-13T03:12:04.130Z] b85a868b505f: Verifying Checksum [2023-10-13T03:12:04.130Z] b85a868b505f: Download complete [2023-10-13T03:12:04.388Z] bab4dde63d76: Verifying Checksum [2023-10-13T03:12:04.388Z] bab4dde63d76: Download complete [2023-10-13T03:12:05.330Z] b85a868b505f: Pull complete [2023-10-13T03:12:05.330Z] e2be974225ed: Pull complete [2023-10-13T03:12:05.898Z] 339a4e72a1f5: Pull complete [2023-10-13T03:12:05.898Z] 988bab9f4d93: Pull complete [2023-10-13T03:12:06.156Z] 1469e6f7b9e6: Pull complete [2023-10-13T03:12:06.156Z] eaf3925da568: Pull complete [2023-10-13T03:12:08.060Z] bab4dde63d76: Pull complete [2023-10-13T03:12:08.060Z] bde34c3a00c8: Pull complete [2023-10-13T03:12:08.060Z] b352a97aabf1: Pull complete [2023-10-13T03:12:08.060Z] 4872d77fe225: Pull complete [2023-10-13T03:12:08.318Z] 5851b861e8e6: Pull complete [2023-10-13T03:12:08.318Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-13T03:12:08.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T03:12:08.318Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:12:08.406Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:12:08.443Z] $ 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 [2023-10-13T03:12:11.634Z] $ docker top b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 -eo pid,comm [2023-10-13T03:12:11.686Z] 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). [2023-10-13T03:12:11.686Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T03:12:11.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T03:12:11.720Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T03:12:11.834Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T03:12:11.839Z] $ docker exec b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent [2023-10-13T03:12:11.937Z] SSH_AUTH_SOCK=/tmp/ssh-Ts1gGePZFKw0/agent.33 [2023-10-13T03:12:11.937Z] SSH_AGENT_PID=39 [2023-10-13T03:12:11.945Z] Running ssh-add (command line suppressed) [2023-10-13T03:12:12.051Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10503711585541424327.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10503711585541424327.key) [2023-10-13T03:12:12.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T03:12:12.346Z] + git tag --points-at HEAD [Pipeline] } [2023-10-13T03:12:12.364Z] $ docker exec --env ******** --env ******** b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent -k [2023-10-13T03:12:12.466Z] unset SSH_AUTH_SOCK; [2023-10-13T03:12:12.466Z] unset SSH_AGENT_PID; [2023-10-13T03:12:12.467Z] echo Agent pid 39 killed; [2023-10-13T03:12:12.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-13T03:12:12.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T03:12:12.491Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T03:12:12.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T03:12:12.607Z] $ docker exec b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent [2023-10-13T03:12:12.715Z] SSH_AUTH_SOCK=/tmp/ssh-DiPQf5AwHf4J/agent.71 [2023-10-13T03:12:12.715Z] SSH_AGENT_PID=77 [2023-10-13T03:12:12.720Z] Running ssh-add (command line suppressed) [2023-10-13T03:12:12.832Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12502087828143550598.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12502087828143550598.key) [2023-10-13T03:12:12.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T03:12:13.133Z] + git semver init [2023-10-13T03:12:13.393Z] 2023-10-13 03:12:13,307 [run_init] DEBUG init version:0.0.0 force:False [2023-10-13T03:12:13.393Z] 2023-10-13 03:12:13,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-13T03:12:13.393Z] 2023-10-13 03:12:13,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-13T03:12:13.393Z] 2023-10-13 03:12:13,309 [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) [2023-10-13T03:12:14.771Z] 2023-10-13 03:12:14,443 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-10-13T03:12:14.771Z] 2023-10-13 03:12:14,444 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-10-13T03:12:14.771Z] 2023-10-13 03:12:14,444 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:12:14.771Z] 2023-10-13 03:12:14,444 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:12:14.771Z] 3.1.0-dev.21 [Pipeline] } [2023-10-13T03:12:14.781Z] $ docker exec --env ******** --env ******** b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent -k [2023-10-13T03:12:14.873Z] unset SSH_AUTH_SOCK; [2023-10-13T03:12:14.874Z] unset SSH_AGENT_PID; [2023-10-13T03:12:14.877Z] echo Agent pid 77 killed; [2023-10-13T03:12:14.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T03:12:15.201Z] + git semver [Pipeline] } [2023-10-13T03:12:15.477Z] $ docker stop --time=1 b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 [2023-10-13T03:12:16.796Z] $ docker rm -f --volumes b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T03:12:17.148Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-13T03:12:17.367Z] Stashed 1 file(s) [Pipeline] echo [2023-10-13T03:12:17.369Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.21 [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 [2023-10-13T03:12:17.527Z] provisioning config files... [2023-10-13T03:12:17.537Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8992726039543419379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:12:17.835Z] ---> docker-login.sh [2023-10-13T03:12:17.835Z] nexus3.edgexfoundry.org:10001 [2023-10-13T03:12:17.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:17.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:17.835Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:17.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:17.835Z] [2023-10-13T03:12:17.835Z] Login Succeeded [2023-10-13T03:12:17.835Z] nexus3.edgexfoundry.org:10002 [2023-10-13T03:12:17.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:17.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:17.836Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:17.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:17.836Z] [2023-10-13T03:12:17.836Z] Login Succeeded [2023-10-13T03:12:17.836Z] nexus3.edgexfoundry.org:10003 [2023-10-13T03:12:18.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:18.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:18.098Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:18.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:18.098Z] [2023-10-13T03:12:18.098Z] Login Succeeded [2023-10-13T03:12:18.098Z] nexus3.edgexfoundry.org:10004 [2023-10-13T03:12:18.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:18.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:18.098Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:18.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:18.246Z] [2023-10-13T03:12:18.246Z] Login Succeeded [2023-10-13T03:12:18.246Z] docker.io [2023-10-13T03:12:18.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:12:18.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:12:18.508Z] Configure a credential helper to remove this warning. See [2023-10-13T03:12:18.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:12:18.508Z] [2023-10-13T03:12:18.508Z] Login Succeeded [2023-10-13T03:12:18.508Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T03:12:18.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-13T03:12:18.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T03:12:18.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T03:12:18.601Z] ========================================================= [2023-10-13T03:12:18.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-13T03:12:18.601Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:12:18.925Z] + 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 . [2023-10-13T03:12:18.925Z] Sending build context to Docker daemon 10.94MB [2023-10-13T03:12:18.925Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T03:12:18.925Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-13T03:12:18.925Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-13T03:12:18.925Z] 7264a8db6415: Pulling fs layer [2023-10-13T03:12:18.925Z] c4d48a809fc2: Pulling fs layer [2023-10-13T03:12:18.925Z] 4f1c88b9dad5: Pulling fs layer [2023-10-13T03:12:18.925Z] ad3a456e5733: Pulling fs layer [2023-10-13T03:12:18.925Z] 33e27b845d1e: Pulling fs layer [2023-10-13T03:12:18.925Z] c68163c4e522: Pulling fs layer [2023-10-13T03:12:18.925Z] 50da416c3ac9: Pulling fs layer [2023-10-13T03:12:18.925Z] 23d2d4c4bb30: Pulling fs layer [2023-10-13T03:12:18.925Z] ad3a456e5733: Waiting [2023-10-13T03:12:18.925Z] 33e27b845d1e: Waiting [2023-10-13T03:12:18.925Z] c68163c4e522: Waiting [2023-10-13T03:12:18.925Z] 50da416c3ac9: Waiting [2023-10-13T03:12:18.925Z] 23d2d4c4bb30: Waiting [2023-10-13T03:12:18.925Z] c4d48a809fc2: Download complete [2023-10-13T03:12:18.925Z] ad3a456e5733: Verifying Checksum [2023-10-13T03:12:18.925Z] ad3a456e5733: Download complete [2023-10-13T03:12:19.186Z] 33e27b845d1e: Verifying Checksum [2023-10-13T03:12:19.186Z] 7264a8db6415: Verifying Checksum [2023-10-13T03:12:19.186Z] 7264a8db6415: Download complete [2023-10-13T03:12:19.186Z] c68163c4e522: Verifying Checksum [2023-10-13T03:12:19.187Z] c68163c4e522: Download complete [2023-10-13T03:12:19.187Z] 7264a8db6415: Pull complete [2023-10-13T03:12:19.446Z] 23d2d4c4bb30: Verifying Checksum [2023-10-13T03:12:19.446Z] 23d2d4c4bb30: Download complete [2023-10-13T03:12:19.446Z] c4d48a809fc2: Pull complete [2023-10-13T03:12:19.446Z] 4f1c88b9dad5: Download complete [2023-10-13T03:12:20.012Z] 50da416c3ac9: Verifying Checksum [2023-10-13T03:12:20.012Z] 50da416c3ac9: Download complete [2023-10-13T03:12:23.295Z] 4f1c88b9dad5: Pull complete [2023-10-13T03:12:23.295Z] ad3a456e5733: Pull complete [2023-10-13T03:12:23.295Z] 33e27b845d1e: Pull complete [2023-10-13T03:12:23.295Z] c68163c4e522: Pull complete [2023-10-13T03:12:25.828Z] 50da416c3ac9: Pull complete [2023-10-13T03:12:25.828Z] 23d2d4c4bb30: Pull complete [2023-10-13T03:12:26.085Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-13T03:12:26.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-13T03:12:26.085Z] ---> 0786185ac409 [2023-10-13T03:12:26.085Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-13T03:12:29.376Z] ---> Running in c8ffb417e943 [2023-10-13T03:12:29.376Z] Removing intermediate container c8ffb417e943 [2023-10-13T03:12:29.376Z] ---> 6c7d2164522d [2023-10-13T03:12:29.376Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T03:12:29.376Z] ---> Running in f8f2c0eaa12c [2023-10-13T03:12:29.376Z] Removing intermediate container f8f2c0eaa12c [2023-10-13T03:12:29.376Z] ---> 87a7d8a50421 [2023-10-13T03:12:29.376Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T03:12:29.376Z] ---> Running in 637f7f8d4403 [2023-10-13T03:12:29.634Z] Removing intermediate container 637f7f8d4403 [2023-10-13T03:12:29.634Z] ---> 9a3b7533365d [2023-10-13T03:12:29.634Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T03:12:29.634Z] ---> Running in ca1552fe7fa3 [2023-10-13T03:12:29.634Z] Removing intermediate container ca1552fe7fa3 [2023-10-13T03:12:29.634Z] ---> f0e46f871a85 [2023-10-13T03:12:29.634Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T03:12:29.634Z] ---> Running in 4b324042f325 [2023-10-13T03:12:29.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T03:12:30.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T03:12:30.152Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-13T03:12:30.152Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-13T03:12:30.411Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-13T03:12:30.411Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-13T03:12:30.411Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T03:12:30.411Z] OK: 268 MiB in 56 packages [2023-10-13T03:12:30.976Z] Removing intermediate container 4b324042f325 [2023-10-13T03:12:30.976Z] ---> 49c3f00ac604 [2023-10-13T03:12:30.976Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-13T03:12:30.976Z] ---> Running in 13e220e2a2a9 [2023-10-13T03:12:30.976Z] Removing intermediate container 13e220e2a2a9 [2023-10-13T03:12:30.976Z] ---> 7c747c69ea61 [2023-10-13T03:12:30.976Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-13T03:12:30.976Z] ---> 93f23f215eb0 [2023-10-13T03:12:30.976Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T03:12:30.976Z] ---> Running in 4682b4859534 [2023-10-13T03:12:32.477Z] Still waiting to schedule task [2023-10-13T03:12:32.478Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9182’ [2023-10-13T03:13:17.670Z] Removing intermediate container 4682b4859534 [2023-10-13T03:13:17.670Z] ---> 3d2c00662fb7 [2023-10-13T03:13:17.670Z] Step 11/12 : COPY . . [2023-10-13T03:13:17.670Z] ---> f9db0ab817ea [2023-10-13T03:13:17.670Z] Step 12/12 : RUN $MAKE [2023-10-13T03:13:17.670Z] ---> Running in b658ff1eb50a [2023-10-13T03:13:17.670Z] noop [2023-10-13T03:13:17.670Z] Removing intermediate container b658ff1eb50a [2023-10-13T03:13:17.670Z] ---> 2195f48a3045 [2023-10-13T03:13:17.670Z] Successfully built 2195f48a3045 [2023-10-13T03:13:17.670Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:13:17.976Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-13T03:13:17.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:13:18.047Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:13:18.076Z] $ 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 [2023-10-13T03:13:18.434Z] $ docker top de153b32bb02f6b7a2118a59be6da47e5c66119162298f21f1eff6eabe300f33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T03:13:18.768Z] + go version [2023-10-13T03:13:18.768Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-13T03:13:18.780Z] $ docker stop --time=1 de153b32bb02f6b7a2118a59be6da47e5c66119162298f21f1eff6eabe300f33 [2023-10-13T03:13:20.046Z] $ docker rm -f --volumes de153b32bb02f6b7a2118a59be6da47e5c66119162298f21f1eff6eabe300f33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:13:20.427Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-13T03:13:20.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:13:20.509Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:13:20.540Z] $ 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 [2023-10-13T03:13:20.871Z] $ docker top c4310c81723d3c8ca9eac63b77285a9f834c600e017381398fe6c35fcb0eeed2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T03:13:21.211Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-13T03:13:21.514Z] + make test [2023-10-13T03:13:21.514Z] go test ./... -coverprofile=coverage.out ./... [2023-10-13T03:13:22.888Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-13T03:13:32.851Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-13T03:13:32.851Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2023-10-13T03:13:39.411Z] go vet ./... [2023-10-13T03:13:43.602Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-13T03:13:43.602Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-13T03:13:43.602Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-13T03:13:43.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-13T03:13:43.630Z] $ docker stop --time=1 c4310c81723d3c8ca9eac63b77285a9f834c600e017381398fe6c35fcb0eeed2 [2023-10-13T03:13:46.401Z] $ docker rm -f --volumes c4310c81723d3c8ca9eac63b77285a9f834c600e017381398fe6c35fcb0eeed2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T03:13:46.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-13T03:13:46.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-13T03:13:47.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-13T03:13:47.624Z] + ls -al . [2023-10-13T03:13:47.624Z] total 188 [2023-10-13T03:13:47.624Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 03:13 . [2023-10-13T03:13:47.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:11 .. [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 13 03:11 .dockerignore [2023-10-13T03:13:47.624Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:13 .git [2023-10-13T03:13:47.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:11 .github [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 03:11 .gitignore [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 03:11 .golangci.yml [2023-10-13T03:13:47.624Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:12 .semver [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 13 03:11 Attribution.txt [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 13 03:11 CHANGELOG.md [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 13 03:11 Dockerfile [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:11 GOVERNANCE.md [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 13 03:11 Jenkinsfile [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 03:11 LICENSE [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 13 03:11 Makefile [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 03:11 OWNERS.md [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 13 03:11 README.md [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 03:12 VERSION [2023-10-13T03:13:47.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:11 bin [2023-10-13T03:13:47.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:11 cmd [2023-10-13T03:13:47.624Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 13 03:13 coverage.out [2023-10-13T03:13:47.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:11 driver [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 13 03:11 go.mod [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 03:11 go.sum [2023-10-13T03:13:47.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:11 snap [2023-10-13T03:13:47.624Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 13 03:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:13:47.940Z] + 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=9b53cce74fa8bad39d84f8d6d5cef51853259bec --label arch=amd64 --label version=3.1.0-dev.21 . [2023-10-13T03:13:47.940Z] Sending build context to Docker daemon 10.95MB [2023-10-13T03:13:47.940Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T03:13:47.940Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-13T03:13:47.940Z] ---> 2195f48a3045 [2023-10-13T03:13:47.940Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-13T03:13:48.199Z] ---> Running in e9edaa3d8e19 [2023-10-13T03:13:48.199Z] Removing intermediate container e9edaa3d8e19 [2023-10-13T03:13:48.199Z] ---> 6ec4cf137e7a [2023-10-13T03:13:48.199Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T03:13:48.199Z] ---> Running in 572f79a80eef [2023-10-13T03:13:48.458Z] Removing intermediate container 572f79a80eef [2023-10-13T03:13:48.458Z] ---> 452d57f85673 [2023-10-13T03:13:48.458Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T03:13:48.458Z] ---> Running in f8e3c30ef6b4 [2023-10-13T03:13:48.458Z] Removing intermediate container f8e3c30ef6b4 [2023-10-13T03:13:48.458Z] ---> ce09a8801468 [2023-10-13T03:13:48.458Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T03:13:48.458Z] ---> Running in 8df8f75684c3 [2023-10-13T03:13:48.458Z] Removing intermediate container 8df8f75684c3 [2023-10-13T03:13:48.458Z] ---> c1155345e00a [2023-10-13T03:13:48.458Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T03:13:48.458Z] ---> Running in e94524508146 [2023-10-13T03:13:48.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T03:13:48.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T03:13:49.236Z] OK: 268 MiB in 56 packages [2023-10-13T03:13:49.804Z] Removing intermediate container e94524508146 [2023-10-13T03:13:49.804Z] ---> 8a1439e4c5dc [2023-10-13T03:13:49.804Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-13T03:13:49.804Z] ---> Running in da924c608b36 [2023-10-13T03:13:49.804Z] Removing intermediate container da924c608b36 [2023-10-13T03:13:49.804Z] ---> 6af7c9bdfb9b [2023-10-13T03:13:49.804Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-13T03:13:49.804Z] ---> 5051dbf26f64 [2023-10-13T03:13:49.804Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T03:13:49.804Z] ---> Running in f0c1cf92171f [2023-10-13T03:13:50.424Z] Removing intermediate container f0c1cf92171f [2023-10-13T03:13:50.424Z] ---> c359cc86ce11 [2023-10-13T03:13:50.424Z] Step 11/25 : COPY . . [2023-10-13T03:13:51.098Z] ---> 75587054f188 [2023-10-13T03:13:51.099Z] Step 12/25 : RUN $MAKE [2023-10-13T03:13:51.099Z] ---> Running in 817e6444018e [2023-10-13T03:13:51.099Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-13T03:14:09.326Z] Removing intermediate container 817e6444018e [2023-10-13T03:14:09.326Z] ---> 01acf11903c5 [2023-10-13T03:14:09.326Z] Step 13/25 : FROM alpine:3.18 [2023-10-13T03:14:09.326Z] 3.18: Pulling from library/alpine [2023-10-13T03:14:09.584Z] 96526aa774ef: Pulling fs layer [2023-10-13T03:14:09.584Z] 96526aa774ef: Download complete [2023-10-13T03:14:09.884Z] 96526aa774ef: Pull complete [2023-10-13T03:14:09.884Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-13T03:14:09.884Z] Status: Downloaded newer image for alpine:3.18 [2023-10-13T03:14:09.884Z] ---> 8ca4688f4f35 [2023-10-13T03:14:09.884Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-13T03:14:10.144Z] ---> Running in f51a92e7242b [2023-10-13T03:14:10.144Z] Removing intermediate container f51a92e7242b [2023-10-13T03:14:10.144Z] ---> cc583e2dd678 [2023-10-13T03:14:10.144Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-13T03:14:10.144Z] ---> Running in f9afb4f08d24 [2023-10-13T03:14:10.144Z] Removing intermediate container f9afb4f08d24 [2023-10-13T03:14:10.144Z] ---> 640070bf1318 [2023-10-13T03:14:10.144Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-13T03:14:10.144Z] ---> Running in 7fe920ca485b [2023-10-13T03:14:10.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T03:14:10.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T03:14:10.925Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-13T03:14:10.925Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T03:14:10.925Z] OK: 7 MiB in 16 packages [2023-10-13T03:14:11.189Z] Removing intermediate container 7fe920ca485b [2023-10-13T03:14:11.189Z] ---> d63b2361841d [2023-10-13T03:14:11.189Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-13T03:14:12.133Z] ---> 866d7b2d73c5 [2023-10-13T03:14:12.133Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-13T03:14:12.133Z] ---> f44ceee395d1 [2023-10-13T03:14:12.133Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-13T03:14:12.133Z] ---> 785ff5f35b0e [2023-10-13T03:14:12.133Z] Step 20/25 : EXPOSE 59986 [2023-10-13T03:14:12.133Z] ---> Running in bde365ce49c0 [2023-10-13T03:14:12.133Z] Removing intermediate container bde365ce49c0 [2023-10-13T03:14:12.133Z] ---> 462ced0fe505 [2023-10-13T03:14:12.133Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-13T03:14:12.393Z] ---> Running in 0e09d0db5927 [2023-10-13T03:14:12.393Z] Removing intermediate container 0e09d0db5927 [2023-10-13T03:14:12.393Z] ---> 0e5e81065fbf [2023-10-13T03:14:12.393Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-13T03:14:12.393Z] ---> Running in 7e9f994ccf03 [2023-10-13T03:14:12.393Z] Removing intermediate container 7e9f994ccf03 [2023-10-13T03:14:12.393Z] ---> 9504cbdbe3de [2023-10-13T03:14:12.393Z] Step 23/25 : LABEL arch=amd64 [2023-10-13T03:14:12.393Z] ---> Running in d44a9ccf3333 [2023-10-13T03:14:12.393Z] Removing intermediate container d44a9ccf3333 [2023-10-13T03:14:12.393Z] ---> 481abd6d50d8 [2023-10-13T03:14:12.393Z] Step 24/25 : LABEL git_sha=9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:14:12.652Z] ---> Running in e7fac9b94881 [2023-10-13T03:14:12.652Z] Removing intermediate container e7fac9b94881 [2023-10-13T03:14:12.652Z] ---> 020e1c5db077 [2023-10-13T03:14:12.652Z] Step 25/25 : LABEL version=3.1.0-dev.21 [2023-10-13T03:14:12.652Z] ---> Running in 8c7ce8e5829c [2023-10-13T03:14:12.652Z] Removing intermediate container 8c7ce8e5829c [2023-10-13T03:14:12.652Z] ---> 24d167f2ecd1 [2023-10-13T03:14:12.652Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-13T03:14:12.652Z] Successfully built 24d167f2ecd1 [2023-10-13T03:14:12.652Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T03:14:12.763Z] provisioning config files... [2023-10-13T03:14:12.771Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3722351383756445160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:14:13.067Z] ---> docker-login.sh [2023-10-13T03:14:13.067Z] nexus3.edgexfoundry.org:10001 [2023-10-13T03:14:13.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:14:13.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:14:13.067Z] Configure a credential helper to remove this warning. See [2023-10-13T03:14:13.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:14:13.067Z] [2023-10-13T03:14:13.067Z] Login Succeeded [2023-10-13T03:14:13.067Z] nexus3.edgexfoundry.org:10002 [2023-10-13T03:14:13.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:14:13.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:14:13.067Z] Configure a credential helper to remove this warning. See [2023-10-13T03:14:13.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:14:13.067Z] [2023-10-13T03:14:13.067Z] Login Succeeded [2023-10-13T03:14:13.067Z] nexus3.edgexfoundry.org:10003 [2023-10-13T03:14:13.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:14:13.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:14:13.325Z] Configure a credential helper to remove this warning. See [2023-10-13T03:14:13.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:14:13.325Z] [2023-10-13T03:14:13.325Z] Login Succeeded [2023-10-13T03:14:13.325Z] nexus3.edgexfoundry.org:10004 [2023-10-13T03:14:13.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:14:13.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:14:13.325Z] Configure a credential helper to remove this warning. See [2023-10-13T03:14:13.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:14:13.326Z] [2023-10-13T03:14:13.326Z] Login Succeeded [2023-10-13T03:14:13.326Z] docker.io [2023-10-13T03:14:13.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:14:13.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:14:13.893Z] Configure a credential helper to remove this warning. See [2023-10-13T03:14:13.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:14:13.893Z] [2023-10-13T03:14:13.893Z] Login Succeeded [2023-10-13T03:14:13.893Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T03:14:13.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T03:14:13.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T03:14:13.959Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-10-13T03:14:13.959Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:14:13.959Z] latest [2023-10-13T03:14:13.959Z] 3.1.0-dev.21 [2023-10-13T03:14:13.959Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [2023-10-13T03:14:13.959Z] main [2023-10-13T03:14:13.959Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:14.267Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:14.578Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:14:14.578Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-13T03:14:14.578Z] c478ba80ef77: Preparing [2023-10-13T03:14:14.578Z] bb8e5d0fbbe5: Preparing [2023-10-13T03:14:14.578Z] 4ad68b3d335d: Preparing [2023-10-13T03:14:14.578Z] 3a7539a9e858: Preparing [2023-10-13T03:14:14.578Z] cc2447e1835a: Preparing [2023-10-13T03:14:14.578Z] cc2447e1835a: Layer already exists [2023-10-13T03:14:14.578Z] c478ba80ef77: Pushed [2023-10-13T03:14:14.578Z] bb8e5d0fbbe5: Pushed [2023-10-13T03:14:14.578Z] 3a7539a9e858: Pushed [2023-10-13T03:14:17.862Z] 4ad68b3d335d: Pushed [2023-10-13T03:14:17.862Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:18.178Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:18.486Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-13T03:14:18.486Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-13T03:14:18.486Z] c478ba80ef77: Preparing [2023-10-13T03:14:18.486Z] bb8e5d0fbbe5: Preparing [2023-10-13T03:14:18.486Z] 4ad68b3d335d: Preparing [2023-10-13T03:14:18.486Z] 3a7539a9e858: Preparing [2023-10-13T03:14:18.486Z] cc2447e1835a: Preparing [2023-10-13T03:14:18.486Z] 3a7539a9e858: Layer already exists [2023-10-13T03:14:18.486Z] bb8e5d0fbbe5: Layer already exists [2023-10-13T03:14:18.486Z] cc2447e1835a: Layer already exists [2023-10-13T03:14:18.486Z] c478ba80ef77: Layer already exists [2023-10-13T03:14:18.486Z] 4ad68b3d335d: Layer already exists [2023-10-13T03:14:18.486Z] latest: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:18.802Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:19.117Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.21 [2023-10-13T03:14:19.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-13T03:14:19.118Z] c478ba80ef77: Preparing [2023-10-13T03:14:19.118Z] bb8e5d0fbbe5: Preparing [2023-10-13T03:14:19.118Z] 4ad68b3d335d: Preparing [2023-10-13T03:14:19.118Z] 3a7539a9e858: Preparing [2023-10-13T03:14:19.118Z] cc2447e1835a: Preparing [2023-10-13T03:14:19.118Z] cc2447e1835a: Layer already exists [2023-10-13T03:14:19.118Z] 4ad68b3d335d: Layer already exists [2023-10-13T03:14:19.118Z] bb8e5d0fbbe5: Layer already exists [2023-10-13T03:14:19.118Z] c478ba80ef77: Layer already exists [2023-10-13T03:14:19.118Z] 3a7539a9e858: Layer already exists [2023-10-13T03:14:19.118Z] 3.1.0-dev.21: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:19.431Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:19.746Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [2023-10-13T03:14:19.746Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-13T03:14:19.746Z] c478ba80ef77: Preparing [2023-10-13T03:14:19.746Z] bb8e5d0fbbe5: Preparing [2023-10-13T03:14:19.746Z] 4ad68b3d335d: Preparing [2023-10-13T03:14:19.746Z] 3a7539a9e858: Preparing [2023-10-13T03:14:19.746Z] cc2447e1835a: Preparing [2023-10-13T03:14:19.746Z] cc2447e1835a: Layer already exists [2023-10-13T03:14:19.746Z] 3a7539a9e858: Layer already exists [2023-10-13T03:14:19.746Z] 4ad68b3d335d: Layer already exists [2023-10-13T03:14:19.746Z] bb8e5d0fbbe5: Layer already exists [2023-10-13T03:14:19.746Z] c478ba80ef77: Layer already exists [2023-10-13T03:14:19.746Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:20.067Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:20.375Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-10-13T03:14:20.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-13T03:14:20.375Z] c478ba80ef77: Preparing [2023-10-13T03:14:20.375Z] bb8e5d0fbbe5: Preparing [2023-10-13T03:14:20.375Z] 4ad68b3d335d: Preparing [2023-10-13T03:14:20.375Z] 3a7539a9e858: Preparing [2023-10-13T03:14:20.375Z] cc2447e1835a: Preparing [2023-10-13T03:14:20.375Z] 4ad68b3d335d: Layer already exists [2023-10-13T03:14:20.375Z] c478ba80ef77: Layer already exists [2023-10-13T03:14:20.375Z] cc2447e1835a: Layer already exists [2023-10-13T03:14:20.375Z] bb8e5d0fbbe5: Layer already exists [2023-10-13T03:14:20.375Z] 3a7539a9e858: Layer already exists [2023-10-13T03:14:20.375Z] main: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T03:14:20.430Z] ===================================================== [Pipeline] echo [2023-10-13T03:14:20.440Z] taggedImages: [2023-10-13T03:14:20.440Z] - nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:14:20.440Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-13T03:14:20.440Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.21 [2023-10-13T03:14:20.440Z] - nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [2023-10-13T03:14:20.440Z] - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:20.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T03:14:20.820Z] [2023-10-13T03:14:20.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:14:21.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T03:14:21.128Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-13T03:14:21.128Z] 5eb5b503b376: Pulling fs layer [2023-10-13T03:14:21.128Z] 5c69ac0246d0: Pulling fs layer [2023-10-13T03:14:21.128Z] ec43610c2a17: Pulling fs layer [2023-10-13T03:14:21.128Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-13T03:14:21.128Z] 33b1e0a273af: Pulling fs layer [2023-10-13T03:14:21.128Z] 5d3b04190fa2: Pulling fs layer [2023-10-13T03:14:21.128Z] 2f39f015ded8: Pulling fs layer [2023-10-13T03:14:21.128Z] 33b1e0a273af: Waiting [2023-10-13T03:14:21.128Z] 2f39f015ded8: Waiting [2023-10-13T03:14:21.128Z] 5d3b04190fa2: Waiting [2023-10-13T03:14:21.128Z] 3a2ae6a8a46f: Waiting [2023-10-13T03:14:21.128Z] 5c69ac0246d0: Download complete [2023-10-13T03:14:21.128Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-13T03:14:21.128Z] 3a2ae6a8a46f: Download complete [2023-10-13T03:14:21.128Z] 33b1e0a273af: Verifying Checksum [2023-10-13T03:14:21.128Z] 33b1e0a273af: Download complete [2023-10-13T03:14:21.128Z] 5d3b04190fa2: Verifying Checksum [2023-10-13T03:14:21.128Z] 5d3b04190fa2: Download complete [2023-10-13T03:14:21.128Z] ec43610c2a17: Download complete [2023-10-13T03:14:21.386Z] 5eb5b503b376: Verifying Checksum [2023-10-13T03:14:21.387Z] 5eb5b503b376: Download complete [2023-10-13T03:14:21.954Z] 2f39f015ded8: Download complete [2023-10-13T03:14:22.521Z] 5eb5b503b376: Pull complete [2023-10-13T03:14:22.778Z] 5c69ac0246d0: Pull complete [2023-10-13T03:14:23.037Z] ec43610c2a17: Pull complete [2023-10-13T03:14:23.037Z] 3a2ae6a8a46f: Pull complete [2023-10-13T03:14:23.295Z] 33b1e0a273af: Pull complete [2023-10-13T03:14:23.295Z] 5d3b04190fa2: Pull complete [2023-10-13T03:14:27.482Z] 2f39f015ded8: Pull complete [2023-10-13T03:14:27.483Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-13T03:14:27.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T03:14:27.483Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:14:27.562Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:14:27.599Z] $ 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 [2023-10-13T03:14:30.246Z] $ docker top 9f058f2a2760dd20cfd03a89630afb06f8b17f5077e902a15bcea0ba26b4e915 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:14:30.619Z] ---> job-cost.sh [2023-10-13T03:14:30.619Z] lf-activate-venv: SKIPPING [2023-10-13T03:14:30.619Z] INFO: No Stack... [2023-10-13T03:14:30.878Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-13T03:14:31.138Z] INFO: Archiving Costs [Pipeline] sh [2023-10-13T03:14:31.428Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-10-13T03:14:31.428Z] + cut -d, -f6 [Pipeline] lock [2023-10-13T03:14:31.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [2023-10-13T03:14:31.446Z] Resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] did not exist. Created. [2023-10-13T03:14:31.446Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-13T03:14:31.745Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-13T03:14:31.773Z] Stashed 1 file(s) [Pipeline] } [2023-10-13T03:14:31.780Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-13T03:14:31.799Z] $ docker stop --time=1 9f058f2a2760dd20cfd03a89630afb06f8b17f5077e902a15bcea0ba26b4e915 [2023-10-13T03:14:32.976Z] $ docker rm -f --volumes 9f058f2a2760dd20cfd03a89630afb06f8b17f5077e902a15bcea0ba26b4e915 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-13T03:15:08.273Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9187 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-10-13T03:15:08.288Z] Running in /w/workspace/device-rest-go/141 [Pipeline] { [Pipeline] checkout [2023-10-13T03:15:08.322Z] The recommended git tool is: git [2023-10-13T03:15:14.357Z] using credential edgex-jenkins-ssh [2023-10-13T03:15:14.376Z] Cloning the remote Git repository [2023-10-13T03:15:14.429Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-13T03:15:14.541Z] > git init /w/workspace/device-rest-go/141 # timeout=10 [2023-10-13T03:15:14.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-13T03:15:14.741Z] > git --version # timeout=10 [2023-10-13T03:15:14.765Z] > git --version # 'git version 2.25.1' [2023-10-13T03:15:14.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-13T03:15:14.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-13T03:15:18.404Z] Avoid second fetch [2023-10-13T03:15:18.404Z] Checking out Revision 9b53cce74fa8bad39d84f8d6d5cef51853259bec (main) [2023-10-13T03:15:17.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-13T03:15:17.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-13T03:15:18.427Z] > git config core.sparsecheckout # timeout=10 [2023-10-13T03:15:18.519Z] > git checkout -f 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 [2023-10-13T03:15:19.116Z] Commit message: "Merge pull request #351 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T03:15:20.099Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-13T03:15:20.099Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-13T03:15:20.099Z] Dload Upload Total Spent Left Speed [2023-10-13T03:15:20.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2023-10-13T03:15:20.806Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-13T03:15:21.159Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2023-10-13T03:15:21.159Z] tee /etc/docker/daemon.new [2023-10-13T03:15:21.159Z] { [2023-10-13T03:15:21.159Z] "registry-mirrors": [ [2023-10-13T03:15:21.159Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-13T03:15:21.159Z] ], [2023-10-13T03:15:21.159Z] "bip": "10.250.0.254/24", [2023-10-13T03:15:21.159Z] "hosts": [ [2023-10-13T03:15:21.159Z] "tcp://0.0.0.0:5555", [2023-10-13T03:15:21.159Z] "unix:///var/run/docker.sock" [2023-10-13T03:15:21.159Z] ], [2023-10-13T03:15:21.159Z] "mtu": 1458, [2023-10-13T03:15:21.159Z] "selinux-enabled": true, [2023-10-13T03:15:21.159Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-13T03:15:21.159Z] } [Pipeline] sh [2023-10-13T03:15:21.510Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-13T03:15:21.865Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T03:15:40.214Z] provisioning config files... [2023-10-13T03:15:40.246Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/141@tmp/config16556106163711130863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:15:40.630Z] ---> docker-login.sh [2023-10-13T03:15:40.630Z] nexus3.edgexfoundry.org:10001 [2023-10-13T03:15:41.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:15:41.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:15:41.225Z] Configure a credential helper to remove this warning. See [2023-10-13T03:15:41.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:15:41.225Z] [2023-10-13T03:15:41.225Z] Login Succeeded [2023-10-13T03:15:41.225Z] nexus3.edgexfoundry.org:10002 [2023-10-13T03:15:41.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:15:41.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:15:41.784Z] Configure a credential helper to remove this warning. See [2023-10-13T03:15:41.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:15:41.784Z] [2023-10-13T03:15:41.784Z] Login Succeeded [2023-10-13T03:15:41.784Z] nexus3.edgexfoundry.org:10003 [2023-10-13T03:15:42.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:15:42.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:15:42.059Z] Configure a credential helper to remove this warning. See [2023-10-13T03:15:42.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:15:42.059Z] [2023-10-13T03:15:42.059Z] Login Succeeded [2023-10-13T03:15:42.059Z] nexus3.edgexfoundry.org:10004 [2023-10-13T03:15:42.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:15:42.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:15:42.609Z] Configure a credential helper to remove this warning. See [2023-10-13T03:15:42.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:15:42.609Z] [2023-10-13T03:15:42.609Z] Login Succeeded [2023-10-13T03:15:42.609Z] docker.io [2023-10-13T03:15:42.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:15:43.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:15:43.283Z] Configure a credential helper to remove this warning. See [2023-10-13T03:15:43.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:15:43.283Z] [2023-10-13T03:15:43.283Z] Login Succeeded [2023-10-13T03:15:43.283Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T03:15:43.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-13T03:15:43.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T03:15:43.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T03:15:43.628Z] ========================================================= [2023-10-13T03:15:43.628Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-13T03:15:43.628Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:15:43.980Z] + 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 . [2023-10-13T03:15:43.980Z] Sending build context to Docker daemon 144.4kB [2023-10-13T03:15:44.258Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T03:15:44.258Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-13T03:15:44.532Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-13T03:15:44.532Z] 9fda8d8052c6: Pulling fs layer [2023-10-13T03:15:44.532Z] 5d54e960e981: Pulling fs layer [2023-10-13T03:15:44.532Z] c4a7e357bf2a: Pulling fs layer [2023-10-13T03:15:44.532Z] f0e02332f6b5: Pulling fs layer [2023-10-13T03:15:44.532Z] cefa15bbcfad: Pulling fs layer [2023-10-13T03:15:44.532Z] 17808c966233: Pulling fs layer [2023-10-13T03:15:44.532Z] f4c1fc716caa: Pulling fs layer [2023-10-13T03:15:44.532Z] f0e02332f6b5: Waiting [2023-10-13T03:15:44.532Z] cefa15bbcfad: Waiting [2023-10-13T03:15:44.532Z] 17808c966233: Waiting [2023-10-13T03:15:44.532Z] f4c1fc716caa: Waiting [2023-10-13T03:15:44.532Z] 5d54e960e981: Verifying Checksum [2023-10-13T03:15:44.532Z] 5d54e960e981: Download complete [2023-10-13T03:15:44.532Z] f0e02332f6b5: Verifying Checksum [2023-10-13T03:15:44.532Z] f0e02332f6b5: Download complete [2023-10-13T03:15:44.532Z] cefa15bbcfad: Verifying Checksum [2023-10-13T03:15:44.532Z] cefa15bbcfad: Download complete [2023-10-13T03:15:44.532Z] 9fda8d8052c6: Verifying Checksum [2023-10-13T03:15:44.532Z] 9fda8d8052c6: Download complete [2023-10-13T03:15:45.122Z] f4c1fc716caa: Verifying Checksum [2023-10-13T03:15:45.122Z] f4c1fc716caa: Download complete [2023-10-13T03:15:45.713Z] 9fda8d8052c6: Pull complete [2023-10-13T03:15:46.306Z] 5d54e960e981: Pull complete [2023-10-13T03:15:46.577Z] c4a7e357bf2a: Download complete [2023-10-13T03:15:47.547Z] 17808c966233: Verifying Checksum [2023-10-13T03:15:47.547Z] 17808c966233: Download complete [2023-10-13T03:15:59.878Z] c4a7e357bf2a: Pull complete [2023-10-13T03:15:59.878Z] f0e02332f6b5: Pull complete [2023-10-13T03:16:00.148Z] cefa15bbcfad: Pull complete [2023-10-13T03:16:10.422Z] 17808c966233: Pull complete [2023-10-13T03:16:11.420Z] f4c1fc716caa: Pull complete [2023-10-13T03:16:11.420Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-13T03:16:11.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-13T03:16:11.420Z] ---> ea914061e18c [2023-10-13T03:16:11.420Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-13T03:16:12.075Z] ---> Running in 4bcc70fb23e5 [2023-10-13T03:16:12.668Z] Removing intermediate container 4bcc70fb23e5 [2023-10-13T03:16:12.668Z] ---> a6eb43d942a4 [2023-10-13T03:16:12.668Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T03:16:12.668Z] ---> Running in 241f28b02980 [2023-10-13T03:16:12.938Z] Removing intermediate container 241f28b02980 [2023-10-13T03:16:12.938Z] ---> 698c48f8164b [2023-10-13T03:16:12.938Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T03:16:13.209Z] ---> Running in ea73e1c27bef [2023-10-13T03:16:13.478Z] Removing intermediate container ea73e1c27bef [2023-10-13T03:16:13.478Z] ---> 256a3b64f11d [2023-10-13T03:16:13.478Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T03:16:13.478Z] ---> Running in 25801acc5dc1 [2023-10-13T03:16:14.079Z] Removing intermediate container 25801acc5dc1 [2023-10-13T03:16:14.079Z] ---> aba622d80b96 [2023-10-13T03:16:14.079Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T03:16:14.079Z] ---> Running in 54e395f2854f [2023-10-13T03:16:15.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T03:16:16.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T03:16:17.526Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-13T03:16:17.526Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-13T03:16:17.526Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-13T03:16:17.526Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-13T03:16:17.526Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T03:16:17.526Z] OK: 270 MiB in 56 packages [2023-10-13T03:16:18.943Z] Removing intermediate container 54e395f2854f [2023-10-13T03:16:18.943Z] ---> 84ee7a869259 [2023-10-13T03:16:18.943Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-13T03:16:18.943Z] ---> Running in dadb68054dfd [2023-10-13T03:16:19.210Z] Removing intermediate container dadb68054dfd [2023-10-13T03:16:19.210Z] ---> 96464d866090 [2023-10-13T03:16:19.210Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-13T03:16:19.795Z] ---> e16a7a67188f [2023-10-13T03:16:19.795Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T03:16:19.795Z] ---> Running in 36af98a62dc3 [2023-10-13T03:17:56.477Z] Removing intermediate container 36af98a62dc3 [2023-10-13T03:17:56.477Z] ---> b66eac7cd2d4 [2023-10-13T03:17:56.477Z] Step 11/12 : COPY . . [2023-10-13T03:17:56.477Z] ---> d001a6d477a3 [2023-10-13T03:17:56.477Z] Step 12/12 : RUN $MAKE [2023-10-13T03:17:56.477Z] ---> Running in fe18e5963c6e [2023-10-13T03:17:56.477Z] noop [2023-10-13T03:17:56.745Z] Removing intermediate container fe18e5963c6e [2023-10-13T03:17:56.745Z] ---> 90a6d5d26ddd [2023-10-13T03:17:56.745Z] Successfully built 90a6d5d26ddd [2023-10-13T03:17:56.745Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:17:57.118Z] + docker inspect -f . ci-base-image-arm64 [2023-10-13T03:17:57.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:17:57.375Z] prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container [2023-10-13T03:17:57.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/141 -v /w/workspace/device-rest-go/141:/w/workspace/device-rest-go/141:rw,z -v /w/workspace/device-rest-go/141@tmp:/w/workspace/device-rest-go/141@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 [2023-10-13T03:17:58.826Z] $ docker top 8a700a18e606581585c57c3dbe8c5f1760f88b27901dce6c616af9f4368121ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T03:17:59.707Z] + go version [2023-10-13T03:17:59.707Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-13T03:17:59.727Z] $ docker stop --time=1 8a700a18e606581585c57c3dbe8c5f1760f88b27901dce6c616af9f4368121ba [2023-10-13T03:18:04.614Z] $ docker rm -f --volumes 8a700a18e606581585c57c3dbe8c5f1760f88b27901dce6c616af9f4368121ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:18:05.184Z] + docker inspect -f . ci-base-image-arm64 [2023-10-13T03:18:05.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:18:05.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container [2023-10-13T03:18:05.464Z] $ 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/141 -v /w/workspace/device-rest-go/141:/w/workspace/device-rest-go/141:rw,z -v /w/workspace/device-rest-go/141@tmp:/w/workspace/device-rest-go/141@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 [2023-10-13T03:18:06.773Z] $ docker top 578bb469235709042160df226abf0ea386196861d70510f50689f8a0318d8579 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T03:18:07.652Z] + git config --global --add safe.directory /w/workspace/device-rest-go/141 [Pipeline] fileExists [Pipeline] sh [2023-10-13T03:18:08.314Z] + make test [2023-10-13T03:18:08.314Z] go test ./... -coverprofile=coverage.out ./... [2023-10-13T03:18:13.667Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-13T03:20:20.511Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-13T03:20:20.511Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements [2023-10-13T03:20:20.511Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-13T03:20:20.511Z] go vet ./... [2023-10-13T03:20:35.516Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-13T03:20:35.516Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-13T03:20:35.516Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-13T03:20:36.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-13T03:20:36.132Z] $ docker stop --time=1 578bb469235709042160df226abf0ea386196861d70510f50689f8a0318d8579 [2023-10-13T03:20:38.107Z] $ docker rm -f --volumes 578bb469235709042160df226abf0ea386196861d70510f50689f8a0318d8579 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T03:20:39.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-13T03:20:39.428Z] Warning: overwriting stash ‘coverage-report’ [2023-10-13T03:20:39.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T03:20:40.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-13T03:20:40.639Z] + ls -al . [2023-10-13T03:20:40.639Z] total 184 [2023-10-13T03:20:40.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:18 . [2023-10-13T03:20:40.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:15 .. [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 13 03:15 .dockerignore [2023-10-13T03:20:40.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:15 .git [2023-10-13T03:20:40.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:15 .github [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 03:15 .gitignore [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 03:15 .golangci.yml [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 13 03:15 Attribution.txt [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 13 03:15 CHANGELOG.md [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 13 03:15 Dockerfile [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:15 GOVERNANCE.md [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 13 03:15 Jenkinsfile [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 03:15 LICENSE [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 13 03:15 Makefile [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 03:15 OWNERS.md [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 13 03:15 README.md [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 03:12 VERSION [2023-10-13T03:20:40.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:15 bin [2023-10-13T03:20:40.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:15 cmd [2023-10-13T03:20:40.639Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 13 03:20 coverage.out [2023-10-13T03:20:40.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:15 driver [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 13 03:15 go.mod [2023-10-13T03:20:40.639Z] -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 03:15 go.sum [2023-10-13T03:20:40.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:15 snap [2023-10-13T03:20:40.640Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 13 03:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:20:40.981Z] + 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=9b53cce74fa8bad39d84f8d6d5cef51853259bec --label arch=arm64 --label version=3.1.0-dev.21 . [2023-10-13T03:20:40.981Z] Sending build context to Docker daemon 159.7kB [2023-10-13T03:20:41.253Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T03:20:41.253Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-13T03:20:41.253Z] ---> 90a6d5d26ddd [2023-10-13T03:20:41.253Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-13T03:20:41.524Z] ---> Running in bf08f8ae8cd5 [2023-10-13T03:20:41.793Z] Removing intermediate container bf08f8ae8cd5 [2023-10-13T03:20:41.793Z] ---> 9a9bc81b5842 [2023-10-13T03:20:41.793Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T03:20:41.793Z] ---> Running in ef3f0a3d9781 [2023-10-13T03:20:42.064Z] Removing intermediate container ef3f0a3d9781 [2023-10-13T03:20:42.064Z] ---> cbd2d8b2560d [2023-10-13T03:20:42.064Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T03:20:42.341Z] ---> Running in a98843a242f8 [2023-10-13T03:20:42.611Z] Removing intermediate container a98843a242f8 [2023-10-13T03:20:42.611Z] ---> daac7b08f94a [2023-10-13T03:20:42.611Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T03:20:42.881Z] ---> Running in 7418e2c142f2 [2023-10-13T03:20:43.151Z] Removing intermediate container 7418e2c142f2 [2023-10-13T03:20:43.151Z] ---> ac61b8bb7956 [2023-10-13T03:20:43.151Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T03:20:43.151Z] ---> Running in 0896b72c3b13 [2023-10-13T03:20:44.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T03:20:44.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T03:20:46.263Z] OK: 270 MiB in 56 packages [2023-10-13T03:20:47.228Z] Removing intermediate container 0896b72c3b13 [2023-10-13T03:20:47.228Z] ---> 9c6ac4099b1e [2023-10-13T03:20:47.228Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-13T03:20:47.228Z] ---> Running in 2c7e595d0cb3 [2023-10-13T03:20:47.496Z] Removing intermediate container 2c7e595d0cb3 [2023-10-13T03:20:47.496Z] ---> 8d864221739a [2023-10-13T03:20:47.496Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-13T03:20:48.084Z] ---> 49b34a8b7f98 [2023-10-13T03:20:48.084Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T03:20:48.084Z] ---> Running in 4944dbb60c0c [2023-10-13T03:20:50.679Z] Removing intermediate container 4944dbb60c0c [2023-10-13T03:20:50.679Z] ---> 7b3103e18767 [2023-10-13T03:20:50.679Z] Step 11/25 : COPY . . [2023-10-13T03:20:50.947Z] ---> 9308939af365 [2023-10-13T03:20:50.947Z] Step 12/25 : RUN $MAKE [2023-10-13T03:20:51.215Z] ---> Running in 6b684879d055 [2023-10-13T03:20:52.182Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-13T03:22:58.898Z] Removing intermediate container 6b684879d055 [2023-10-13T03:22:58.898Z] ---> ad913ab19d26 [2023-10-13T03:22:58.898Z] Step 13/25 : FROM alpine:3.18 [2023-10-13T03:22:58.898Z] 3.18: Pulling from library/alpine [2023-10-13T03:22:58.898Z] 579b34f0a95b: Pulling fs layer [2023-10-13T03:22:58.898Z] 579b34f0a95b: Verifying Checksum [2023-10-13T03:22:58.898Z] 579b34f0a95b: Download complete [2023-10-13T03:22:58.898Z] 579b34f0a95b: Pull complete [2023-10-13T03:22:58.898Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-13T03:22:58.898Z] Status: Downloaded newer image for alpine:3.18 [2023-10-13T03:22:58.898Z] ---> 3cc203321400 [2023-10-13T03:22:58.898Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-13T03:22:58.898Z] ---> Running in 47fd6b11a443 [2023-10-13T03:22:58.898Z] Removing intermediate container 47fd6b11a443 [2023-10-13T03:22:58.898Z] ---> 010e33df69c5 [2023-10-13T03:22:58.898Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-13T03:22:58.898Z] ---> Running in a84f8309b9ee [2023-10-13T03:22:58.898Z] Removing intermediate container a84f8309b9ee [2023-10-13T03:22:58.898Z] ---> cead204402a5 [2023-10-13T03:22:58.898Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-13T03:22:58.898Z] ---> Running in 7a2499feaee0 [2023-10-13T03:22:58.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T03:22:58.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T03:22:59.858Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-13T03:22:59.858Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T03:22:59.858Z] OK: 8 MiB in 16 packages [2023-10-13T03:23:02.435Z] Removing intermediate container 7a2499feaee0 [2023-10-13T03:23:02.435Z] ---> 8168407e279e [2023-10-13T03:23:02.436Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-13T03:23:03.843Z] ---> 73f45611b7a8 [2023-10-13T03:23:03.843Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-13T03:23:04.424Z] ---> d367be6bdd50 [2023-10-13T03:23:04.424Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-13T03:23:05.005Z] ---> fddc6ac11e49 [2023-10-13T03:23:05.005Z] Step 20/25 : EXPOSE 59986 [2023-10-13T03:23:05.005Z] ---> Running in b55f79fb5ffc [2023-10-13T03:23:05.273Z] Removing intermediate container b55f79fb5ffc [2023-10-13T03:23:05.273Z] ---> 5cc9493ca281 [2023-10-13T03:23:05.273Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-13T03:23:05.273Z] ---> Running in 7d9772b145c9 [2023-10-13T03:23:05.754Z] Removing intermediate container 7d9772b145c9 [2023-10-13T03:23:05.754Z] ---> de5c1fff3212 [2023-10-13T03:23:05.754Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-13T03:23:05.754Z] ---> Running in 9085b1a7de80 [2023-10-13T03:23:06.021Z] Removing intermediate container 9085b1a7de80 [2023-10-13T03:23:06.021Z] ---> 2a61941eed5f [2023-10-13T03:23:06.021Z] Step 23/25 : LABEL arch=arm64 [2023-10-13T03:23:06.021Z] ---> Running in e00f33909ed8 [2023-10-13T03:23:06.293Z] Removing intermediate container e00f33909ed8 [2023-10-13T03:23:06.293Z] ---> fad04215b94a [2023-10-13T03:23:06.293Z] Step 24/25 : LABEL git_sha=9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:23:06.561Z] ---> Running in 25a45dd75097 [2023-10-13T03:23:06.837Z] Removing intermediate container 25a45dd75097 [2023-10-13T03:23:06.837Z] ---> 08cd98c0cf4a [2023-10-13T03:23:06.837Z] Step 25/25 : LABEL version=3.1.0-dev.21 [2023-10-13T03:23:06.837Z] ---> Running in 6d5ef7b21f7d [2023-10-13T03:23:07.104Z] Removing intermediate container 6d5ef7b21f7d [2023-10-13T03:23:07.104Z] ---> b6f10469bf1e [2023-10-13T03:23:07.104Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-13T03:23:07.104Z] Successfully built b6f10469bf1e [2023-10-13T03:23:07.104Z] 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 [2023-10-13T03:23:07.206Z] provisioning config files... [2023-10-13T03:23:07.220Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/141@tmp/config5842433479506011438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:23:07.556Z] ---> docker-login.sh [2023-10-13T03:23:07.556Z] nexus3.edgexfoundry.org:10001 [2023-10-13T03:23:07.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:23:07.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:23:07.822Z] Configure a credential helper to remove this warning. See [2023-10-13T03:23:07.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:23:07.822Z] [2023-10-13T03:23:07.822Z] Login Succeeded [2023-10-13T03:23:07.822Z] nexus3.edgexfoundry.org:10002 [2023-10-13T03:23:08.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:23:08.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:23:08.094Z] Configure a credential helper to remove this warning. See [2023-10-13T03:23:08.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:23:08.094Z] [2023-10-13T03:23:08.094Z] Login Succeeded [2023-10-13T03:23:08.094Z] nexus3.edgexfoundry.org:10003 [2023-10-13T03:23:08.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:23:08.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:23:08.628Z] Configure a credential helper to remove this warning. See [2023-10-13T03:23:08.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:23:08.628Z] [2023-10-13T03:23:08.628Z] Login Succeeded [2023-10-13T03:23:08.628Z] nexus3.edgexfoundry.org:10004 [2023-10-13T03:23:08.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:23:08.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:23:08.893Z] Configure a credential helper to remove this warning. See [2023-10-13T03:23:08.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:23:08.893Z] [2023-10-13T03:23:08.893Z] Login Succeeded [2023-10-13T03:23:08.893Z] docker.io [2023-10-13T03:23:09.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T03:23:09.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T03:23:09.424Z] Configure a credential helper to remove this warning. See [2023-10-13T03:23:09.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T03:23:09.424Z] [2023-10-13T03:23:09.424Z] Login Succeeded [2023-10-13T03:23:09.424Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T03:23:09.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T03:23:09.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T03:23:09.476Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-10-13T03:23:09.476Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:23:09.476Z] latest [2023-10-13T03:23:09.476Z] 3.1.0-dev.21 [2023-10-13T03:23:09.476Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [2023-10-13T03:23:09.476Z] main [2023-10-13T03:23:09.476Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:09.818Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:10.166Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:23:10.166Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-13T03:23:10.166Z] 6546cb85d3c6: Preparing [2023-10-13T03:23:10.166Z] f9ca6610c465: Preparing [2023-10-13T03:23:10.166Z] a839a76329ba: Preparing [2023-10-13T03:23:10.166Z] 81563985f781: Preparing [2023-10-13T03:23:10.166Z] 5f4d9fc4d98d: Preparing [2023-10-13T03:23:10.166Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T03:23:10.432Z] 6546cb85d3c6: Pushed [2023-10-13T03:23:10.432Z] f9ca6610c465: Pushed [2023-10-13T03:23:10.432Z] 81563985f781: Pushed [2023-10-13T03:23:17.067Z] a839a76329ba: Pushed [2023-10-13T03:23:17.067Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:17.515Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:17.893Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-13T03:23:17.893Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-13T03:23:17.893Z] 6546cb85d3c6: Preparing [2023-10-13T03:23:17.893Z] f9ca6610c465: Preparing [2023-10-13T03:23:17.893Z] a839a76329ba: Preparing [2023-10-13T03:23:17.893Z] 81563985f781: Preparing [2023-10-13T03:23:17.893Z] 5f4d9fc4d98d: Preparing [2023-10-13T03:23:17.893Z] a839a76329ba: Layer already exists [2023-10-13T03:23:17.893Z] 6546cb85d3c6: Layer already exists [2023-10-13T03:23:17.893Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T03:23:17.893Z] f9ca6610c465: Layer already exists [2023-10-13T03:23:17.893Z] 81563985f781: Layer already exists [2023-10-13T03:23:18.165Z] latest: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:18.542Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:18.917Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.21 [2023-10-13T03:23:18.917Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-13T03:23:18.917Z] 6546cb85d3c6: Preparing [2023-10-13T03:23:18.917Z] f9ca6610c465: Preparing [2023-10-13T03:23:18.917Z] a839a76329ba: Preparing [2023-10-13T03:23:18.917Z] 81563985f781: Preparing [2023-10-13T03:23:18.917Z] 5f4d9fc4d98d: Preparing [2023-10-13T03:23:18.917Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T03:23:18.917Z] 6546cb85d3c6: Layer already exists [2023-10-13T03:23:18.917Z] f9ca6610c465: Layer already exists [2023-10-13T03:23:18.917Z] 81563985f781: Layer already exists [2023-10-13T03:23:18.917Z] a839a76329ba: Layer already exists [2023-10-13T03:23:19.195Z] 3.1.0-dev.21: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:19.600Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:19.957Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [2023-10-13T03:23:19.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-13T03:23:19.957Z] 6546cb85d3c6: Preparing [2023-10-13T03:23:19.957Z] f9ca6610c465: Preparing [2023-10-13T03:23:19.958Z] a839a76329ba: Preparing [2023-10-13T03:23:19.958Z] 81563985f781: Preparing [2023-10-13T03:23:19.958Z] 5f4d9fc4d98d: Preparing [2023-10-13T03:23:19.958Z] 81563985f781: Layer already exists [2023-10-13T03:23:19.958Z] 6546cb85d3c6: Layer already exists [2023-10-13T03:23:19.958Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T03:23:19.958Z] f9ca6610c465: Layer already exists [2023-10-13T03:23:19.958Z] a839a76329ba: Layer already exists [2023-10-13T03:23:19.958Z] 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:20.674Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:21.014Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-10-13T03:23:21.014Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-13T03:23:21.014Z] 6546cb85d3c6: Preparing [2023-10-13T03:23:21.014Z] f9ca6610c465: Preparing [2023-10-13T03:23:21.014Z] a839a76329ba: Preparing [2023-10-13T03:23:21.014Z] 81563985f781: Preparing [2023-10-13T03:23:21.014Z] 5f4d9fc4d98d: Preparing [2023-10-13T03:23:21.014Z] 81563985f781: Layer already exists [2023-10-13T03:23:21.014Z] 6546cb85d3c6: Layer already exists [2023-10-13T03:23:21.014Z] a839a76329ba: Layer already exists [2023-10-13T03:23:21.014Z] f9ca6610c465: Layer already exists [2023-10-13T03:23:21.014Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T03:23:21.281Z] main: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T03:23:21.327Z] ===================================================== [Pipeline] echo [2023-10-13T03:23:21.336Z] taggedImages: [2023-10-13T03:23:21.336Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec [2023-10-13T03:23:21.336Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-13T03:23:21.336Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.21 [2023-10-13T03:23:21.336Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [2023-10-13T03:23:21.336Z] - 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 [2023-10-13T03:23:21.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T03:23:21.695Z] [2023-10-13T03:23:21.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:22.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T03:23:22.027Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-13T03:23:22.027Z] 8998bd30e6a1: Pulling fs layer [2023-10-13T03:23:22.027Z] 04944245beec: Pulling fs layer [2023-10-13T03:23:22.027Z] 699f458cf7ca: Pulling fs layer [2023-10-13T03:23:22.027Z] 765212b225bb: Pulling fs layer [2023-10-13T03:23:22.027Z] f23df028b6ca: Pulling fs layer [2023-10-13T03:23:22.027Z] d65c8cfc05b1: Pulling fs layer [2023-10-13T03:23:22.027Z] 2437ff75d9bd: Pulling fs layer [2023-10-13T03:23:22.027Z] f23df028b6ca: Waiting [2023-10-13T03:23:22.027Z] d65c8cfc05b1: Waiting [2023-10-13T03:23:22.027Z] 2437ff75d9bd: Waiting [2023-10-13T03:23:22.027Z] 765212b225bb: Waiting [2023-10-13T03:23:22.296Z] 04944245beec: Verifying Checksum [2023-10-13T03:23:22.296Z] 04944245beec: Download complete [2023-10-13T03:23:22.296Z] 765212b225bb: Verifying Checksum [2023-10-13T03:23:22.296Z] 765212b225bb: Download complete [2023-10-13T03:23:22.296Z] f23df028b6ca: Download complete [2023-10-13T03:23:22.296Z] d65c8cfc05b1: Download complete [2023-10-13T03:23:22.563Z] 699f458cf7ca: Verifying Checksum [2023-10-13T03:23:22.563Z] 699f458cf7ca: Download complete [2023-10-13T03:23:22.831Z] 8998bd30e6a1: Verifying Checksum [2023-10-13T03:23:22.831Z] 8998bd30e6a1: Download complete [2023-10-13T03:23:25.414Z] 2437ff75d9bd: Verifying Checksum [2023-10-13T03:23:25.414Z] 2437ff75d9bd: Download complete [2023-10-13T03:23:29.684Z] 8998bd30e6a1: Pull complete [2023-10-13T03:23:30.270Z] 04944245beec: Pull complete [2023-10-13T03:23:31.682Z] 699f458cf7ca: Pull complete [2023-10-13T03:23:31.948Z] 765212b225bb: Pull complete [2023-10-13T03:23:32.910Z] f23df028b6ca: Pull complete [2023-10-13T03:23:33.177Z] d65c8cfc05b1: Pull complete [2023-10-13T03:23:48.166Z] 2437ff75d9bd: Pull complete [2023-10-13T03:23:48.166Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-13T03:23:48.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T03:23:48.166Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:23:48.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container [2023-10-13T03:23:48.434Z] $ 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/141 -v /w/workspace/device-rest-go/141:/w/workspace/device-rest-go/141:rw,z -v /w/workspace/device-rest-go/141@tmp:/w/workspace/device-rest-go/141@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 [2023-10-13T03:23:51.246Z] $ docker top ca7fc5f8a84e387e8301feaf80a750d4f2b3be3118a3ef6da7b86a06bc491e47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:23:52.094Z] ---> job-cost.sh [2023-10-13T03:23:52.095Z] lf-activate-venv: SKIPPING [2023-10-13T03:23:52.095Z] INFO: No Stack... [2023-10-13T03:23:52.365Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-13T03:23:53.324Z] INFO: Archiving Costs [Pipeline] sh [2023-10-13T03:23:53.958Z] + cat /w/workspace/device-rest-go/141/archives/cost.csv [2023-10-13T03:23:53.958Z] + cut -d, -f6 [Pipeline] lock [2023-10-13T03:23:54.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [2023-10-13T03:23:54.037Z] Resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] did not exist. Created. [2023-10-13T03:23:54.037Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-13T03:23:54.697Z] /w/workspace/device-rest-go/141@tmp/durable-677a25c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-13T03:23:55.358Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-13T03:23:55.383Z] Warning: overwriting stash ‘stack-cost’ [2023-10-13T03:23:55.461Z] Stashed 1 file(s) [Pipeline] } [2023-10-13T03:23:55.467Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-13T03:23:55.483Z] $ docker stop --time=1 ca7fc5f8a84e387e8301feaf80a750d4f2b3be3118a3ef6da7b86a06bc491e47 [2023-10-13T03:23:58.255Z] $ docker rm -f --volumes ca7fc5f8a84e387e8301feaf80a750d4f2b3be3118a3ef6da7b86a06bc491e47 [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 [2023-10-13T03:23:58.657Z] provisioning config files... [2023-10-13T03:23:58.667Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4710072526336472470tmp [Pipeline] { [Pipeline] sh [2023-10-13T03:23:58.965Z] + set +x [2023-10-13T03:23:58.965Z] + + curl -s https://codecov.io/bash [2023-10-13T03:23:58.965Z] bash -s -- [2023-10-13T03:23:58.965Z] [2023-10-13T03:23:58.965Z] _____ _ [2023-10-13T03:23:58.965Z] / ____| | | [2023-10-13T03:23:58.965Z] | | ___ __| | ___ ___ _____ __ [2023-10-13T03:23:58.965Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-13T03:23:58.965Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-13T03:23:58.965Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-13T03:23:58.965Z] Bash-1.0.6 [2023-10-13T03:23:58.965Z] [2023-10-13T03:23:58.965Z] [2023-10-13T03:23:58.965Z] ==> git version 2.25.1 found [2023-10-13T03:23:58.965Z] ==> 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 [2023-10-13T03:23:58.965Z] Release-Date: 2020-01-08 [2023-10-13T03:23:58.965Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-13T03:23:58.965Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-13T03:23:58.965Z] ==> Jenkins CI detected. [2023-10-13T03:23:58.965Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-10-13T03:23:58.965Z] project root: . [2023-10-13T03:23:58.965Z] --> token set from env [2023-10-13T03:23:58.965Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-13T03:23:58.966Z] ==> Running gcov in . (disable via -X gcov) [2023-10-13T03:23:58.966Z] ==> Python coveragepy not found [2023-10-13T03:23:58.966Z] ==> Searching for coverage reports in: [2023-10-13T03:23:58.966Z] + . [2023-10-13T03:23:58.966Z] -> Found 1 reports [2023-10-13T03:23:58.966Z] ==> Detecting git/mercurial file structure [2023-10-13T03:23:58.966Z] ==> Reading reports [2023-10-13T03:23:58.966Z] + ./coverage.out bytes=14499 [2023-10-13T03:23:58.966Z] ==> Appending adjustments [2023-10-13T03:23:58.966Z] https://docs.codecov.io/docs/fixing-reports [2023-10-13T03:23:59.225Z] + Found adjustments [2023-10-13T03:23:59.225Z] ==> Gzipping contents [2023-10-13T03:23:59.225Z] 4.0K /tmp/codecov.ElQReO.gz [2023-10-13T03:23:59.225Z] ==> Uploading reports [2023-10-13T03:23:59.225Z] url: https://codecov.io [2023-10-13T03:23:59.225Z] query: branch=main&commit=9b53cce74fa8bad39d84f8d6d5cef51853259bec&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-13T03:23:59.225Z] -> Pinging Codecov [2023-10-13T03:23:59.225Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=9b53cce74fa8bad39d84f8d6d5cef51853259bec&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-13T03:23:59.225Z] -> Uploading to [2023-10-13T03:23:59.225Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-13/4E5D53B4F1F92C436F7061BF334D961C/9b53cce74fa8bad39d84f8d6d5cef51853259bec/8329af0e-2028-462b-8385-e2dae0d7c134.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231013T032359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c069fff6b0cdc535e06ef42dd54112c83c8b61cf8966e9abfcd096c4d3f9370c [2023-10-13T03:23:59.225Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-13T03:23:59.225Z] Dload Upload Total Spent Left Speed [2023-10-13T03:23:59.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8903 --:--:-- --:--:-- --:--:-- 8903 [2023-10-13T03:23:59.484Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] } [2023-10-13T03:23:59.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-13T03:23:59.645Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-13T03:23:59.662Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:23:59.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-13T03:23:59.964Z] [2023-10-13T03:23:59.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:24:00.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-13T03:24:00.262Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-13T03:24:00.262Z] df9b9388f04a: Pulling fs layer [2023-10-13T03:24:00.262Z] 52dc419b0ee2: Pulling fs layer [2023-10-13T03:24:00.262Z] 25bc292e5bac: Pulling fs layer [2023-10-13T03:24:00.262Z] 114826534d7a: Pulling fs layer [2023-10-13T03:24:00.262Z] 4657fd5d0bcf: Pulling fs layer [2023-10-13T03:24:00.262Z] 6ad1cebc031e: Pulling fs layer [2023-10-13T03:24:00.262Z] 8a3aa393b2d8: Pulling fs layer [2023-10-13T03:24:00.262Z] 4657fd5d0bcf: Waiting [2023-10-13T03:24:00.262Z] 6ad1cebc031e: Waiting [2023-10-13T03:24:00.262Z] 114826534d7a: Waiting [2023-10-13T03:24:00.262Z] 8a3aa393b2d8: Waiting [2023-10-13T03:24:00.262Z] 25bc292e5bac: Verifying Checksum [2023-10-13T03:24:00.262Z] 25bc292e5bac: Download complete [2023-10-13T03:24:00.262Z] 52dc419b0ee2: Download complete [2023-10-13T03:24:00.262Z] 4657fd5d0bcf: Verifying Checksum [2023-10-13T03:24:00.262Z] 4657fd5d0bcf: Download complete [2023-10-13T03:24:00.262Z] df9b9388f04a: Download complete [2023-10-13T03:24:00.520Z] 6ad1cebc031e: Verifying Checksum [2023-10-13T03:24:00.521Z] 6ad1cebc031e: Download complete [2023-10-13T03:24:00.521Z] df9b9388f04a: Pull complete [2023-10-13T03:24:00.521Z] 52dc419b0ee2: Pull complete [2023-10-13T03:24:00.521Z] 25bc292e5bac: Pull complete [2023-10-13T03:24:01.088Z] 114826534d7a: Verifying Checksum [2023-10-13T03:24:01.088Z] 114826534d7a: Download complete [2023-10-13T03:24:01.088Z] 8a3aa393b2d8: Verifying Checksum [2023-10-13T03:24:01.088Z] 8a3aa393b2d8: Download complete [2023-10-13T03:24:04.366Z] 114826534d7a: Pull complete [2023-10-13T03:24:04.366Z] 4657fd5d0bcf: Pull complete [2023-10-13T03:24:04.366Z] 6ad1cebc031e: Pull complete [2023-10-13T03:24:06.895Z] 8a3aa393b2d8: Pull complete [2023-10-13T03:24:06.895Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-13T03:24:06.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-13T03:24:06.895Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:24:06.967Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:24:06.995Z] $ 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:1.410.4 cat [2023-10-13T03:24:10.072Z] $ docker top da49dfd997c34fa3576637a50292580197755aa567f1563f8bc1eddd199eaa0f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-13T03:24:10.134Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-10-13T03:24:10.410Z] + set -o pipefail [2023-10-13T03:24:10.410Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-10-13T03:24:16.968Z] [2023-10-13T03:24:16.968Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-10-13T03:24:16.968Z] [2023-10-13T03:24:16.968Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f67f49e4-f83f-4c30-9321-a59caa32b14a [2023-10-13T03:24:16.968Z] [2023-10-13T03:24:16.969Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-13T03:24:16.969Z] [2023-10-13T03:24:16.969Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-13T03:24:16.969Z] [2023-10-13T03:24:16.969Z] [2023-10-13T03:24:16.969Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-13T03:24:16.969Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-13T03:24:16.969Z] More details here: https://snyk.co/ue1NS [2023-10-13T03:24:16.969Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-13T03:24:16.969Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-13T03:24:16.979Z] $ docker stop --time=1 da49dfd997c34fa3576637a50292580197755aa567f1563f8bc1eddd199eaa0f [2023-10-13T03:24:19.787Z] $ docker rm -f --volumes da49dfd997c34fa3576637a50292580197755aa567f1563f8bc1eddd199eaa0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-13T03:24:20.466Z] + git log --format=format:%s -1 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] sh [2023-10-13T03:24:20.753Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T03:24:20.753Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:24:21.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T03:24:21.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:24:21.122Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:24:21.152Z] $ 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 [2023-10-13T03:24:21.584Z] $ docker top d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae -eo pid,comm [2023-10-13T03:24:21.629Z] 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). [2023-10-13T03:24:21.629Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T03:24:21.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T03:24:21.670Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T03:24:21.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T03:24:21.777Z] $ docker exec d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae ssh-agent [2023-10-13T03:24:21.878Z] SSH_AUTH_SOCK=/tmp/ssh-18nxw0L5XXsI/agent.32 [2023-10-13T03:24:21.878Z] SSH_AGENT_PID=38 [2023-10-13T03:24:21.882Z] Running ssh-add (command line suppressed) [2023-10-13T03:24:21.963Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9153381468520164818.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9153381468520164818.key) [2023-10-13T03:24:21.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T03:24:22.257Z] + git semver tag [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,411 [run_tag] DEBUG tag force:False [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,411 [check_head_tag] DEBUG check head tag [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,411 [execute] INFO git cat-file --batch-check [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,415 [execute] INFO git cat-file --batch [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,427 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,427 [execute] INFO git tag -a v3.1.0-dev.21 -m v3.1.0-dev.21 [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,427 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.21', '-m', 'v3.1.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-13T03:24:22.516Z] 2023-10-13 03:24:22,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:24:22.516Z] 3.1.0-dev.21 [Pipeline] } [2023-10-13T03:24:22.526Z] $ docker exec --env ******** --env ******** d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae ssh-agent -k [2023-10-13T03:24:22.630Z] unset SSH_AUTH_SOCK; [2023-10-13T03:24:22.631Z] unset SSH_AGENT_PID; [2023-10-13T03:24:22.631Z] echo Agent pid 38 killed; [2023-10-13T03:24:22.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T03:24:22.940Z] + git semver [Pipeline] } [2023-10-13T03:24:23.213Z] $ docker stop --time=1 d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae [2023-10-13T03:24:24.461Z] $ docker rm -f --volumes d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:24:24.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-13T03:24:24.847Z] [2023-10-13T03:24:24.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:24:25.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-13T03:24:25.147Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-13T03:24:25.147Z] ab5ef0e58194: Pulling fs layer [2023-10-13T03:24:25.147Z] 9712f1f96733: Pulling fs layer [2023-10-13T03:24:25.147Z] 63f879dbbcfc: Pulling fs layer [2023-10-13T03:24:25.147Z] 0d9ebad4ef96: Pulling fs layer [2023-10-13T03:24:25.147Z] e9a5061849ea: Pulling fs layer [2023-10-13T03:24:25.147Z] d747dcd14b5f: Pulling fs layer [2023-10-13T03:24:25.147Z] 2de7ff778b66: Pulling fs layer [2023-10-13T03:24:25.147Z] e9a5061849ea: Waiting [2023-10-13T03:24:25.147Z] d747dcd14b5f: Waiting [2023-10-13T03:24:25.147Z] 0d9ebad4ef96: Waiting [2023-10-13T03:24:25.147Z] 2de7ff778b66: Waiting [2023-10-13T03:24:25.147Z] 9712f1f96733: Download complete [2023-10-13T03:24:25.406Z] 63f879dbbcfc: Verifying Checksum [2023-10-13T03:24:25.406Z] 63f879dbbcfc: Download complete [2023-10-13T03:24:25.664Z] 0d9ebad4ef96: Verifying Checksum [2023-10-13T03:24:25.664Z] 0d9ebad4ef96: Download complete [2023-10-13T03:24:25.664Z] d747dcd14b5f: Verifying Checksum [2023-10-13T03:24:25.664Z] d747dcd14b5f: Download complete [2023-10-13T03:24:25.664Z] e9a5061849ea: Verifying Checksum [2023-10-13T03:24:25.664Z] ab5ef0e58194: Verifying Checksum [2023-10-13T03:24:25.664Z] ab5ef0e58194: Download complete [2023-10-13T03:24:25.664Z] 2de7ff778b66: Verifying Checksum [2023-10-13T03:24:25.664Z] 2de7ff778b66: Download complete [2023-10-13T03:24:28.190Z] ab5ef0e58194: Pull complete [2023-10-13T03:24:28.190Z] 9712f1f96733: Pull complete [2023-10-13T03:24:28.754Z] 63f879dbbcfc: Pull complete [2023-10-13T03:24:32.035Z] 0d9ebad4ef96: Pull complete [2023-10-13T03:24:32.035Z] e9a5061849ea: Pull complete [2023-10-13T03:24:32.293Z] d747dcd14b5f: Pull complete [2023-10-13T03:24:33.224Z] 2de7ff778b66: Pull complete [2023-10-13T03:24:33.224Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-13T03:24:33.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-13T03:24:33.224Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:24:33.306Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:24:33.336Z] $ 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 [2023-10-13T03:24:36.337Z] $ docker top c40b70fad59bfd0de130ea38a2ac9dfe4738b82fbdcae7475bacdd8232ab8d25 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-13T03:24:36.401Z] provisioning config files... [2023-10-13T03:24:36.407Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12362850901162605359tmp [2023-10-13T03:24:36.416Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15139398279402524312tmp [2023-10-13T03:24:36.427Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7164465768406175262tmp [Pipeline] { [Pipeline] echo [2023-10-13T03:24:36.443Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:36.722Z] ---> sigul-configuration.sh [2023-10-13T03:24:36.722Z] gpg: directory `/root/.gnupg' created [2023-10-13T03:24:36.722Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-13T03:24:36.722Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-13T03:24:36.722Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-13T03:24:36.722Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-13T03:24:36.722Z] gpg: CAST5 encrypted data [2023-10-13T03:24:36.722Z] gpg: encrypted with 1 passphrase [2023-10-13T03:24:36.722Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-13T03:24:37.005Z] + mkdir /home/jenkins [2023-10-13T03:24:37.005Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-13T03:24:37.291Z] + 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 [2023-10-13T03:24:37.298Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:37.579Z] ---> sigul-install.sh [2023-10-13T03:24:37.579Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-13T03:24:37.861Z] + git tag --list [2023-10-13T03:24:37.861Z] v1.0.0 [2023-10-13T03:24:37.861Z] v1.1.0 [2023-10-13T03:24:37.861Z] v1.1.1 [2023-10-13T03:24:37.861Z] v1.1.2 [2023-10-13T03:24:37.861Z] v1.2.0 [2023-10-13T03:24:37.861Z] v1.2.1 [2023-10-13T03:24:37.861Z] v2.0.0 [2023-10-13T03:24:37.861Z] v2.1.0 [2023-10-13T03:24:37.861Z] v2.1.1 [2023-10-13T03:24:37.861Z] v2.2.0 [2023-10-13T03:24:37.861Z] v2.3.0 [2023-10-13T03:24:37.861Z] v3.0 [2023-10-13T03:24:37.861Z] v3.0.0 [2023-10-13T03:24:37.861Z] v3.1.0-dev.1 [2023-10-13T03:24:37.861Z] v3.1.0-dev.10 [2023-10-13T03:24:37.861Z] v3.1.0-dev.11 [2023-10-13T03:24:37.861Z] v3.1.0-dev.12 [2023-10-13T03:24:37.861Z] v3.1.0-dev.13 [2023-10-13T03:24:37.861Z] v3.1.0-dev.14 [2023-10-13T03:24:37.861Z] v3.1.0-dev.15 [2023-10-13T03:24:37.861Z] v3.1.0-dev.16 [2023-10-13T03:24:37.861Z] v3.1.0-dev.17 [2023-10-13T03:24:37.861Z] v3.1.0-dev.18 [2023-10-13T03:24:37.861Z] v3.1.0-dev.19 [2023-10-13T03:24:37.861Z] v3.1.0-dev.2 [2023-10-13T03:24:37.861Z] v3.1.0-dev.20 [2023-10-13T03:24:37.861Z] v3.1.0-dev.21 [2023-10-13T03:24:37.861Z] v3.1.0-dev.3 [2023-10-13T03:24:37.861Z] v3.1.0-dev.4 [2023-10-13T03:24:37.861Z] v3.1.0-dev.5 [2023-10-13T03:24:37.861Z] v3.1.0-dev.6 [2023-10-13T03:24:37.861Z] v3.1.0-dev.7 [2023-10-13T03:24:37.861Z] v3.1.0-dev.8 [2023-10-13T03:24:37.861Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-13T03:24:38.146Z] + lftools sign git-tag v3.1.0-dev.21 [2023-10-13T03:24:38.714Z] Signing Git tag with Sigul... [2023-10-13T03:24:38.714Z] Signing v3.1.0-dev.21 [Pipeline] echo [2023-10-13T03:24:38.978Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:39.263Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-13T03:24:39.269Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-13T03:24:39.287Z] $ docker stop --time=1 c40b70fad59bfd0de130ea38a2ac9dfe4738b82fbdcae7475bacdd8232ab8d25 [2023-10-13T03:24:40.543Z] $ docker rm -f --volumes c40b70fad59bfd0de130ea38a2ac9dfe4738b82fbdcae7475bacdd8232ab8d25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-13T03:24:40.957Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T03:24:40.957Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:24:41.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T03:24:41.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:24:41.326Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:24:41.356Z] $ 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 [2023-10-13T03:24:41.691Z] $ docker top 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 -eo pid,comm [2023-10-13T03:24:41.735Z] 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). [2023-10-13T03:24:41.735Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T03:24:41.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T03:24:41.774Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T03:24:41.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T03:24:41.881Z] $ docker exec 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 ssh-agent [2023-10-13T03:24:41.978Z] SSH_AUTH_SOCK=/tmp/ssh-rnxPu5wCli7y/agent.33 [2023-10-13T03:24:41.978Z] SSH_AGENT_PID=39 [2023-10-13T03:24:41.982Z] Running ssh-add (command line suppressed) [2023-10-13T03:24:42.085Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13191089410452288510.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13191089410452288510.key) [2023-10-13T03:24:42.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T03:24:42.394Z] + git semver bump pre [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,567 [bump_version] DEBUG bumping version:3.1.0-dev.21 on axis:pre with prefix:dev [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,567 [bump_version] DEBUG bumped version:3.1.0-dev.22 [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,567 [write_version] DEBUG write version:3.1.0-dev.22 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,567 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,569 [execute] INFO git cat-file --batch-check [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,574 [execute] INFO git cat-file --batch [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T03:24:42.653Z] 2023-10-13 03:24:42,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:24:42.653Z] 3.1.0-dev.22 [Pipeline] } [2023-10-13T03:24:42.661Z] $ docker exec --env ******** --env ******** 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 ssh-agent -k [2023-10-13T03:24:42.752Z] unset SSH_AUTH_SOCK; [2023-10-13T03:24:42.752Z] unset SSH_AGENT_PID; [2023-10-13T03:24:42.752Z] echo Agent pid 39 killed; [2023-10-13T03:24:42.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T03:24:43.070Z] + git semver [Pipeline] } [2023-10-13T03:24:43.343Z] $ docker stop --time=1 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 [2023-10-13T03:24:44.989Z] $ docker rm -f --volumes 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T03:24:45.326Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T03:24:45.326Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:24:45.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T03:24:45.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:24:45.691Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:24:45.720Z] $ 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 [2023-10-13T03:24:46.044Z] $ docker top 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 -eo pid,comm [2023-10-13T03:24:46.087Z] 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). [2023-10-13T03:24:46.087Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T03:24:46.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T03:24:46.118Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T03:24:46.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T03:24:46.217Z] $ docker exec 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 ssh-agent [2023-10-13T03:24:46.334Z] SSH_AUTH_SOCK=/tmp/ssh-e5tpNS2kQRTv/agent.33 [2023-10-13T03:24:46.334Z] SSH_AGENT_PID=39 [2023-10-13T03:24:46.338Z] Running ssh-add (command line suppressed) [2023-10-13T03:24:46.459Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716324376339639596.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716324376339639596.key) [2023-10-13T03:24:46.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T03:24:46.840Z] + git semver push [2023-10-13T03:24:47.118Z] 2023-10-13 03:24:46,951 [run_push] DEBUG push [2023-10-13T03:24:47.118Z] 2023-10-13 03:24:46,952 [execute] INFO git cat-file --batch-check [2023-10-13T03:24:47.118Z] 2023-10-13 03:24:46,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T03:24:47.118Z] 2023-10-13 03:24:46,955 [execute] INFO git rev-list cede06349b4b276652a024eadb1dd3ba07442cad -- [2023-10-13T03:24:47.118Z] 2023-10-13 03:24:46,956 [execute] DEBUG Popen(['git', 'rev-list', 'cede06349b4b276652a024eadb1dd3ba07442cad', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-13T03:24:47.118Z] 2023-10-13 03:24:46,964 [execute] INFO git fetch -v origin [2023-10-13T03:24:47.118Z] 2023-10-13 03:24:46,964 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-13T03:24:47.706Z] 2023-10-13 03:24:47,518 [run_push] DEBUG no remote changes detected [2023-10-13T03:24:47.706Z] 2023-10-13 03:24:47,518 [execute] INFO git push origin semver [2023-10-13T03:24:47.706Z] 2023-10-13 03:24:47,518 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-13T03:24:48.642Z] 2023-10-13 03:24:48,291 [run_push] DEBUG push all version tags [2023-10-13T03:24:48.642Z] 2023-10-13 03:24:48,291 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-13T03:24:48.642Z] 2023-10-13 03:24:48,292 [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) [2023-10-13T03:24:49.211Z] 2023-10-13 03:24:49,044 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-13T03:24:49.211Z] 3.1.0-dev.22 [Pipeline] } [2023-10-13T03:24:49.222Z] $ docker exec --env ******** --env ******** 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 ssh-agent -k [2023-10-13T03:24:49.330Z] unset SSH_AUTH_SOCK; [2023-10-13T03:24:49.330Z] unset SSH_AGENT_PID; [2023-10-13T03:24:49.330Z] echo Agent pid 39 killed; [2023-10-13T03:24:49.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T03:24:49.649Z] + git semver [Pipeline] } [2023-10-13T03:24:49.920Z] $ docker stop --time=1 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 [2023-10-13T03:24:51.175Z] $ docker rm -f --volumes 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-13T03:24:51.752Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-10-13T03:24:51.752Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-13T03:24:51.752Z] total 16 [2023-10-13T03:24:51.752Z] drwxr-xr-x 3 root root 4096 Oct 13 03:14 . [2023-10-13T03:24:51.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 03:24 .. [2023-10-13T03:24:51.752Z] drwxr-xr-x 2 root root 4096 Oct 13 03:14 cost [2023-10-13T03:24:51.752Z] -rw-r--r-- 1 root root 86 Oct 13 03:14 cost.csv [2023-10-13T03:24:51.752Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-13T03:24:51.752Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-13T03:24:51.752Z] total 16 [2023-10-13T03:24:51.752Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:14 . [2023-10-13T03:24:51.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 03:24 .. [2023-10-13T03:24:51.752Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 03:14 cost [2023-10-13T03:24:51.752Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 13 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:52.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:52.899Z] ---> package-listing.sh [2023-10-13T03:24:52.899Z] ++ facter osfamily [2023-10-13T03:24:52.899Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-13T03:24:53.629Z] + OS_FAMILY=debian [2023-10-13T03:24:53.629Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-10-13T03:24:53.629Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-13T03:24:53.629Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-13T03:24:53.629Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-13T03:24:53.629Z] + PACKAGES=/tmp/packages_start.txt [2023-10-13T03:24:53.629Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-13T03:24:53.629Z] + PACKAGES=/tmp/packages_end.txt [2023-10-13T03:24:53.629Z] + case "${OS_FAMILY}" in [2023-10-13T03:24:53.629Z] + dpkg -l [2023-10-13T03:24:53.629Z] + grep '^ii' [2023-10-13T03:24:53.629Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-13T03:24:53.629Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-13T03:24:53.629Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-13T03:24:53.629Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-13T03:24:53.629Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-10-13T03:24:53.629Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-10-13T03:24:53.643Z] 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 [2023-10-13T03:24:53.916Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T03:24:54.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T03:24:54.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T03:24:54.849Z] prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container [2023-10-13T03:24:54.874Z] $ 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 [2023-10-13T03:24:55.099Z] $ docker top 461c57ef85f2b37198686dcc09bb396ec42c63e939ce85ff35a695e9e3d464c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T03:24:55.432Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-13T03:24:55.718Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-13T03:24:56.004Z] + ls /var/log/sa-host [2023-10-13T03:24:56.004Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T03:24:56.066Z] provisioning config files... [2023-10-13T03:24:56.073Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1188534611316239143tmp [Pipeline] { [Pipeline] echo [2023-10-13T03:24:56.084Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:56.369Z] ---> create-netrc.sh [Pipeline] } [2023-10-13T03:24:56.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:56.705Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-13T03:24:56.713Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:56.997Z] ---> sudo-logs.sh [2023-10-13T03:24:56.997Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-13T03:24:57.021Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:57.305Z] ---> job-cost.sh [2023-10-13T03:24:57.305Z] lf-activate-venv: SKIPPING [2023-10-13T03:24:57.305Z] DEBUG: total: 0.2199999988079071 [2023-10-13T03:24:57.305Z] INFO: Retrieving Stack Cost... [2023-10-13T03:24:57.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-13T03:24:58.132Z] INFO: Archiving Costs [Pipeline] echo [2023-10-13T03:24:58.142Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T03:24:58.421Z] ---> logs-deploy.sh [2023-10-13T03:24:58.421Z] lf-activate-venv: SKIPPING [2023-10-13T03:24:58.421Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/141 [2023-10-13T03:24:58.421Z] INFO: archiving workspace using pattern(s): [2023-10-13T03:24:59.354Z] Archives upload complete. [2023-10-13T03:24:59.354Z] INFO: archiving logs to Nexus