Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee3075b8714f7f80e63bfc34ce21b756d008dcba 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-ssh18148397899264299584.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh2564093050419834299.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16004219059027845422.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh3711218933177812905.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh16222388956282235711.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-44862 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 ee3075b8714f7f80e63bfc34ce21b756d008dcba (main) > 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 ee3075b8714f7f80e63bfc34ce21b756d008dcba # timeout=10 Commit message: "Merge pull request #185 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T06:33:48.288Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T06:33:48.330Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T06:33:48.342Z] ========================================================= [2022-05-10T06:33:48.343Z] EdgeX Global Pipelines Version Info [2022-05-10T06:33:48.343Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:33:49.116Z] ------------------- [2022-05-10T06:33:49.116Z] stable info: [2022-05-10T06:33:49.116Z] ------------------- [2022-05-10T06:33:49.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T06:33:49.116Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T06:33:49.116Z] Message: update stable to v1.0.227 [2022-05-10T06:33:49.690Z] ------------------- [2022-05-10T06:33:49.690Z] experimental info: [2022-05-10T06:33:49.690Z] ------------------- [2022-05-10T06:33:49.690Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T06:33:49.690Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T06:33:49.690Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T06:33:49.837Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-10T06:33:49.855Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-10T06:33:49.873Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T06:33:49.891Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T06:33:49.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T06:33:49.922Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T06:33:49.938Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T06:33:49.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T06:33:49.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T06:33:49.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T06:33:50.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T06:33:50.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-10T06:33:50.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T06:33:50.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T06:33:50.077Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T06:33:50.089Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T06:33:50.101Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T06:33:50.115Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T06:33:50.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T06:33:50.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T06:33:50.159Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T06:33:50.174Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T06:33:50.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T06:33:50.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T06:33:50.217Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T06:33:50.235Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T06:33:50.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T06:33:50.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T06:33:50.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T06:33:50.303Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo [2022-05-10T06:33:50.323Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee3075b [Pipeline] echo [2022-05-10T06:33:50.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:33:50.388Z] provisioning config files... [2022-05-10T06:33:50.403Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1617041994393402080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:33:50.726Z] ---> docker-login.sh [2022-05-10T06:33:50.726Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:33:50.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:33:50.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:33:50.989Z] Configure a credential helper to remove this warning. See [2022-05-10T06:33:50.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:33:50.989Z] [2022-05-10T06:33:50.989Z] Login Succeeded [2022-05-10T06:33:50.989Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:33:50.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:33:51.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:33:51.250Z] Configure a credential helper to remove this warning. See [2022-05-10T06:33:51.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:33:51.250Z] [2022-05-10T06:33:51.250Z] Login Succeeded [2022-05-10T06:33:51.250Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:33:51.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:33:51.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:33:51.250Z] Configure a credential helper to remove this warning. See [2022-05-10T06:33:51.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:33:51.250Z] [2022-05-10T06:33:51.250Z] Login Succeeded [2022-05-10T06:33:51.250Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:33:51.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:33:51.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:33:51.511Z] Configure a credential helper to remove this warning. See [2022-05-10T06:33:51.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:33:51.511Z] [2022-05-10T06:33:51.511Z] Login Succeeded [2022-05-10T06:33:51.511Z] docker.io [2022-05-10T06:33:51.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:33:52.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:33:52.086Z] Configure a credential helper to remove this warning. See [2022-05-10T06:33:52.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:33:52.086Z] [2022-05-10T06:33:52.086Z] Login Succeeded [2022-05-10T06:33:52.086Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:33:52.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T06:33:52.476Z] + git rev-list -1 --merges ee3075b8714f7f80e63bfc34ce21b756d008dcba~1..ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo [2022-05-10T06:33:52.581Z] -----------> git rev-list -1 --merges ee3075b8714f7f80e63bfc34ce21b756d008dcba~1..ee3075b8714f7f80e63bfc34ce21b756d008dcba ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:33:52.581Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba [false] [Pipeline] sh [2022-05-10T06:33:52.882Z] + git log --format=format:%s -1 ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo [2022-05-10T06:33:52.897Z] ========================================================= [2022-05-10T06:33:52.897Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T06:33:52.897Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:33:53.248Z] + git log --format=format:%s -1 ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo [2022-05-10T06:33:53.263Z] [semverPrep] GIT_COMMIT: ee3075b8714f7f80e63bfc34ce21b756d008dcba, Commit Message: Merge pull request #185 from jpwhitemn/kamakura-rls-notes [Pipeline] echo [2022-05-10T06:33:53.275Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T06:33:53.657Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T06:33:53.657Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T06:33:53.657Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T06:33:53.657Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T06:33:53.657Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T06:33:53.657Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T06:33:53.657Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:33:54.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:33:54.013Z] [2022-05-10T06:33:54.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:33:54.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:33:54.320Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T06:33:54.320Z] 1fe172e4850f: Pulling fs layer [2022-05-10T06:33:54.321Z] caf521ccaac6: Pulling fs layer [2022-05-10T06:33:54.321Z] 3ead6fa29328: Pulling fs layer [2022-05-10T06:33:54.321Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T06:33:54.321Z] a8d5f1318db7: Pulling fs layer [2022-05-10T06:33:54.321Z] c427282e49a2: Pulling fs layer [2022-05-10T06:33:54.321Z] 1827001aaf11: Pulling fs layer [2022-05-10T06:33:54.321Z] 5c2a1cbceb83: Waiting [2022-05-10T06:33:54.321Z] 0714d37db230: Pulling fs layer [2022-05-10T06:33:54.321Z] ac28cf19c067: Pulling fs layer [2022-05-10T06:33:54.321Z] ca983d60f3e2: Pulling fs layer [2022-05-10T06:33:54.321Z] 1827001aaf11: Waiting [2022-05-10T06:33:54.321Z] ac28cf19c067: Waiting [2022-05-10T06:33:54.321Z] 0714d37db230: Waiting [2022-05-10T06:33:54.321Z] 9f894cec8388: Pulling fs layer [2022-05-10T06:33:54.321Z] c427282e49a2: Waiting [2022-05-10T06:33:54.321Z] ca983d60f3e2: Waiting [2022-05-10T06:33:54.321Z] 9f894cec8388: Waiting [2022-05-10T06:33:54.321Z] a8d5f1318db7: Waiting [2022-05-10T06:33:54.321Z] caf521ccaac6: Verifying Checksum [2022-05-10T06:33:54.321Z] caf521ccaac6: Download complete [2022-05-10T06:33:54.321Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T06:33:54.321Z] 5c2a1cbceb83: Download complete [2022-05-10T06:33:54.582Z] a8d5f1318db7: Verifying Checksum [2022-05-10T06:33:54.582Z] a8d5f1318db7: Download complete [2022-05-10T06:33:54.582Z] c427282e49a2: Verifying Checksum [2022-05-10T06:33:54.582Z] c427282e49a2: Download complete [2022-05-10T06:33:54.582Z] 3ead6fa29328: Verifying Checksum [2022-05-10T06:33:54.582Z] 3ead6fa29328: Download complete [2022-05-10T06:33:54.582Z] 0714d37db230: Verifying Checksum [2022-05-10T06:33:54.582Z] 0714d37db230: Download complete [2022-05-10T06:33:54.582Z] ac28cf19c067: Verifying Checksum [2022-05-10T06:33:54.582Z] ac28cf19c067: Download complete [2022-05-10T06:33:54.582Z] ca983d60f3e2: Verifying Checksum [2022-05-10T06:33:54.582Z] ca983d60f3e2: Download complete [2022-05-10T06:33:54.582Z] 9f894cec8388: Verifying Checksum [2022-05-10T06:33:54.582Z] 9f894cec8388: Download complete [2022-05-10T06:33:54.582Z] 1fe172e4850f: Verifying Checksum [2022-05-10T06:33:54.582Z] 1fe172e4850f: Download complete [2022-05-10T06:33:54.841Z] 1827001aaf11: Verifying Checksum [2022-05-10T06:33:54.841Z] 1827001aaf11: Download complete [2022-05-10T06:33:56.236Z] 1fe172e4850f: Pull complete [2022-05-10T06:33:56.236Z] caf521ccaac6: Pull complete [2022-05-10T06:33:56.810Z] 3ead6fa29328: Pull complete [2022-05-10T06:33:56.810Z] 5c2a1cbceb83: Pull complete [2022-05-10T06:33:57.074Z] a8d5f1318db7: Pull complete [2022-05-10T06:33:57.342Z] c427282e49a2: Pull complete [2022-05-10T06:33:59.255Z] 1827001aaf11: Pull complete [2022-05-10T06:33:59.517Z] 0714d37db230: Pull complete [2022-05-10T06:33:59.517Z] ac28cf19c067: Pull complete [2022-05-10T06:33:59.780Z] ca983d60f3e2: Pull complete [2022-05-10T06:33:59.780Z] 9f894cec8388: Pull complete [2022-05-10T06:33:59.781Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T06:33:59.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:33:59.781Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T06:33:59.863Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:33:59.922Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T06:34:01.542Z] $ docker top a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 -eo pid,comm [2022-05-10T06:34:01.641Z] 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). [2022-05-10T06:34:01.641Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T06:34:01.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:34:01.671Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:34:01.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:34:01.818Z] $ docker exec a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent [2022-05-10T06:34:01.940Z] SSH_AUTH_SOCK=/tmp/ssh-70MXZzxten4R/agent.32 [2022-05-10T06:34:01.940Z] SSH_AGENT_PID=38 [2022-05-10T06:34:01.949Z] Running ssh-add (command line suppressed) [2022-05-10T06:34:02.092Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5034957317450384669.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5034957317450384669.key) [2022-05-10T06:34:02.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:34:02.393Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T06:34:02.420Z] $ docker exec --env ******** --env ******** a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent -k [2022-05-10T06:34:02.536Z] unset SSH_AUTH_SOCK; [2022-05-10T06:34:02.536Z] unset SSH_AGENT_PID; [2022-05-10T06:34:02.537Z] echo Agent pid 38 killed; [2022-05-10T06:34:02.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T06:34:02.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:34:02.569Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:34:02.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:34:02.703Z] $ docker exec a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent [2022-05-10T06:34:02.830Z] SSH_AUTH_SOCK=/tmp/ssh-RJeMBvEWZna4/agent.70 [2022-05-10T06:34:02.830Z] SSH_AGENT_PID=76 [2022-05-10T06:34:02.836Z] Running ssh-add (command line suppressed) [2022-05-10T06:34:02.949Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_358800544338182876.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_358800544338182876.key) [2022-05-10T06:34:02.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:34:03.257Z] + git semver init [2022-05-10T06:34:03.518Z] 2022-05-10 06:34:03,454 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T06:34:03.518Z] 2022-05-10 06:34:03,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-10T06:34:03.518Z] 2022-05-10 06:34:03,456 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-10T06:34:03.518Z] 2022-05-10 06:34:03,456 [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) [2022-05-10T06:34:04.465Z] 2022-05-10 06:34:04,462 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-05-10T06:34:04.465Z] 2022-05-10 06:34:04,462 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-05-10T06:34:04.465Z] 2022-05-10 06:34:04,463 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:34:04.465Z] 2022-05-10 06:34:04,463 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:34:04.465Z] 2.2.0-dev.15 [Pipeline] } [2022-05-10T06:34:04.745Z] $ docker exec --env ******** --env ******** a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent -k [2022-05-10T06:34:04.870Z] unset SSH_AUTH_SOCK; [2022-05-10T06:34:04.870Z] unset SSH_AGENT_PID; [2022-05-10T06:34:04.870Z] echo Agent pid 76 killed; [2022-05-10T06:34:04.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T06:34:05.185Z] + git semver [Pipeline] } [2022-05-10T06:34:05.469Z] $ docker stop --time=1 a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 [2022-05-10T06:34:06.839Z] $ docker rm -f a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:34:07.197Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T06:34:07.487Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T06:34:07.492Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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 [2022-05-10T06:34:07.648Z] provisioning config files... [2022-05-10T06:34:07.658Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4509156089899503219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:34:07.963Z] ---> docker-login.sh [2022-05-10T06:34:07.963Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:34:07.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:34:07.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:34:07.963Z] Configure a credential helper to remove this warning. See [2022-05-10T06:34:07.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:34:07.963Z] [2022-05-10T06:34:07.963Z] Login Succeeded [2022-05-10T06:34:07.963Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:34:07.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:34:08.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:34:08.225Z] Configure a credential helper to remove this warning. See [2022-05-10T06:34:08.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:34:08.225Z] [2022-05-10T06:34:08.225Z] Login Succeeded [2022-05-10T06:34:08.225Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:34:08.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:34:08.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:34:08.225Z] Configure a credential helper to remove this warning. See [2022-05-10T06:34:08.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:34:08.225Z] [2022-05-10T06:34:08.225Z] Login Succeeded [2022-05-10T06:34:08.225Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:34:08.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:34:08.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:34:08.488Z] Configure a credential helper to remove this warning. See [2022-05-10T06:34:08.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:34:08.488Z] [2022-05-10T06:34:08.488Z] Login Succeeded [2022-05-10T06:34:08.488Z] docker.io [2022-05-10T06:34:08.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:34:09.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:34:09.061Z] Configure a credential helper to remove this warning. See [2022-05-10T06:34:09.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:34:09.061Z] [2022-05-10T06:34:09.061Z] Login Succeeded [2022-05-10T06:34:09.061Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:34:09.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T06:34:09.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:34:09.155Z] ========================================================= [2022-05-10T06:34:09.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T06:34:09.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:34:09.465Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T06:34:09.465Z] Sending build context to Docker daemon 10.62MB [2022-05-10T06:34:09.465Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:34:09.465Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T06:34:09.465Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T06:34:09.465Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T06:34:09.465Z] 666ba61612fd: Pulling fs layer [2022-05-10T06:34:09.465Z] 8ed8ca486205: Pulling fs layer [2022-05-10T06:34:09.465Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T06:34:09.465Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T06:34:09.465Z] ca2b28591e48: Pulling fs layer [2022-05-10T06:34:09.465Z] a51346096db8: Pulling fs layer [2022-05-10T06:34:09.465Z] daebc70d1ce1: Pulling fs layer [2022-05-10T06:34:09.465Z] 0e18a0eac166: Pulling fs layer [2022-05-10T06:34:09.465Z] ca2b28591e48: Waiting [2022-05-10T06:34:09.465Z] a51346096db8: Waiting [2022-05-10T06:34:09.465Z] daebc70d1ce1: Waiting [2022-05-10T06:34:09.465Z] 0e18a0eac166: Waiting [2022-05-10T06:34:09.465Z] 22a0e8bec74d: Waiting [2022-05-10T06:34:09.465Z] 4fe6c5a15a65: Waiting [2022-05-10T06:34:09.727Z] 8ed8ca486205: Verifying Checksum [2022-05-10T06:34:09.727Z] 8ed8ca486205: Download complete [2022-05-10T06:34:09.727Z] 666ba61612fd: Download complete [2022-05-10T06:34:09.727Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T06:34:09.727Z] 22a0e8bec74d: Download complete [2022-05-10T06:34:09.727Z] ca2b28591e48: Download complete [2022-05-10T06:34:09.727Z] a51346096db8: Verifying Checksum [2022-05-10T06:34:09.727Z] a51346096db8: Download complete [2022-05-10T06:34:09.727Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T06:34:09.727Z] daebc70d1ce1: Verifying Checksum [2022-05-10T06:34:09.727Z] daebc70d1ce1: Download complete [2022-05-10T06:34:09.727Z] 59bf1c3509f3: Pull complete [2022-05-10T06:34:09.988Z] 666ba61612fd: Pull complete [2022-05-10T06:34:09.988Z] 8ed8ca486205: Pull complete [2022-05-10T06:34:10.559Z] 0e18a0eac166: Verifying Checksum [2022-05-10T06:34:10.559Z] 0e18a0eac166: Download complete [2022-05-10T06:34:10.559Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T06:34:10.559Z] 4fe6c5a15a65: Download complete [2022-05-10T06:34:14.755Z] 4fe6c5a15a65: Pull complete [2022-05-10T06:34:14.755Z] 22a0e8bec74d: Pull complete [2022-05-10T06:34:14.755Z] ca2b28591e48: Pull complete [2022-05-10T06:34:14.755Z] a51346096db8: Pull complete [2022-05-10T06:34:15.014Z] daebc70d1ce1: Pull complete [2022-05-10T06:34:17.562Z] 0e18a0eac166: Pull complete [2022-05-10T06:34:17.562Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T06:34:17.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T06:34:17.562Z] ---> f018257e8ee9 [2022-05-10T06:34:17.562Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T06:34:19.476Z] ---> Running in 4cbd0f206e12 [2022-05-10T06:34:19.476Z] Removing intermediate container 4cbd0f206e12 [2022-05-10T06:34:19.476Z] ---> aeee1dd9dfb2 [2022-05-10T06:34:19.476Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:34:19.476Z] ---> Running in 8981b08aee8e [2022-05-10T06:34:19.476Z] Removing intermediate container 8981b08aee8e [2022-05-10T06:34:19.476Z] ---> f936c550808b [2022-05-10T06:34:19.476Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:34:19.476Z] ---> Running in 7171330d8152 [2022-05-10T06:34:19.738Z] Removing intermediate container 7171330d8152 [2022-05-10T06:34:19.738Z] ---> 603a15161900 [2022-05-10T06:34:19.738Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:34:19.738Z] ---> Running in 1ce13b8edfdc [2022-05-10T06:34:20.311Z] Removing intermediate container 1ce13b8edfdc [2022-05-10T06:34:20.311Z] ---> ede05a8f357c [2022-05-10T06:34:20.311Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:34:20.311Z] ---> Running in 89b03031d346 [2022-05-10T06:34:20.885Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:34:21.456Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:34:22.029Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T06:34:22.029Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T06:34:22.029Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T06:34:22.291Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T06:34:22.291Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T06:34:22.291Z] OK: 224 MiB in 56 packages [2022-05-10T06:34:22.599Z] Still waiting to schedule task [2022-05-10T06:34:22.599Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T06:34:22.862Z] Removing intermediate container 89b03031d346 [2022-05-10T06:34:22.862Z] ---> 8476f54c2d68 [2022-05-10T06:34:22.862Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T06:34:22.862Z] ---> Running in 4c17fa0102ae [2022-05-10T06:34:22.862Z] Removing intermediate container 4c17fa0102ae [2022-05-10T06:34:22.862Z] ---> ab6c8fd3f32b [2022-05-10T06:34:22.862Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T06:34:23.123Z] ---> a099bd698669 [2022-05-10T06:34:23.123Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:34:23.123Z] ---> Running in 260f41ee2da9 [2022-05-10T06:34:41.241Z] Removing intermediate container 260f41ee2da9 [2022-05-10T06:34:41.241Z] ---> 508d705eb07a [2022-05-10T06:34:41.241Z] Step 11/12 : COPY . . [2022-05-10T06:34:41.241Z] ---> 5302a5c8c843 [2022-05-10T06:34:41.241Z] Step 12/12 : RUN $MAKE [2022-05-10T06:34:41.241Z] ---> Running in 0650334220d7 [2022-05-10T06:34:41.241Z] noop [2022-05-10T06:34:41.241Z] Removing intermediate container 0650334220d7 [2022-05-10T06:34:41.241Z] ---> 191cac8cc294 [2022-05-10T06:34:41.241Z] Successfully built 191cac8cc294 [2022-05-10T06:34:41.241Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:34:41.552Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T06:34:41.552Z] . [Pipeline] withDockerContainer [2022-05-10T06:34:41.624Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:34:41.667Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T06:34:42.058Z] $ docker top fdfb5b862b536b046800101a459130d722e53fc84a81798f1ed87b83944efd56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:34:42.422Z] + go version [2022-05-10T06:34:42.422Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T06:34:42.441Z] $ docker stop --time=1 fdfb5b862b536b046800101a459130d722e53fc84a81798f1ed87b83944efd56 [2022-05-10T06:34:43.734Z] $ docker rm -f fdfb5b862b536b046800101a459130d722e53fc84a81798f1ed87b83944efd56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:34:44.154Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T06:34:44.154Z] . [Pipeline] withDockerContainer [2022-05-10T06:34:44.230Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:34:44.277Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T06:34:44.641Z] $ docker top 314804ed613e86e4bc3cfb830336312aa4302860ee5edfd248e0ef6139eb98aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T06:34:45.049Z] + make test [2022-05-10T06:34:45.049Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T06:34:45.312Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T06:34:55.302Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T06:34:55.302Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-05-10T06:35:03.445Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T06:35:06.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T06:35:06.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T06:35:06.744Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T06:35:07.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T06:35:07.351Z] $ docker stop --time=1 314804ed613e86e4bc3cfb830336312aa4302860ee5edfd248e0ef6139eb98aa [2022-05-10T06:35:09.262Z] $ docker rm -f 314804ed613e86e4bc3cfb830336312aa4302860ee5edfd248e0ef6139eb98aa [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:35:09.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T06:35:09.772Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T06:35:10.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T06:35:10.573Z] + ls -al . [2022-05-10T06:35:10.573Z] total 172 [2022-05-10T06:35:10.573Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:35 . [2022-05-10T06:35:10.573Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 .. [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 06:33 .dockerignore [2022-05-10T06:35:10.573Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:34 .git [2022-05-10T06:35:10.573Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:33 .github [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:33 .gitignore [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:33 .golangci.yml [2022-05-10T06:35:10.573Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:34 .semver [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 06:33 Attribution.txt [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 06:33 CHANGELOG.md [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 06:33 Dockerfile [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:33 GOVERNANCE.md [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 06:33 Jenkinsfile [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:33 LICENSE [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 06:33 Makefile [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:33 OWNERS.md [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 06:33 README.md [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:34 VERSION [2022-05-10T06:35:10.573Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 bin [2022-05-10T06:35:10.573Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:33 cmd [2022-05-10T06:35:10.573Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 06:34 coverage.out [2022-05-10T06:35:10.573Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 driver [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 06:33 go.mod [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 10 06:33 go.sum [2022-05-10T06:35:10.573Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:33 snap [2022-05-10T06:35:10.573Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 06:33 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:10.875Z] + 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=ee3075b8714f7f80e63bfc34ce21b756d008dcba --label arch=amd64 --label version=2.2.0-dev.15 . [2022-05-10T06:35:10.876Z] Sending build context to Docker daemon 10.63MB [2022-05-10T06:35:10.876Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:35:10.876Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T06:35:10.876Z] ---> 191cac8cc294 [2022-05-10T06:35:10.876Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T06:35:11.142Z] ---> Running in 7d9da5f9c76a [2022-05-10T06:35:11.142Z] Removing intermediate container 7d9da5f9c76a [2022-05-10T06:35:11.142Z] ---> 4b97e6f27c33 [2022-05-10T06:35:11.142Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:35:11.142Z] ---> Running in db36eb1ee1e4 [2022-05-10T06:35:11.142Z] Removing intermediate container db36eb1ee1e4 [2022-05-10T06:35:11.142Z] ---> 7d101fda1b69 [2022-05-10T06:35:11.142Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:35:11.403Z] ---> Running in 3f590ccc23d0 [2022-05-10T06:35:11.403Z] Removing intermediate container 3f590ccc23d0 [2022-05-10T06:35:11.403Z] ---> f133592bafa1 [2022-05-10T06:35:11.403Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:35:11.403Z] ---> Running in b4aa95c85b54 [2022-05-10T06:35:11.973Z] Removing intermediate container b4aa95c85b54 [2022-05-10T06:35:11.973Z] ---> 37411a5f377c [2022-05-10T06:35:11.973Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:35:11.973Z] ---> Running in 60e735a56c6f [2022-05-10T06:35:12.234Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:35:13.178Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:35:13.441Z] OK: 224 MiB in 56 packages [2022-05-10T06:35:13.701Z] Removing intermediate container 60e735a56c6f [2022-05-10T06:35:13.701Z] ---> 54bc2edc88ec [2022-05-10T06:35:13.701Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T06:35:13.701Z] ---> Running in 9b622c9df021 [2022-05-10T06:35:13.965Z] Removing intermediate container 9b622c9df021 [2022-05-10T06:35:13.965Z] ---> 55ca00b96ff4 [2022-05-10T06:35:13.965Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T06:35:13.965Z] ---> 46e6a928c75b [2022-05-10T06:35:13.965Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:35:13.965Z] ---> Running in aab9c2102642 [2022-05-10T06:35:14.905Z] Removing intermediate container aab9c2102642 [2022-05-10T06:35:14.905Z] ---> c6a63420d8e8 [2022-05-10T06:35:14.905Z] Step 11/25 : COPY . . [2022-05-10T06:35:14.905Z] ---> 43b8cc539efe [2022-05-10T06:35:14.905Z] Step 12/25 : RUN $MAKE [2022-05-10T06:35:15.167Z] ---> Running in b0c36c0b5635 [2022-05-10T06:35:15.426Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-10T06:35:37.380Z] Removing intermediate container b0c36c0b5635 [2022-05-10T06:35:37.380Z] ---> 8f9c0827d7f5 [2022-05-10T06:35:37.380Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T06:35:37.380Z] 3.14: Pulling from library/alpine [2022-05-10T06:35:37.380Z] 8663204ce13b: Pulling fs layer [2022-05-10T06:35:37.380Z] 8663204ce13b: Verifying Checksum [2022-05-10T06:35:37.380Z] 8663204ce13b: Download complete [2022-05-10T06:35:37.380Z] 8663204ce13b: Pull complete [2022-05-10T06:35:37.380Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T06:35:37.380Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T06:35:37.380Z] ---> e04c818066af [2022-05-10T06:35:37.380Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T06:35:37.380Z] ---> Running in 1c47a3c9ba5f [2022-05-10T06:35:37.380Z] Removing intermediate container 1c47a3c9ba5f [2022-05-10T06:35:37.380Z] ---> 571bbe74f2c8 [2022-05-10T06:35:37.380Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T06:35:37.380Z] ---> Running in e47a213dc761 [2022-05-10T06:35:37.380Z] Removing intermediate container e47a213dc761 [2022-05-10T06:35:37.380Z] ---> 53a9596651fb [2022-05-10T06:35:37.380Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T06:35:37.380Z] ---> Running in 4705c2e30577 [2022-05-10T06:35:37.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:35:37.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:35:37.380Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T06:35:37.380Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T06:35:37.380Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T06:35:37.380Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T06:35:37.380Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T06:35:37.380Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T06:35:37.380Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T06:35:37.380Z] OK: 8 MiB in 20 packages [2022-05-10T06:35:37.640Z] Removing intermediate container 4705c2e30577 [2022-05-10T06:35:37.640Z] ---> 4884a46b4bcb [2022-05-10T06:35:37.640Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T06:35:38.211Z] ---> 38999d05ce49 [2022-05-10T06:35:38.211Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T06:35:38.470Z] ---> 8f7ac4021ac8 [2022-05-10T06:35:38.470Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T06:35:38.470Z] ---> 8d36f4fb298d [2022-05-10T06:35:38.470Z] Step 20/25 : EXPOSE 59986 [2022-05-10T06:35:38.470Z] ---> Running in 26c73b890ac1 [2022-05-10T06:35:38.730Z] Removing intermediate container 26c73b890ac1 [2022-05-10T06:35:38.730Z] ---> 8461a12c72b3 [2022-05-10T06:35:38.730Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T06:35:38.730Z] ---> Running in b15af588100f [2022-05-10T06:35:38.730Z] Removing intermediate container b15af588100f [2022-05-10T06:35:38.730Z] ---> 4a0fb926313b [2022-05-10T06:35:38.730Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T06:35:38.730Z] ---> Running in c134cf6857f0 [2022-05-10T06:35:38.991Z] Removing intermediate container c134cf6857f0 [2022-05-10T06:35:38.991Z] ---> 1f89a18b44c2 [2022-05-10T06:35:38.991Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T06:35:38.991Z] ---> Running in b84ef5e05f63 [2022-05-10T06:35:38.991Z] Removing intermediate container b84ef5e05f63 [2022-05-10T06:35:38.991Z] ---> b0b60c517308 [2022-05-10T06:35:38.991Z] Step 24/25 : LABEL git_sha=ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:35:38.991Z] ---> Running in 1a97ec893f32 [2022-05-10T06:35:39.251Z] Removing intermediate container 1a97ec893f32 [2022-05-10T06:35:39.251Z] ---> 496a6842fc5b [2022-05-10T06:35:39.251Z] Step 25/25 : LABEL version=2.2.0-dev.15 [2022-05-10T06:35:39.251Z] ---> Running in 067085ae4e96 [2022-05-10T06:35:39.251Z] Removing intermediate container 067085ae4e96 [2022-05-10T06:35:39.251Z] ---> 65c28e2e640f [2022-05-10T06:35:39.251Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T06:35:39.251Z] Successfully built 65c28e2e640f [2022-05-10T06:35:39.251Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:35:39.346Z] provisioning config files... [2022-05-10T06:35:39.358Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4024319516232450626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:35:39.659Z] ---> docker-login.sh [2022-05-10T06:35:39.659Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:35:39.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:35:39.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:35:39.659Z] Configure a credential helper to remove this warning. See [2022-05-10T06:35:39.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:35:39.659Z] [2022-05-10T06:35:39.659Z] Login Succeeded [2022-05-10T06:35:39.659Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:35:39.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:35:39.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:35:39.920Z] Configure a credential helper to remove this warning. See [2022-05-10T06:35:39.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:35:39.920Z] [2022-05-10T06:35:39.920Z] Login Succeeded [2022-05-10T06:35:39.920Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:35:39.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:35:39.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:35:39.920Z] Configure a credential helper to remove this warning. See [2022-05-10T06:35:39.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:35:39.920Z] [2022-05-10T06:35:39.920Z] Login Succeeded [2022-05-10T06:35:39.920Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:35:39.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:35:40.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:35:40.180Z] Configure a credential helper to remove this warning. See [2022-05-10T06:35:40.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:35:40.180Z] [2022-05-10T06:35:40.180Z] Login Succeeded [2022-05-10T06:35:40.180Z] docker.io [2022-05-10T06:35:40.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:35:40.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:35:40.441Z] Configure a credential helper to remove this warning. See [2022-05-10T06:35:40.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:35:40.441Z] [2022-05-10T06:35:40.441Z] Login Succeeded [2022-05-10T06:35:40.441Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:35:40.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T06:35:40.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:35:40.502Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-05-10T06:35:40.502Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:35:40.502Z] latest [2022-05-10T06:35:40.502Z] 2.2.0-dev.15 [2022-05-10T06:35:40.502Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [2022-05-10T06:35:40.502Z] main [2022-05-10T06:35:40.502Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:40.823Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:41.123Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:35:41.123Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T06:35:41.123Z] 901ced14a572: Preparing [2022-05-10T06:35:41.123Z] 83bf1f185c9f: Preparing [2022-05-10T06:35:41.123Z] 51ef72e6cacd: Preparing [2022-05-10T06:35:41.123Z] a2d4d9bba7ae: Preparing [2022-05-10T06:35:41.123Z] b541d28bf3b4: Preparing [2022-05-10T06:35:41.123Z] b541d28bf3b4: Layer already exists [2022-05-10T06:35:41.123Z] 901ced14a572: Pushed [2022-05-10T06:35:41.123Z] 83bf1f185c9f: Pushed [2022-05-10T06:35:41.694Z] a2d4d9bba7ae: Pushed [2022-05-10T06:35:44.234Z] 51ef72e6cacd: Pushed [2022-05-10T06:35:44.234Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:44.535Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:44.827Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-10T06:35:44.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T06:35:44.827Z] 901ced14a572: Preparing [2022-05-10T06:35:44.827Z] 83bf1f185c9f: Preparing [2022-05-10T06:35:44.827Z] 51ef72e6cacd: Preparing [2022-05-10T06:35:44.827Z] a2d4d9bba7ae: Preparing [2022-05-10T06:35:44.827Z] b541d28bf3b4: Preparing [2022-05-10T06:35:44.827Z] 51ef72e6cacd: Layer already exists [2022-05-10T06:35:44.827Z] b541d28bf3b4: Layer already exists [2022-05-10T06:35:44.827Z] 901ced14a572: Layer already exists [2022-05-10T06:35:44.827Z] 83bf1f185c9f: Layer already exists [2022-05-10T06:35:44.827Z] a2d4d9bba7ae: Layer already exists [2022-05-10T06:35:44.827Z] latest: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:45.126Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:45.422Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.15 [2022-05-10T06:35:45.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T06:35:45.422Z] 901ced14a572: Preparing [2022-05-10T06:35:45.422Z] 83bf1f185c9f: Preparing [2022-05-10T06:35:45.422Z] 51ef72e6cacd: Preparing [2022-05-10T06:35:45.422Z] a2d4d9bba7ae: Preparing [2022-05-10T06:35:45.422Z] b541d28bf3b4: Preparing [2022-05-10T06:35:45.422Z] a2d4d9bba7ae: Layer already exists [2022-05-10T06:35:45.422Z] 83bf1f185c9f: Layer already exists [2022-05-10T06:35:45.422Z] 901ced14a572: Layer already exists [2022-05-10T06:35:45.422Z] 51ef72e6cacd: Layer already exists [2022-05-10T06:35:45.422Z] b541d28bf3b4: Layer already exists [2022-05-10T06:35:45.422Z] 2.2.0-dev.15: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:45.721Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:46.015Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [2022-05-10T06:35:46.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T06:35:46.015Z] 901ced14a572: Preparing [2022-05-10T06:35:46.015Z] 83bf1f185c9f: Preparing [2022-05-10T06:35:46.015Z] 51ef72e6cacd: Preparing [2022-05-10T06:35:46.015Z] a2d4d9bba7ae: Preparing [2022-05-10T06:35:46.015Z] b541d28bf3b4: Preparing [2022-05-10T06:35:46.015Z] a2d4d9bba7ae: Layer already exists [2022-05-10T06:35:46.015Z] 901ced14a572: Layer already exists [2022-05-10T06:35:46.015Z] 51ef72e6cacd: Layer already exists [2022-05-10T06:35:46.015Z] 83bf1f185c9f: Layer already exists [2022-05-10T06:35:46.015Z] b541d28bf3b4: Layer already exists [2022-05-10T06:35:46.015Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:46.315Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:46.611Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-05-10T06:35:46.611Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T06:35:46.611Z] 901ced14a572: Preparing [2022-05-10T06:35:46.611Z] 83bf1f185c9f: Preparing [2022-05-10T06:35:46.611Z] 51ef72e6cacd: Preparing [2022-05-10T06:35:46.611Z] a2d4d9bba7ae: Preparing [2022-05-10T06:35:46.611Z] b541d28bf3b4: Preparing [2022-05-10T06:35:46.611Z] 901ced14a572: Layer already exists [2022-05-10T06:35:46.611Z] a2d4d9bba7ae: Layer already exists [2022-05-10T06:35:46.611Z] b541d28bf3b4: Layer already exists [2022-05-10T06:35:46.611Z] 83bf1f185c9f: Layer already exists [2022-05-10T06:35:46.611Z] 51ef72e6cacd: Layer already exists [2022-05-10T06:35:46.611Z] main: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T06:35:46.655Z] ===================================================== [Pipeline] echo [2022-05-10T06:35:46.665Z] taggedImages: [2022-05-10T06:35:46.665Z] - nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:35:46.665Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-10T06:35:46.665Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.15 [2022-05-10T06:35:46.665Z] - nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [2022-05-10T06:35:46.665Z] - 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] sh [2022-05-10T06:35:47.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:35:47.042Z] [2022-05-10T06:35:47.042Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:35:47.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:35:47.350Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T06:35:47.350Z] 5eb5b503b376: Pulling fs layer [2022-05-10T06:35:47.350Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T06:35:47.350Z] ec43610c2a17: Pulling fs layer [2022-05-10T06:35:47.350Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T06:35:47.350Z] 33b1e0a273af: Pulling fs layer [2022-05-10T06:35:47.350Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T06:35:47.350Z] 2f39f015ded8: Pulling fs layer [2022-05-10T06:35:47.350Z] 5d3b04190fa2: Waiting [2022-05-10T06:35:47.350Z] 3a2ae6a8a46f: Waiting [2022-05-10T06:35:47.350Z] 2f39f015ded8: Waiting [2022-05-10T06:35:47.350Z] 33b1e0a273af: Waiting [2022-05-10T06:35:47.350Z] 5c69ac0246d0: Download complete [2022-05-10T06:35:47.350Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T06:35:47.350Z] 3a2ae6a8a46f: Download complete [2022-05-10T06:35:47.350Z] 33b1e0a273af: Verifying Checksum [2022-05-10T06:35:47.350Z] 33b1e0a273af: Download complete [2022-05-10T06:35:47.350Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T06:35:47.350Z] 5d3b04190fa2: Download complete [2022-05-10T06:35:47.610Z] ec43610c2a17: Verifying Checksum [2022-05-10T06:35:47.610Z] ec43610c2a17: Download complete [2022-05-10T06:35:47.610Z] 5eb5b503b376: Verifying Checksum [2022-05-10T06:35:47.610Z] 5eb5b503b376: Download complete [2022-05-10T06:35:48.991Z] 5eb5b503b376: Pull complete [2022-05-10T06:35:48.991Z] 5c69ac0246d0: Pull complete [2022-05-10T06:35:49.561Z] ec43610c2a17: Pull complete [2022-05-10T06:35:49.561Z] 3a2ae6a8a46f: Pull complete [2022-05-10T06:35:49.821Z] 33b1e0a273af: Pull complete [2022-05-10T06:35:50.080Z] 5d3b04190fa2: Pull complete [2022-05-10T06:35:54.279Z] 2f39f015ded8: Pull complete [2022-05-10T06:35:54.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T06:35:54.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:35:54.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T06:35:54.353Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:35:54.396Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T06:35:56.546Z] $ docker top d0de3afd127c7fae52dda69c3e80c1ad6a922d49637ed95d55b13769279b00b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:35:56.995Z] ---> job-cost.sh [2022-05-10T06:35:56.995Z] lf-activate-venv: SKIPPING [2022-05-10T06:35:56.995Z] INFO: No Stack... [2022-05-10T06:35:57.259Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T06:35:57.847Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T06:35:58.191Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-05-10T06:35:58.192Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T06:35:58.209Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [2022-05-10T06:35:58.217Z] Resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] did not exist. Created. [2022-05-10T06:35:58.217Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T06:35:58.527Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T06:35:58.557Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T06:35:58.563Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T06:35:58.586Z] $ docker stop --time=1 d0de3afd127c7fae52dda69c3e80c1ad6a922d49637ed95d55b13769279b00b2 [2022-05-10T06:35:59.759Z] $ docker rm -f d0de3afd127c7fae52dda69c3e80c1ad6a922d49637ed95d55b13769279b00b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T06:44:51.946Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-45067 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-05-10T06:44:51.961Z] Running in /w/workspace/device-rest-go/37 [Pipeline] { [Pipeline] checkout [2022-05-10T06:44:52.397Z] The recommended git tool is: git [2022-05-10T06:45:00.059Z] using credential edgex-jenkins-ssh [2022-05-10T06:45:00.155Z] Cloning the remote Git repository [2022-05-10T06:45:00.271Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T06:45:00.484Z] > git init /w/workspace/device-rest-go/37 # timeout=10 [2022-05-10T06:45:00.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T06:45:00.594Z] > git --version # timeout=10 [2022-05-10T06:45:00.614Z] > git --version # 'git version 2.25.1' [2022-05-10T06:45:00.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T06:45:00.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T06:45:02.832Z] Avoid second fetch [2022-05-10T06:45:02.832Z] Checking out Revision ee3075b8714f7f80e63bfc34ce21b756d008dcba (main) [2022-05-10T06:45:02.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T06:45:02.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T06:45:02.858Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T06:45:02.876Z] > git checkout -f ee3075b8714f7f80e63bfc34ce21b756d008dcba # timeout=10 [2022-05-10T06:45:07.135Z] Commit message: "Merge pull request #185 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:45:07.968Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T06:45:07.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T06:45:07.968Z] Dload Upload Total Spent Left Speed [2022-05-10T06:45:07.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 80564 100 11843 100 11843 0 0 78430 0 --:--:-- --:--:-- --:--:-- 78430 [Pipeline] sh [2022-05-10T06:45:08.503Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T06:45:08.857Z] + sudo tee /etc/docker/daemon.new [2022-05-10T06:45:08.858Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T06:45:08.858Z] { [2022-05-10T06:45:08.858Z] "registry-mirrors": [ [2022-05-10T06:45:08.858Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T06:45:08.858Z] ], [2022-05-10T06:45:08.858Z] "bip": "10.250.0.254/24", [2022-05-10T06:45:08.858Z] "hosts": [ [2022-05-10T06:45:08.858Z] "tcp://0.0.0.0:5555", [2022-05-10T06:45:08.858Z] "unix:///var/run/docker.sock" [2022-05-10T06:45:08.858Z] ], [2022-05-10T06:45:08.858Z] "mtu": 1458, [2022-05-10T06:45:08.858Z] "selinux-enabled": true, [2022-05-10T06:45:08.858Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T06:45:08.858Z] } [Pipeline] sh [2022-05-10T06:45:09.216Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T06:45:09.557Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:45:27.901Z] provisioning config files... [2022-05-10T06:45:27.926Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config1954876443947762717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:45:28.347Z] ---> docker-login.sh [2022-05-10T06:45:28.347Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:45:28.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:45:29.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:45:29.260Z] Configure a credential helper to remove this warning. See [2022-05-10T06:45:29.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:45:29.260Z] [2022-05-10T06:45:29.260Z] Login Succeeded [2022-05-10T06:45:29.260Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:45:29.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:45:29.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:45:29.534Z] Configure a credential helper to remove this warning. See [2022-05-10T06:45:29.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:45:29.534Z] [2022-05-10T06:45:29.534Z] Login Succeeded [2022-05-10T06:45:29.534Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:45:30.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:45:30.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:45:30.133Z] Configure a credential helper to remove this warning. See [2022-05-10T06:45:30.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:45:30.133Z] [2022-05-10T06:45:30.133Z] Login Succeeded [2022-05-10T06:45:30.133Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:45:30.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:45:30.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:45:30.733Z] Configure a credential helper to remove this warning. See [2022-05-10T06:45:30.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:45:30.733Z] [2022-05-10T06:45:30.733Z] Login Succeeded [2022-05-10T06:45:30.733Z] docker.io [2022-05-10T06:45:31.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:45:31.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:45:31.599Z] Configure a credential helper to remove this warning. See [2022-05-10T06:45:31.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:45:31.599Z] [2022-05-10T06:45:31.599Z] Login Succeeded [2022-05-10T06:45:31.599Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:45:31.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T06:45:32.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:45:32.039Z] ========================================================= [2022-05-10T06:45:32.039Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T06:45:32.039Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:45:32.387Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T06:45:32.387Z] Sending build context to Docker daemon 128.5kB [2022-05-10T06:45:32.663Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:45:32.663Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T06:45:32.937Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T06:45:32.937Z] 9b3977197b4f: Pulling fs layer [2022-05-10T06:45:32.937Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T06:45:32.937Z] 94645a83ff95: Pulling fs layer [2022-05-10T06:45:32.937Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T06:45:32.937Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T06:45:32.937Z] 3096ccb668a1: Pulling fs layer [2022-05-10T06:45:32.937Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T06:45:32.937Z] a4caa8a26152: Pulling fs layer [2022-05-10T06:45:32.937Z] 3096ccb668a1: Waiting [2022-05-10T06:45:32.937Z] e8cf19c19ddd: Waiting [2022-05-10T06:45:32.937Z] a4caa8a26152: Waiting [2022-05-10T06:45:32.937Z] 3f3a8bcf1eab: Waiting [2022-05-10T06:45:32.937Z] 0c92f367c5e7: Waiting [2022-05-10T06:45:32.937Z] 94645a83ff95: Download complete [2022-05-10T06:45:32.937Z] 1a89e8eeedd5: Download complete [2022-05-10T06:45:32.937Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T06:45:32.937Z] 0c92f367c5e7: Download complete [2022-05-10T06:45:32.937Z] 3096ccb668a1: Verifying Checksum [2022-05-10T06:45:32.937Z] 3096ccb668a1: Download complete [2022-05-10T06:45:32.937Z] 9b3977197b4f: Download complete [2022-05-10T06:45:32.937Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T06:45:32.937Z] e8cf19c19ddd: Download complete [2022-05-10T06:45:33.548Z] 9b3977197b4f: Pull complete [2022-05-10T06:45:34.145Z] 1a89e8eeedd5: Pull complete [2022-05-10T06:45:34.421Z] 94645a83ff95: Pull complete [2022-05-10T06:45:35.019Z] a4caa8a26152: Verifying Checksum [2022-05-10T06:45:35.019Z] a4caa8a26152: Download complete [2022-05-10T06:45:35.612Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T06:45:35.612Z] 3f3a8bcf1eab: Download complete [2022-05-10T06:45:48.025Z] 3f3a8bcf1eab: Pull complete [2022-05-10T06:45:48.025Z] 0c92f367c5e7: Pull complete [2022-05-10T06:45:48.025Z] 3096ccb668a1: Pull complete [2022-05-10T06:45:48.299Z] e8cf19c19ddd: Pull complete [2022-05-10T06:45:55.043Z] a4caa8a26152: Pull complete [2022-05-10T06:45:55.043Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T06:45:55.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T06:45:55.043Z] ---> 725f1c02e7f9 [2022-05-10T06:45:55.043Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T06:45:55.642Z] ---> Running in a8e59e985499 [2022-05-10T06:45:55.919Z] Removing intermediate container a8e59e985499 [2022-05-10T06:45:55.919Z] ---> f4cc9ce570a4 [2022-05-10T06:45:55.919Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:45:55.919Z] ---> Running in 3b415991e470 [2022-05-10T06:45:56.529Z] Removing intermediate container 3b415991e470 [2022-05-10T06:45:56.529Z] ---> 610988db1025 [2022-05-10T06:45:56.529Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:45:56.529Z] ---> Running in e6a88aa53a6e [2022-05-10T06:45:56.805Z] Removing intermediate container e6a88aa53a6e [2022-05-10T06:45:56.805Z] ---> 3e1499cdd4d4 [2022-05-10T06:45:56.805Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:45:56.805Z] ---> Running in d8fba07a8c17 [2022-05-10T06:45:58.808Z] Removing intermediate container d8fba07a8c17 [2022-05-10T06:45:58.808Z] ---> 39fc0755a7bd [2022-05-10T06:45:58.808Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:45:58.808Z] ---> Running in 26a57e59ca93 [2022-05-10T06:45:59.792Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:46:00.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:46:01.376Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T06:46:01.659Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T06:46:01.659Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T06:46:01.939Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T06:46:01.939Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T06:46:01.939Z] OK: 224 MiB in 56 packages [2022-05-10T06:46:03.973Z] Removing intermediate container 26a57e59ca93 [2022-05-10T06:46:03.973Z] ---> 0f3a47679771 [2022-05-10T06:46:03.973Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T06:46:03.973Z] ---> Running in 551fa201b947 [2022-05-10T06:46:04.248Z] Removing intermediate container 551fa201b947 [2022-05-10T06:46:04.248Z] ---> 35493c7c7c65 [2022-05-10T06:46:04.248Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T06:46:04.855Z] ---> 47a4014d498a [2022-05-10T06:46:04.855Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:46:04.855Z] ---> Running in c1e3a0f8a019 [2022-05-10T06:46:51.863Z] Removing intermediate container c1e3a0f8a019 [2022-05-10T06:46:51.863Z] ---> 032f7ad83a4d [2022-05-10T06:46:51.863Z] Step 11/12 : COPY . . [2022-05-10T06:46:51.863Z] ---> d957512ea59c [2022-05-10T06:46:51.863Z] Step 12/12 : RUN $MAKE [2022-05-10T06:46:51.863Z] ---> Running in 6cf2fdaac100 [2022-05-10T06:46:51.863Z] noop [2022-05-10T06:46:51.863Z] Removing intermediate container 6cf2fdaac100 [2022-05-10T06:46:51.863Z] ---> f2dcd0c4e194 [2022-05-10T06:46:51.863Z] Successfully built f2dcd0c4e194 [2022-05-10T06:46:51.863Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:46:52.226Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T06:46:52.226Z] . [Pipeline] withDockerContainer [2022-05-10T06:46:52.466Z] prd-ubuntu20.04-docker-arm64-4c-16g-45067 does not seem to be running inside a container [2022-05-10T06:46:52.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@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 ******** ci-base-image-arm64 cat [2022-05-10T06:46:53.896Z] $ docker top 0906ad6bc500adb2d195ad5680577378b803ddfebfaa6953b19d9723186a7d3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:46:54.840Z] + go version [2022-05-10T06:46:54.840Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T06:46:54.875Z] $ docker stop --time=1 0906ad6bc500adb2d195ad5680577378b803ddfebfaa6953b19d9723186a7d3e [2022-05-10T06:46:56.540Z] $ docker rm -f 0906ad6bc500adb2d195ad5680577378b803ddfebfaa6953b19d9723186a7d3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:46:57.145Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T06:46:57.145Z] . [Pipeline] withDockerContainer [2022-05-10T06:46:57.372Z] prd-ubuntu20.04-docker-arm64-4c-16g-45067 does not seem to be running inside a container [2022-05-10T06:46:57.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@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 ******** ci-base-image-arm64 cat [2022-05-10T06:46:58.776Z] $ docker top d1827f8eb9a2798f1f5841c4ccad7b4cc191f531eeccccdfcbb4dcb1d0879d63 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T06:46:59.691Z] + make test [2022-05-10T06:46:59.691Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T06:47:01.134Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T06:48:22.977Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T06:48:23.573Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-05-10T06:48:23.845Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T06:48:23.845Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T06:48:56.226Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T06:48:56.226Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T06:48:56.226Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T06:48:56.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T06:48:56.276Z] $ docker stop --time=1 d1827f8eb9a2798f1f5841c4ccad7b4cc191f531eeccccdfcbb4dcb1d0879d63 [2022-05-10T06:48:58.111Z] $ docker rm -f d1827f8eb9a2798f1f5841c4ccad7b4cc191f531eeccccdfcbb4dcb1d0879d63 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:48:59.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T06:48:59.133Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T06:48:59.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:49:00.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T06:49:00.397Z] + ls -al . [2022-05-10T06:49:00.397Z] total 168 [2022-05-10T06:49:00.397Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:48 . [2022-05-10T06:49:00.397Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:45 .. [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 06:45 .dockerignore [2022-05-10T06:49:00.397Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:45 .git [2022-05-10T06:49:00.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:45 .github [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:45 .gitignore [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:45 .golangci.yml [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 06:45 Attribution.txt [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 06:45 CHANGELOG.md [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 06:45 Dockerfile [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:45 GOVERNANCE.md [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 06:45 Jenkinsfile [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:45 LICENSE [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 06:45 Makefile [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:45 OWNERS.md [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 06:45 README.md [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:34 VERSION [2022-05-10T06:49:00.397Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:45 bin [2022-05-10T06:49:00.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:45 cmd [2022-05-10T06:49:00.397Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 06:48 coverage.out [2022-05-10T06:49:00.397Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:45 driver [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 06:45 go.mod [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 10 06:45 go.sum [2022-05-10T06:49:00.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:45 snap [2022-05-10T06:49:00.397Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 06:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:49:00.762Z] + 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=ee3075b8714f7f80e63bfc34ce21b756d008dcba --label arch=arm64 --label version=2.2.0-dev.15 . [2022-05-10T06:49:00.762Z] Sending build context to Docker daemon 138.8kB [2022-05-10T06:49:01.039Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:49:01.039Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T06:49:01.039Z] ---> f2dcd0c4e194 [2022-05-10T06:49:01.039Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T06:49:01.319Z] ---> Running in e77350d79f37 [2022-05-10T06:49:01.596Z] Removing intermediate container e77350d79f37 [2022-05-10T06:49:01.596Z] ---> a57183bf82b0 [2022-05-10T06:49:01.596Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:49:01.596Z] ---> Running in 80dd4cc24ec4 [2022-05-10T06:49:01.880Z] Removing intermediate container 80dd4cc24ec4 [2022-05-10T06:49:01.880Z] ---> 67d3d3cd2b47 [2022-05-10T06:49:01.880Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:49:02.159Z] ---> Running in 2e4f593a1ce3 [2022-05-10T06:49:02.442Z] Removing intermediate container 2e4f593a1ce3 [2022-05-10T06:49:02.442Z] ---> 749246e32097 [2022-05-10T06:49:02.442Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:49:02.442Z] ---> Running in 3d6531432134 [2022-05-10T06:49:04.443Z] Removing intermediate container 3d6531432134 [2022-05-10T06:49:04.443Z] ---> b1cdec92dea9 [2022-05-10T06:49:04.443Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:49:04.443Z] ---> Running in 9a8cc5dfd12a [2022-05-10T06:49:05.426Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:49:06.024Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:49:07.009Z] OK: 224 MiB in 56 packages [2022-05-10T06:49:08.006Z] Removing intermediate container 9a8cc5dfd12a [2022-05-10T06:49:08.006Z] ---> 6e493dd5fac6 [2022-05-10T06:49:08.006Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T06:49:08.006Z] ---> Running in 07065be0fedf [2022-05-10T06:49:08.284Z] Removing intermediate container 07065be0fedf [2022-05-10T06:49:08.284Z] ---> 80b703d7577b [2022-05-10T06:49:08.284Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T06:49:08.895Z] ---> 74c426b12e61 [2022-05-10T06:49:08.895Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:49:08.895Z] ---> Running in 1f1039629f81 [2022-05-10T06:49:10.887Z] Removing intermediate container 1f1039629f81 [2022-05-10T06:49:10.887Z] ---> 13d241d72f67 [2022-05-10T06:49:10.887Z] Step 11/25 : COPY . . [2022-05-10T06:49:11.498Z] ---> 7e4f20c33dcd [2022-05-10T06:49:11.498Z] Step 12/25 : RUN $MAKE [2022-05-10T06:49:11.498Z] ---> Running in 7665b7cedce5 [2022-05-10T06:49:12.959Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-10T06:51:19.873Z] Removing intermediate container 7665b7cedce5 [2022-05-10T06:51:19.873Z] ---> f331b5a1929a [2022-05-10T06:51:19.873Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T06:51:19.873Z] 3.14: Pulling from library/alpine [2022-05-10T06:51:19.873Z] 455c02918c45: Pulling fs layer [2022-05-10T06:51:19.873Z] 455c02918c45: Verifying Checksum [2022-05-10T06:51:19.873Z] 455c02918c45: Download complete [2022-05-10T06:51:20.146Z] 455c02918c45: Pull complete [2022-05-10T06:51:20.146Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T06:51:20.146Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T06:51:20.420Z] ---> ac73e934f311 [2022-05-10T06:51:20.420Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T06:51:20.420Z] ---> Running in bcdf8e14b5b4 [2022-05-10T06:51:20.694Z] Removing intermediate container bcdf8e14b5b4 [2022-05-10T06:51:20.694Z] ---> f7a5d9beba68 [2022-05-10T06:51:20.694Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T06:51:20.694Z] ---> Running in 0934568ecdf1 [2022-05-10T06:51:20.971Z] Removing intermediate container 0934568ecdf1 [2022-05-10T06:51:20.971Z] ---> 3408c6ed149e [2022-05-10T06:51:20.971Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T06:51:20.971Z] ---> Running in b778ecefb9bd [2022-05-10T06:51:21.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:51:22.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:51:23.158Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T06:51:23.158Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T06:51:23.158Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T06:51:23.158Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T06:51:23.158Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T06:51:23.158Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T06:51:23.158Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T06:51:23.158Z] OK: 8 MiB in 20 packages [2022-05-10T06:51:24.148Z] Removing intermediate container b778ecefb9bd [2022-05-10T06:51:24.148Z] ---> 161c59090859 [2022-05-10T06:51:24.148Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T06:51:25.584Z] ---> ed13042c5d92 [2022-05-10T06:51:25.584Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T06:51:26.186Z] ---> c1cf99dcd084 [2022-05-10T06:51:26.186Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T06:51:26.465Z] ---> 8ee4dc4bc144 [2022-05-10T06:51:26.466Z] Step 20/25 : EXPOSE 59986 [2022-05-10T06:51:26.740Z] ---> Running in 8a1079b48bee [2022-05-10T06:51:27.015Z] Removing intermediate container 8a1079b48bee [2022-05-10T06:51:27.015Z] ---> 7a0d6c03794d [2022-05-10T06:51:27.015Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T06:51:27.015Z] ---> Running in ce3d5eea2647 [2022-05-10T06:51:27.292Z] Removing intermediate container ce3d5eea2647 [2022-05-10T06:51:27.292Z] ---> 2d3b68ffa1f8 [2022-05-10T06:51:27.292Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T06:51:27.292Z] ---> Running in 8e209f83e742 [2022-05-10T06:51:27.890Z] Removing intermediate container 8e209f83e742 [2022-05-10T06:51:27.890Z] ---> 13e93e7cf40a [2022-05-10T06:51:27.890Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T06:51:27.890Z] ---> Running in 2f079073a492 [2022-05-10T06:51:28.164Z] Removing intermediate container 2f079073a492 [2022-05-10T06:51:28.164Z] ---> 48ef76a5559c [2022-05-10T06:51:28.164Z] Step 24/25 : LABEL git_sha=ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:51:28.164Z] ---> Running in 9283feb4a8c7 [2022-05-10T06:51:28.438Z] Removing intermediate container 9283feb4a8c7 [2022-05-10T06:51:28.438Z] ---> 93aaac30e4c0 [2022-05-10T06:51:28.438Z] Step 25/25 : LABEL version=2.2.0-dev.15 [2022-05-10T06:51:28.438Z] ---> Running in 95b2ac58b7a1 [2022-05-10T06:51:28.713Z] Removing intermediate container 95b2ac58b7a1 [2022-05-10T06:51:28.713Z] ---> a2f2e32661ee [2022-05-10T06:51:28.713Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T06:51:28.713Z] Successfully built a2f2e32661ee [2022-05-10T06:51:28.713Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:51:28.803Z] provisioning config files... [2022-05-10T06:51:28.822Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config6344861445135365919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:51:29.176Z] ---> docker-login.sh [2022-05-10T06:51:29.176Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:51:29.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:51:29.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:51:29.451Z] Configure a credential helper to remove this warning. See [2022-05-10T06:51:29.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:51:29.451Z] [2022-05-10T06:51:29.451Z] Login Succeeded [2022-05-10T06:51:29.451Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:51:30.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:51:30.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:51:30.050Z] Configure a credential helper to remove this warning. See [2022-05-10T06:51:30.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:51:30.050Z] [2022-05-10T06:51:30.050Z] Login Succeeded [2022-05-10T06:51:30.050Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:51:30.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:51:30.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:51:30.603Z] Configure a credential helper to remove this warning. See [2022-05-10T06:51:30.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:51:30.603Z] [2022-05-10T06:51:30.603Z] Login Succeeded [2022-05-10T06:51:30.603Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:51:30.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:51:31.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:51:31.150Z] Configure a credential helper to remove this warning. See [2022-05-10T06:51:31.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:51:31.150Z] [2022-05-10T06:51:31.150Z] Login Succeeded [2022-05-10T06:51:31.150Z] docker.io [2022-05-10T06:51:31.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:51:32.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:51:32.021Z] Configure a credential helper to remove this warning. See [2022-05-10T06:51:32.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:51:32.021Z] [2022-05-10T06:51:32.021Z] Login Succeeded [2022-05-10T06:51:32.021Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:51:32.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T06:51:32.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:51:32.096Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-05-10T06:51:32.096Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:51:32.096Z] latest [2022-05-10T06:51:32.096Z] 2.2.0-dev.15 [2022-05-10T06:51:32.096Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [2022-05-10T06:51:32.096Z] main [2022-05-10T06:51:32.096Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:32.459Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:32.805Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:51:32.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T06:51:32.805Z] e973f7f8202d: Preparing [2022-05-10T06:51:32.805Z] 2664cfee7f06: Preparing [2022-05-10T06:51:32.805Z] 277006897410: Preparing [2022-05-10T06:51:32.805Z] c2c6bc02dd12: Preparing [2022-05-10T06:51:32.805Z] f73e7dbfee58: Preparing [2022-05-10T06:51:32.805Z] f73e7dbfee58: Layer already exists [2022-05-10T06:51:33.091Z] 2664cfee7f06: Pushed [2022-05-10T06:51:33.091Z] e973f7f8202d: Pushed [2022-05-10T06:51:33.689Z] c2c6bc02dd12: Pushed [2022-05-10T06:51:39.088Z] 277006897410: Pushed [2022-05-10T06:51:39.361Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:39.714Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:40.057Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-10T06:51:40.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T06:51:40.057Z] e973f7f8202d: Preparing [2022-05-10T06:51:40.057Z] 2664cfee7f06: Preparing [2022-05-10T06:51:40.057Z] 277006897410: Preparing [2022-05-10T06:51:40.057Z] c2c6bc02dd12: Preparing [2022-05-10T06:51:40.057Z] f73e7dbfee58: Preparing [2022-05-10T06:51:40.057Z] 277006897410: Layer already exists [2022-05-10T06:51:40.057Z] f73e7dbfee58: Layer already exists [2022-05-10T06:51:40.057Z] c2c6bc02dd12: Layer already exists [2022-05-10T06:51:40.057Z] 2664cfee7f06: Layer already exists [2022-05-10T06:51:40.057Z] e973f7f8202d: Layer already exists [2022-05-10T06:51:40.329Z] latest: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:40.679Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:41.024Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.15 [2022-05-10T06:51:41.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T06:51:41.024Z] e973f7f8202d: Preparing [2022-05-10T06:51:41.024Z] 2664cfee7f06: Preparing [2022-05-10T06:51:41.024Z] 277006897410: Preparing [2022-05-10T06:51:41.024Z] c2c6bc02dd12: Preparing [2022-05-10T06:51:41.024Z] f73e7dbfee58: Preparing [2022-05-10T06:51:41.024Z] f73e7dbfee58: Layer already exists [2022-05-10T06:51:41.024Z] 277006897410: Layer already exists [2022-05-10T06:51:41.024Z] e973f7f8202d: Layer already exists [2022-05-10T06:51:41.024Z] c2c6bc02dd12: Layer already exists [2022-05-10T06:51:41.024Z] 2664cfee7f06: Layer already exists [2022-05-10T06:51:41.298Z] 2.2.0-dev.15: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:41.644Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:41.986Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [2022-05-10T06:51:41.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T06:51:41.986Z] e973f7f8202d: Preparing [2022-05-10T06:51:41.986Z] 2664cfee7f06: Preparing [2022-05-10T06:51:41.986Z] 277006897410: Preparing [2022-05-10T06:51:41.986Z] c2c6bc02dd12: Preparing [2022-05-10T06:51:41.986Z] f73e7dbfee58: Preparing [2022-05-10T06:51:41.986Z] 2664cfee7f06: Layer already exists [2022-05-10T06:51:41.986Z] f73e7dbfee58: Layer already exists [2022-05-10T06:51:41.986Z] 277006897410: Layer already exists [2022-05-10T06:51:41.986Z] e973f7f8202d: Layer already exists [2022-05-10T06:51:41.986Z] c2c6bc02dd12: Layer already exists [2022-05-10T06:51:42.259Z] ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:42.607Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:42.949Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-05-10T06:51:42.949Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T06:51:42.949Z] e973f7f8202d: Preparing [2022-05-10T06:51:42.949Z] 2664cfee7f06: Preparing [2022-05-10T06:51:42.949Z] 277006897410: Preparing [2022-05-10T06:51:42.949Z] c2c6bc02dd12: Preparing [2022-05-10T06:51:42.949Z] f73e7dbfee58: Preparing [2022-05-10T06:51:42.949Z] e973f7f8202d: Layer already exists [2022-05-10T06:51:42.949Z] 2664cfee7f06: Layer already exists [2022-05-10T06:51:42.949Z] f73e7dbfee58: Layer already exists [2022-05-10T06:51:42.949Z] 277006897410: Layer already exists [2022-05-10T06:51:42.949Z] c2c6bc02dd12: Layer already exists [2022-05-10T06:51:43.221Z] main: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T06:51:43.271Z] ===================================================== [Pipeline] echo [2022-05-10T06:51:43.279Z] taggedImages: [2022-05-10T06:51:43.279Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba [2022-05-10T06:51:43.279Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-10T06:51:43.279Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.15 [2022-05-10T06:51:43.279Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [2022-05-10T06:51:43.279Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:43.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:51:43.652Z] [2022-05-10T06:51:43.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:51:44.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:51:44.005Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T06:51:44.005Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T06:51:44.005Z] 04944245beec: Pulling fs layer [2022-05-10T06:51:44.005Z] 699f458cf7ca: Pulling fs layer [2022-05-10T06:51:44.005Z] 765212b225bb: Pulling fs layer [2022-05-10T06:51:44.005Z] f23df028b6ca: Pulling fs layer [2022-05-10T06:51:44.005Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T06:51:44.005Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T06:51:44.005Z] 765212b225bb: Waiting [2022-05-10T06:51:44.005Z] f23df028b6ca: Waiting [2022-05-10T06:51:44.005Z] d65c8cfc05b1: Waiting [2022-05-10T06:51:44.005Z] 2437ff75d9bd: Waiting [2022-05-10T06:51:44.282Z] 04944245beec: Verifying Checksum [2022-05-10T06:51:44.282Z] 04944245beec: Download complete [2022-05-10T06:51:44.282Z] 765212b225bb: Verifying Checksum [2022-05-10T06:51:44.282Z] 765212b225bb: Download complete [2022-05-10T06:51:44.282Z] f23df028b6ca: Verifying Checksum [2022-05-10T06:51:44.282Z] f23df028b6ca: Download complete [2022-05-10T06:51:44.282Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T06:51:44.282Z] d65c8cfc05b1: Download complete [2022-05-10T06:51:44.282Z] 699f458cf7ca: Verifying Checksum [2022-05-10T06:51:44.282Z] 699f458cf7ca: Download complete [2022-05-10T06:51:44.886Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T06:51:44.886Z] 8998bd30e6a1: Download complete [2022-05-10T06:51:46.867Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T06:51:46.867Z] 2437ff75d9bd: Download complete [2022-05-10T06:51:48.850Z] 8998bd30e6a1: Pull complete [2022-05-10T06:51:49.445Z] 04944245beec: Pull complete [2022-05-10T06:51:50.887Z] 699f458cf7ca: Pull complete [2022-05-10T06:51:51.161Z] 765212b225bb: Pull complete [2022-05-10T06:51:52.144Z] f23df028b6ca: Pull complete [2022-05-10T06:51:52.144Z] d65c8cfc05b1: Pull complete [2022-05-10T06:52:07.227Z] 2437ff75d9bd: Pull complete [2022-05-10T06:52:07.227Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T06:52:07.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:52:07.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T06:52:07.472Z] prd-ubuntu20.04-docker-arm64-4c-16g-45067 does not seem to be running inside a container [2022-05-10T06:52:07.569Z] $ 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/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@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:arm64 cat [2022-05-10T06:52:10.169Z] $ docker top 612b1ea21e566b9e06c9657e645a68b7fefff28af5355c975e69c73224223032 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:52:11.127Z] ---> job-cost.sh [2022-05-10T06:52:11.127Z] lf-activate-venv: SKIPPING [2022-05-10T06:52:11.127Z] INFO: No Stack... [2022-05-10T06:52:11.727Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T06:52:12.335Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T06:52:13.051Z] + + cat /w/workspace/device-rest-go/37/archives/cost.csvcut [2022-05-10T06:52:13.051Z] -d, -f6 [Pipeline] lock [2022-05-10T06:52:13.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [2022-05-10T06:52:13.097Z] Resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] did not exist. Created. [2022-05-10T06:52:13.097Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T06:52:13.808Z] /w/workspace/device-rest-go/37@tmp/durable-47684d05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T06:52:14.555Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T06:52:14.583Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T06:52:14.622Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T06:52:14.630Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T06:52:14.661Z] $ docker stop --time=1 612b1ea21e566b9e06c9657e645a68b7fefff28af5355c975e69c73224223032 [2022-05-10T06:52:16.135Z] $ docker rm -f 612b1ea21e566b9e06c9657e645a68b7fefff28af5355c975e69c73224223032 [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 [2022-05-10T06:52:16.625Z] provisioning config files... [2022-05-10T06:52:16.634Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6869069465191130296tmp [Pipeline] { [Pipeline] sh [2022-05-10T06:52:16.932Z] + set +x [2022-05-10T06:52:16.932Z] + curl -s https://codecov.io/bash [2022-05-10T06:52:16.932Z] + bash -s -- [2022-05-10T06:52:16.932Z] [2022-05-10T06:52:16.932Z] _____ _ [2022-05-10T06:52:16.932Z] / ____| | | [2022-05-10T06:52:16.932Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T06:52:16.932Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T06:52:16.932Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T06:52:16.932Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T06:52:16.932Z] Bash-1.0.6 [2022-05-10T06:52:16.932Z] [2022-05-10T06:52:16.932Z] [2022-05-10T06:52:16.932Z] ==> git version 2.25.1 found [2022-05-10T06:52:16.932Z] ==> 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 [2022-05-10T06:52:16.932Z] Release-Date: 2020-01-08 [2022-05-10T06:52:16.932Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-10T06:52:16.932Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T06:52:16.932Z] ==> Jenkins CI detected. [2022-05-10T06:52:16.932Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-05-10T06:52:16.932Z] project root: . [2022-05-10T06:52:16.932Z] --> token set from env [2022-05-10T06:52:16.932Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T06:52:16.932Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T06:52:16.932Z] ==> Python coveragepy not found [2022-05-10T06:52:16.932Z] ==> Searching for coverage reports in: [2022-05-10T06:52:16.932Z] + . [2022-05-10T06:52:16.932Z] -> Found 1 reports [2022-05-10T06:52:16.932Z] ==> Detecting git/mercurial file structure [2022-05-10T06:52:16.932Z] ==> Reading reports [2022-05-10T06:52:16.932Z] + ./coverage.out bytes=9355 [2022-05-10T06:52:16.932Z] ==> Appending adjustments [2022-05-10T06:52:16.932Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T06:52:17.193Z] + Found adjustments [2022-05-10T06:52:17.193Z] ==> Gzipping contents [2022-05-10T06:52:17.193Z] 4.0K /tmp/codecov.iS0Edh.gz [2022-05-10T06:52:17.193Z] ==> Uploading reports [2022-05-10T06:52:17.194Z] url: https://codecov.io [2022-05-10T06:52:17.194Z] query: branch=main&commit=ee3075b8714f7f80e63bfc34ce21b756d008dcba&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T06:52:17.194Z] -> Pinging Codecov [2022-05-10T06:52:17.194Z] 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=ee3075b8714f7f80e63bfc34ce21b756d008dcba&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T06:52:17.194Z] -> Uploading to [2022-05-10T06:52:17.194Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/ee3075b8714f7f80e63bfc34ce21b756d008dcba/b46d9b94-a488-452d-a3e1-9a5553d76067.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T065217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05f692fc9baa9d0e39785b3c54bb9e3d8ec4452d6f212107afbe4fb8fb5c9e42 [2022-05-10T06:52:17.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T06:52:17.194Z] Dload Upload Total Spent Left Speed [2022-05-10T06:52:17.454Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8896 --:--:-- --:--:-- --:--:-- 8852 100 1806 0 0 100 1806 0 6893 --:--:-- --:--:-- --:--:-- 6893 [2022-05-10T06:52:17.454Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] } [2022-05-10T06:52:17.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T06:52:17.718Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T06:52:17.726Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:52:18.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T06:52:18.020Z] [2022-05-10T06:52:18.020Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:52:18.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T06:52:18.321Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T06:52:18.321Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T06:52:18.321Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T06:52:18.321Z] de9db76c5a1d: Pulling fs layer [2022-05-10T06:52:18.321Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T06:52:18.321Z] 0d57e429df01: Pulling fs layer [2022-05-10T06:52:18.321Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T06:52:18.321Z] e1f770b5df2f: Pulling fs layer [2022-05-10T06:52:18.321Z] 85a0685a4137: Pulling fs layer [2022-05-10T06:52:18.321Z] 0eba1c9be4d2: Waiting [2022-05-10T06:52:18.321Z] 0d57e429df01: Waiting [2022-05-10T06:52:18.321Z] 4e4be7b47b0d: Waiting [2022-05-10T06:52:18.321Z] e1f770b5df2f: Waiting [2022-05-10T06:52:18.321Z] de9db76c5a1d: Download complete [2022-05-10T06:52:18.321Z] 0ef7d3d256c8: Download complete [2022-05-10T06:52:18.321Z] 0d57e429df01: Verifying Checksum [2022-05-10T06:52:18.321Z] 0d57e429df01: Download complete [2022-05-10T06:52:18.321Z] 4e4be7b47b0d: Verifying Checksum [2022-05-10T06:52:18.321Z] 4e4be7b47b0d: Download complete [2022-05-10T06:52:18.321Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T06:52:18.321Z] 188c0c94c7c5: Download complete [2022-05-10T06:52:18.584Z] 188c0c94c7c5: Pull complete [2022-05-10T06:52:18.584Z] 0ef7d3d256c8: Pull complete [2022-05-10T06:52:18.847Z] de9db76c5a1d: Pull complete [2022-05-10T06:52:18.847Z] e1f770b5df2f: Verifying Checksum [2022-05-10T06:52:18.847Z] e1f770b5df2f: Download complete [2022-05-10T06:52:19.107Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T06:52:19.107Z] 0eba1c9be4d2: Download complete [2022-05-10T06:52:19.366Z] 85a0685a4137: Verifying Checksum [2022-05-10T06:52:19.366Z] 85a0685a4137: Download complete [2022-05-10T06:52:22.675Z] 0eba1c9be4d2: Pull complete [2022-05-10T06:52:22.675Z] 0d57e429df01: Pull complete [2022-05-10T06:52:22.676Z] 4e4be7b47b0d: Pull complete [2022-05-10T06:52:22.935Z] e1f770b5df2f: Pull complete [2022-05-10T06:52:26.227Z] 85a0685a4137: Pull complete [2022-05-10T06:52:26.228Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T06:52:26.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T06:52:26.228Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T06:52:26.293Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:52:26.334Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-10T06:52:28.502Z] $ docker top d4bfc83206d4af8d764d568a27aa5f2f4cd2b77ef72e3775f431d2b51fc827fb -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T06:52:28.594Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T06:52:28.879Z] + set -o pipefail [2022-05-10T06:52:28.879Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T06:52:34.164Z] [2022-05-10T06:52:34.164Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-05-10T06:52:34.164Z] [2022-05-10T06:52:34.164Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/5ced648c-8838-4607-950a-8b49a953c8f2 [2022-05-10T06:52:34.164Z] [2022-05-10T06:52:34.164Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-10T06:52:34.164Z] [2022-05-10T06:52:34.164Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T06:52:34.164Z] [2022-05-10T06:52:34.164Z] [Pipeline] } [2022-05-10T06:52:34.180Z] $ docker stop --time=1 d4bfc83206d4af8d764d568a27aa5f2f4cd2b77ef72e3775f431d2b51fc827fb [2022-05-10T06:52:36.542Z] $ docker rm -f d4bfc83206d4af8d764d568a27aa5f2f4cd2b77ef72e3775f431d2b51fc827fb [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 [2022-05-10T06:52:37.277Z] + git log --format=format:%s -1 ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] sh [2022-05-10T06:52:37.571Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T06:52:37.572Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:52:37.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:52:37.873Z] . [Pipeline] withDockerContainer [2022-05-10T06:52:37.943Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:52:37.982Z] $ 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:latest cat [2022-05-10T06:52:38.450Z] $ docker top 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 -eo pid,comm [2022-05-10T06:52:38.503Z] 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). [2022-05-10T06:52:38.503Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T06:52:38.540Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:52:38.540Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:52:38.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:52:38.672Z] $ docker exec 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 ssh-agent [2022-05-10T06:52:38.785Z] SSH_AUTH_SOCK=/tmp/ssh-v2r4nDy7eFbU/agent.32 [2022-05-10T06:52:38.785Z] SSH_AGENT_PID=39 [2022-05-10T06:52:38.790Z] Running ssh-add (command line suppressed) [2022-05-10T06:52:38.898Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8434740418454903714.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8434740418454903714.key) [2022-05-10T06:52:38.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:52:39.204Z] + git semver tag [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,407 [run_tag] DEBUG tag force:False [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,407 [check_head_tag] DEBUG check head tag [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,408 [execute] INFO git cat-file --batch-check [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,411 [execute] INFO git cat-file --batch [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,424 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,424 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,424 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T06:52:39.465Z] 2022-05-10 06:52:39,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:52:39.465Z] 2.2.0-dev.15 [Pipeline] } [2022-05-10T06:52:39.480Z] $ docker exec --env ******** --env ******** 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 ssh-agent -k [2022-05-10T06:52:39.580Z] unset SSH_AUTH_SOCK; [2022-05-10T06:52:39.580Z] unset SSH_AGENT_PID; [2022-05-10T06:52:39.580Z] echo Agent pid 39 killed; [2022-05-10T06:52:39.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T06:52:39.897Z] + git semver [Pipeline] } [2022-05-10T06:52:40.176Z] $ docker stop --time=1 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 [2022-05-10T06:52:41.538Z] $ docker rm -f 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:52:41.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T06:52:41.926Z] [2022-05-10T06:52:41.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:52:42.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T06:52:42.247Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T06:52:42.247Z] ab5ef0e58194: Pulling fs layer [2022-05-10T06:52:42.247Z] 9712f1f96733: Pulling fs layer [2022-05-10T06:52:42.247Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T06:52:42.247Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T06:52:42.247Z] e9a5061849ea: Pulling fs layer [2022-05-10T06:52:42.247Z] d747dcd14b5f: Pulling fs layer [2022-05-10T06:52:42.247Z] 2de7ff778b66: Pulling fs layer [2022-05-10T06:52:42.247Z] 0d9ebad4ef96: Waiting [2022-05-10T06:52:42.247Z] e9a5061849ea: Waiting [2022-05-10T06:52:42.247Z] 2de7ff778b66: Waiting [2022-05-10T06:52:42.247Z] d747dcd14b5f: Waiting [2022-05-10T06:52:42.247Z] 9712f1f96733: Verifying Checksum [2022-05-10T06:52:42.247Z] 9712f1f96733: Download complete [2022-05-10T06:52:42.507Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T06:52:42.507Z] 63f879dbbcfc: Download complete [2022-05-10T06:52:42.766Z] e9a5061849ea: Verifying Checksum [2022-05-10T06:52:42.766Z] e9a5061849ea: Download complete [2022-05-10T06:52:42.766Z] d747dcd14b5f: Verifying Checksum [2022-05-10T06:52:42.766Z] d747dcd14b5f: Download complete [2022-05-10T06:52:42.766Z] ab5ef0e58194: Verifying Checksum [2022-05-10T06:52:42.766Z] ab5ef0e58194: Download complete [2022-05-10T06:52:42.766Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T06:52:42.766Z] 0d9ebad4ef96: Download complete [2022-05-10T06:52:43.025Z] 2de7ff778b66: Verifying Checksum [2022-05-10T06:52:43.025Z] 2de7ff778b66: Download complete [2022-05-10T06:52:45.563Z] ab5ef0e58194: Pull complete [2022-05-10T06:52:45.563Z] 9712f1f96733: Pull complete [2022-05-10T06:52:46.133Z] 63f879dbbcfc: Pull complete [2022-05-10T06:52:50.329Z] 0d9ebad4ef96: Pull complete [2022-05-10T06:52:50.329Z] e9a5061849ea: Pull complete [2022-05-10T06:52:50.329Z] d747dcd14b5f: Pull complete [2022-05-10T06:52:51.267Z] 2de7ff778b66: Pull complete [2022-05-10T06:52:51.267Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T06:52:51.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T06:52:51.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T06:52:51.333Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:52:51.371Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-10T06:52:54.473Z] $ docker top 643dc28ef088acd799ad777d6c8d8d5a1a29e2516a3e01dde1755f0d6538b896 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:52:54.552Z] provisioning config files... [2022-05-10T06:52:54.560Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6627267756782945185tmp [2022-05-10T06:52:54.571Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4653549779481321501tmp [2022-05-10T06:52:54.581Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6930771017168929445tmp [Pipeline] { [Pipeline] echo [2022-05-10T06:52:54.597Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:52:54.883Z] ---> sigul-configuration.sh [2022-05-10T06:52:54.883Z] gpg: directory `/root/.gnupg' created [2022-05-10T06:52:54.883Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T06:52:54.883Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T06:52:54.883Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T06:52:54.883Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T06:52:54.884Z] gpg: CAST5 encrypted data [2022-05-10T06:52:54.884Z] gpg: encrypted with 1 passphrase [2022-05-10T06:52:54.884Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T06:52:55.174Z] + mkdir /home/jenkins [2022-05-10T06:52:55.174Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T06:52:55.466Z] + 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 [2022-05-10T06:52:55.479Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:52:55.771Z] ---> sigul-install.sh [2022-05-10T06:52:55.771Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T06:52:56.061Z] + git tag --list [2022-05-10T06:52:56.061Z] v1.0.0 [2022-05-10T06:52:56.061Z] v1.1.0 [2022-05-10T06:52:56.061Z] v1.1.1 [2022-05-10T06:52:56.061Z] v1.1.2 [2022-05-10T06:52:56.061Z] v1.2.0 [2022-05-10T06:52:56.061Z] v1.2.1 [2022-05-10T06:52:56.061Z] v2.0.0 [2022-05-10T06:52:56.061Z] v2.0.1-dev.1 [2022-05-10T06:52:56.061Z] v2.0.1-dev.10 [2022-05-10T06:52:56.061Z] v2.0.1-dev.11 [2022-05-10T06:52:56.061Z] v2.0.1-dev.12 [2022-05-10T06:52:56.061Z] v2.0.1-dev.13 [2022-05-10T06:52:56.061Z] v2.0.1-dev.14 [2022-05-10T06:52:56.061Z] v2.0.1-dev.2 [2022-05-10T06:52:56.061Z] v2.0.1-dev.3 [2022-05-10T06:52:56.061Z] v2.0.1-dev.4 [2022-05-10T06:52:56.061Z] v2.0.1-dev.5 [2022-05-10T06:52:56.061Z] v2.0.1-dev.6 [2022-05-10T06:52:56.061Z] v2.0.1-dev.7 [2022-05-10T06:52:56.061Z] v2.0.1-dev.8 [2022-05-10T06:52:56.061Z] v2.0.1-dev.9 [2022-05-10T06:52:56.061Z] v2.1.0 [2022-05-10T06:52:56.061Z] v2.2.0-dev.1 [2022-05-10T06:52:56.061Z] v2.2.0-dev.10 [2022-05-10T06:52:56.061Z] v2.2.0-dev.11 [2022-05-10T06:52:56.061Z] v2.2.0-dev.12 [2022-05-10T06:52:56.061Z] v2.2.0-dev.13 [2022-05-10T06:52:56.061Z] v2.2.0-dev.14 [2022-05-10T06:52:56.061Z] v2.2.0-dev.15 [2022-05-10T06:52:56.061Z] v2.2.0-dev.2 [2022-05-10T06:52:56.061Z] v2.2.0-dev.3 [2022-05-10T06:52:56.061Z] v2.2.0-dev.4 [2022-05-10T06:52:56.061Z] v2.2.0-dev.5 [2022-05-10T06:52:56.061Z] v2.2.0-dev.6 [2022-05-10T06:52:56.061Z] v2.2.0-dev.7 [2022-05-10T06:52:56.061Z] v2.2.0-dev.8 [2022-05-10T06:52:56.061Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T06:52:56.352Z] + lftools sign git-tag v2.2.0-dev.15 [2022-05-10T06:52:56.920Z] Signing Git tag with Sigul... [2022-05-10T06:52:56.920Z] Signing v2.2.0-dev.15 [Pipeline] echo [2022-05-10T06:52:57.190Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:52:57.473Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T06:52:57.480Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T06:52:57.503Z] $ docker stop --time=1 643dc28ef088acd799ad777d6c8d8d5a1a29e2516a3e01dde1755f0d6538b896 [2022-05-10T06:52:59.002Z] $ docker rm -f 643dc28ef088acd799ad777d6c8d8d5a1a29e2516a3e01dde1755f0d6538b896 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T06:52:59.407Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T06:52:59.407Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:52:59.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:52:59.705Z] . [Pipeline] withDockerContainer [2022-05-10T06:52:59.772Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:52:59.812Z] $ 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:latest cat [2022-05-10T06:53:00.171Z] $ docker top 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T06:53:00.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:53:00.265Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:53:00.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:53:00.390Z] $ docker exec 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd ssh-agent [2022-05-10T06:53:00.520Z] SSH_AUTH_SOCK=/tmp/ssh-CZGFwPpLMYqH/agent.33 [2022-05-10T06:53:00.520Z] SSH_AGENT_PID=40 [2022-05-10T06:53:00.525Z] Running ssh-add (command line suppressed) [2022-05-10T06:53:00.661Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8292524678806695805.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8292524678806695805.key) [2022-05-10T06:53:00.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:53:01.040Z] + git semver bump pre [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,233 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,233 [bump_version] DEBUG bumped version:2.2.0-dev.16 [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,233 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,233 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,235 [execute] INFO git cat-file --batch-check [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,241 [execute] INFO git cat-file --batch [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T06:53:01.299Z] 2022-05-10 06:53:01,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:53:01.299Z] 2.2.0-dev.16 [Pipeline] } [2022-05-10T06:53:01.313Z] $ docker exec --env ******** --env ******** 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd ssh-agent -k [2022-05-10T06:53:01.423Z] unset SSH_AUTH_SOCK; [2022-05-10T06:53:01.423Z] unset SSH_AGENT_PID; [2022-05-10T06:53:01.423Z] echo Agent pid 40 killed; [2022-05-10T06:53:01.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T06:53:01.737Z] + git semver [Pipeline] } [2022-05-10T06:53:02.018Z] $ docker stop --time=1 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd [2022-05-10T06:53:03.353Z] $ docker rm -f 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:53:03.702Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T06:53:03.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:53:03.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:53:03.995Z] . [Pipeline] withDockerContainer [2022-05-10T06:53:04.064Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:53:04.105Z] $ 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:latest cat [2022-05-10T06:53:04.457Z] $ docker top 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 -eo pid,comm [2022-05-10T06:53:04.511Z] 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). [2022-05-10T06:53:04.511Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T06:53:04.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:53:04.552Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:53:04.679Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:53:04.686Z] $ docker exec 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 ssh-agent [2022-05-10T06:53:04.792Z] SSH_AUTH_SOCK=/tmp/ssh-tAOqaqigeFpD/agent.34 [2022-05-10T06:53:04.792Z] SSH_AGENT_PID=41 [2022-05-10T06:53:04.798Z] Running ssh-add (command line suppressed) [2022-05-10T06:53:04.905Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4383967078036736568.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4383967078036736568.key) [2022-05-10T06:53:04.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:53:05.206Z] + git semver push [2022-05-10T06:53:05.468Z] 2022-05-10 06:53:05,401 [run_push] DEBUG push [2022-05-10T06:53:05.468Z] 2022-05-10 06:53:05,402 [execute] INFO git push origin semver [2022-05-10T06:53:05.468Z] 2022-05-10 06:53:05,402 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-10T06:53:06.410Z] 2022-05-10 06:53:06,206 [run_push] DEBUG push all version tags [2022-05-10T06:53:06.410Z] 2022-05-10 06:53:06,206 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T06:53:06.410Z] 2022-05-10 06:53:06,207 [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) [2022-05-10T06:53:06.981Z] 2022-05-10 06:53:06,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T06:53:06.981Z] 2.2.0-dev.16 [Pipeline] } [2022-05-10T06:53:07.257Z] $ docker exec --env ******** --env ******** 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 ssh-agent -k [2022-05-10T06:53:07.375Z] unset SSH_AUTH_SOCK; [2022-05-10T06:53:07.375Z] unset SSH_AGENT_PID; [2022-05-10T06:53:07.375Z] echo Agent pid 41 killed; [2022-05-10T06:53:07.382Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T06:53:07.689Z] + git semver [Pipeline] } [2022-05-10T06:53:07.969Z] $ docker stop --time=1 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 [2022-05-10T06:53:09.335Z] $ docker rm -f 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 [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 [2022-05-10T06:53:09.953Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-05-10T06:53:09.953Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-10T06:53:09.953Z] total 16 [2022-05-10T06:53:09.953Z] drwxr-xr-x 3 root root 4096 May 10 06:35 . [2022-05-10T06:53:09.953Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:52 .. [2022-05-10T06:53:09.953Z] drwxr-xr-x 2 root root 4096 May 10 06:35 cost [2022-05-10T06:53:09.953Z] -rw-r--r-- 1 root root 84 May 10 06:35 cost.csv [2022-05-10T06:53:09.953Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-10T06:53:09.953Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-10T06:53:09.953Z] total 16 [2022-05-10T06:53:09.953Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:35 . [2022-05-10T06:53:09.953Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:52 .. [2022-05-10T06:53:09.953Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:35 cost [2022-05-10T06:53:09.953Z] -rw-r--r-- 1 jenkins jenkins 84 May 10 06:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:53:10.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:53:11.110Z] ---> package-listing.sh [2022-05-10T06:53:11.110Z] ++ facter osfamily [2022-05-10T06:53:11.110Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T06:53:11.372Z] + OS_FAMILY=debian [2022-05-10T06:53:11.372Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-05-10T06:53:11.372Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T06:53:11.372Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T06:53:11.372Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T06:53:11.372Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T06:53:11.372Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-10T06:53:11.372Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T06:53:11.372Z] + case "${OS_FAMILY}" in [2022-05-10T06:53:11.372Z] + dpkg -l [2022-05-10T06:53:11.372Z] + grep '^ii' [2022-05-10T06:53:11.372Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T06:53:11.372Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T06:53:11.372Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T06:53:11.372Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-10T06:53:11.372Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-05-10T06:53:11.372Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-05-10T06:53:11.386Z] 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 [2022-05-10T06:53:11.667Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:53:12.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:53:12.228Z] . [Pipeline] withDockerContainer [2022-05-10T06:53:12.302Z] prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container [2022-05-10T06:53:12.343Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T06:53:12.618Z] $ docker top addb228865916363cc3c8cfa4a083568b88f465104f90289c0e5e6ae1d3e3dba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:53:12.974Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T06:53:13.265Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T06:53:13.556Z] + ls /var/log/sa-host [2022-05-10T06:53:13.556Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:53:13.772Z] provisioning config files... [2022-05-10T06:53:13.783Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4589263262082909043tmp [Pipeline] { [Pipeline] echo [2022-05-10T06:53:13.800Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:53:14.083Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T06:53:14.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:53:14.432Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T06:53:14.441Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:53:14.720Z] ---> sudo-logs.sh [2022-05-10T06:53:14.720Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T06:53:14.751Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:53:15.039Z] ---> job-cost.sh [2022-05-10T06:53:15.039Z] lf-activate-venv: SKIPPING [2022-05-10T06:53:15.039Z] DEBUG: total: 0.2199999988079071 [2022-05-10T06:53:15.039Z] INFO: Retrieving Stack Cost... [2022-05-10T06:53:15.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T06:53:15.869Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T06:53:15.882Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:53:16.166Z] ---> logs-deploy.sh [2022-05-10T06:53:16.167Z] lf-activate-venv: SKIPPING [2022-05-10T06:53:16.167Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/37 [2022-05-10T06:53:16.167Z] INFO: archiving workspace using pattern(s): [2022-05-10T06:53:17.106Z] Archives upload complete. [2022-05-10T06:53:17.106Z] INFO: archiving logs to Nexus