Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 280325e4612ce8aecdce91e221aa23a95129edcb 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-ssh12979694589213379537.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh9743056122446474334.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1388765479306107874.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4621302082018905391.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11179521190872972082.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116049 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 280325e4612ce8aecdce91e221aa23a95129edcb (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 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 Commit message: "Merge pull request #221 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.46" > git rev-list --no-walk 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T08:08:32.797Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T08:08:32.855Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T08:08:32.872Z] ========================================================= [2022-10-25T08:08:32.872Z] EdgeX Global Pipelines Version Info [2022-10-25T08:08:32.872Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:08:33.595Z] ------------------- [2022-10-25T08:08:33.595Z] stable info: [2022-10-25T08:08:33.595Z] ------------------- [2022-10-25T08:08:33.595Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T08:08:33.595Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T08:08:33.595Z] Message: update stable to v1.0.243 [2022-10-25T08:08:34.161Z] ------------------- [2022-10-25T08:08:34.161Z] experimental info: [2022-10-25T08:08:34.161Z] ------------------- [2022-10-25T08:08:34.161Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T08:08:34.161Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T08:08:34.161Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T08:08:34.351Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T08:08:34.360Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T08:08:34.368Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T08:08:34.385Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T08:08:34.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T08:08:34.409Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T08:08:34.420Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T08:08:34.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T08:08:34.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T08:08:34.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T08:08:34.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T08:08:34.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T08:08:34.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T08:08:34.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T08:08:34.529Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T08:08:34.542Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T08:08:34.551Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T08:08:34.562Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T08:08:34.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T08:08:34.582Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T08:08:34.592Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T08:08:34.606Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T08:08:34.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T08:08:34.636Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T08:08:34.644Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T08:08:34.653Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T08:08:34.661Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T08:08:34.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-25T08:08:34.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-25T08:08:34.701Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-25T08:08:34.712Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo [2022-10-25T08:08:34.725Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 280325e [Pipeline] echo [2022-10-25T08:08:34.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:08:34.774Z] provisioning config files... [2022-10-25T08:08:34.787Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17070933150576704644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:08:35.092Z] ---> docker-login.sh [2022-10-25T08:08:35.092Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:08:35.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:35.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:35.612Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:35.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:35.612Z] [2022-10-25T08:08:35.612Z] Login Succeeded [2022-10-25T08:08:35.612Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:08:35.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:35.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:35.612Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:35.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:35.612Z] [2022-10-25T08:08:35.612Z] Login Succeeded [2022-10-25T08:08:35.612Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:08:35.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:35.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:35.872Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:35.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:35.872Z] [2022-10-25T08:08:35.872Z] Login Succeeded [2022-10-25T08:08:35.872Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:08:35.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:35.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:35.872Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:35.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:35.872Z] [2022-10-25T08:08:35.872Z] Login Succeeded [2022-10-25T08:08:35.872Z] docker.io [2022-10-25T08:08:35.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:36.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:36.442Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:36.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:36.442Z] [2022-10-25T08:08:36.442Z] Login Succeeded [2022-10-25T08:08:36.442Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:08:36.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T08:08:36.827Z] + git rev-list -1 --merges 280325e4612ce8aecdce91e221aa23a95129edcb~1..280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo [2022-10-25T08:08:36.858Z] -----------> git rev-list -1 --merges 280325e4612ce8aecdce91e221aa23a95129edcb~1..280325e4612ce8aecdce91e221aa23a95129edcb 280325e4612ce8aecdce91e221aa23a95129edcb [2022-10-25T08:08:36.858Z] 280325e4612ce8aecdce91e221aa23a95129edcb [false] [Pipeline] sh [2022-10-25T08:08:37.175Z] + git log --format=format:%s -1 280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo [2022-10-25T08:08:37.190Z] ========================================================= [2022-10-25T08:08:37.190Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T08:08:37.190Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T08:08:37.528Z] + git log --format=format:%s -1 280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo [2022-10-25T08:08:37.537Z] [semverPrep] GIT_COMMIT: 280325e4612ce8aecdce91e221aa23a95129edcb, Commit Message: Merge pull request #221 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.46 [Pipeline] echo [2022-10-25T08:08:37.547Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T08:08:37.953Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T08:08:37.953Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T08:08:37.953Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T08:08:37.953Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T08:08:37.953Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T08:08:37.953Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T08:08:37.953Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:08:38.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:08:38.314Z] [2022-10-25T08:08:38.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:08:38.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:08:38.612Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T08:08:38.612Z] b85a868b505f: Pulling fs layer [2022-10-25T08:08:38.612Z] e2be974225ed: Pulling fs layer [2022-10-25T08:08:38.612Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T08:08:38.612Z] 988bab9f4d93: Pulling fs layer [2022-10-25T08:08:38.612Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T08:08:38.612Z] eaf3925da568: Pulling fs layer [2022-10-25T08:08:38.612Z] bab4dde63d76: Pulling fs layer [2022-10-25T08:08:38.612Z] bde34c3a00c8: Pulling fs layer [2022-10-25T08:08:38.612Z] b352a97aabf1: Pulling fs layer [2022-10-25T08:08:38.612Z] 4872d77fe225: Pulling fs layer [2022-10-25T08:08:38.612Z] 5851b861e8e6: Pulling fs layer [2022-10-25T08:08:38.612Z] 988bab9f4d93: Waiting [2022-10-25T08:08:38.612Z] 1469e6f7b9e6: Waiting [2022-10-25T08:08:38.612Z] eaf3925da568: Waiting [2022-10-25T08:08:38.612Z] bab4dde63d76: Waiting [2022-10-25T08:08:38.612Z] bde34c3a00c8: Waiting [2022-10-25T08:08:38.612Z] b352a97aabf1: Waiting [2022-10-25T08:08:38.612Z] 4872d77fe225: Waiting [2022-10-25T08:08:38.612Z] 5851b861e8e6: Waiting [2022-10-25T08:08:38.612Z] e2be974225ed: Download complete [2022-10-25T08:08:38.612Z] 988bab9f4d93: Verifying Checksum [2022-10-25T08:08:38.612Z] 988bab9f4d93: Download complete [2022-10-25T08:08:38.872Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T08:08:38.872Z] 1469e6f7b9e6: Download complete [2022-10-25T08:08:38.872Z] eaf3925da568: Download complete [2022-10-25T08:08:38.872Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T08:08:38.872Z] 339a4e72a1f5: Download complete [2022-10-25T08:08:38.872Z] bde34c3a00c8: Verifying Checksum [2022-10-25T08:08:38.872Z] bde34c3a00c8: Download complete [2022-10-25T08:08:38.872Z] b352a97aabf1: Verifying Checksum [2022-10-25T08:08:38.872Z] b352a97aabf1: Download complete [2022-10-25T08:08:38.872Z] 4872d77fe225: Verifying Checksum [2022-10-25T08:08:38.872Z] 4872d77fe225: Download complete [2022-10-25T08:08:38.872Z] 5851b861e8e6: Download complete [2022-10-25T08:08:38.872Z] b85a868b505f: Download complete [2022-10-25T08:08:39.441Z] bab4dde63d76: Verifying Checksum [2022-10-25T08:08:39.441Z] bab4dde63d76: Download complete [2022-10-25T08:08:40.378Z] b85a868b505f: Pull complete [2022-10-25T08:08:40.378Z] e2be974225ed: Pull complete [2022-10-25T08:08:40.945Z] 339a4e72a1f5: Pull complete [2022-10-25T08:08:40.946Z] 988bab9f4d93: Pull complete [2022-10-25T08:08:41.204Z] 1469e6f7b9e6: Pull complete [2022-10-25T08:08:41.467Z] eaf3925da568: Pull complete [2022-10-25T08:08:43.370Z] bab4dde63d76: Pull complete [2022-10-25T08:08:43.370Z] bde34c3a00c8: Pull complete [2022-10-25T08:08:43.629Z] b352a97aabf1: Pull complete [2022-10-25T08:08:43.629Z] 4872d77fe225: Pull complete [2022-10-25T08:08:43.629Z] 5851b861e8e6: Pull complete [2022-10-25T08:08:43.629Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T08:08:43.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:08:43.629Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:08:43.710Z] prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container [2022-10-25T08:08:43.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T08:08:46.408Z] $ docker top d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f -eo pid,comm [2022-10-25T08:08:46.461Z] 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-10-25T08:08:46.461Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T08:08:46.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T08:08:46.491Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T08:08:46.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T08:08:46.608Z] $ docker exec d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent [2022-10-25T08:08:46.722Z] SSH_AUTH_SOCK=/tmp/ssh-fdEN1yyMxmu4/agent.32 [2022-10-25T08:08:46.722Z] SSH_AGENT_PID=38 [2022-10-25T08:08:46.729Z] Running ssh-add (command line suppressed) [2022-10-25T08:08:46.853Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17176503112365944150.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17176503112365944150.key) [2022-10-25T08:08:46.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T08:08:47.153Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T08:08:47.170Z] $ docker exec --env ******** --env ******** d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent -k [2022-10-25T08:08:47.280Z] unset SSH_AUTH_SOCK; [2022-10-25T08:08:47.281Z] unset SSH_AGENT_PID; [2022-10-25T08:08:47.281Z] echo Agent pid 38 killed; [2022-10-25T08:08:47.288Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T08:08:47.310Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T08:08:47.310Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T08:08:47.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T08:08:47.444Z] $ docker exec d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent [2022-10-25T08:08:47.575Z] SSH_AUTH_SOCK=/tmp/ssh-k1nuoWE7mHVG/agent.69 [2022-10-25T08:08:47.575Z] SSH_AGENT_PID=75 [2022-10-25T08:08:47.579Z] Running ssh-add (command line suppressed) [2022-10-25T08:08:47.706Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10654077259391631391.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10654077259391631391.key) [2022-10-25T08:08:47.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T08:08:48.005Z] + git semver init [2022-10-25T08:08:48.265Z] 2022-10-25 08:08:48,263 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T08:08:48.265Z] 2022-10-25 08:08:48,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-25T08:08:48.265Z] 2022-10-25 08:08:48,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-25T08:08:48.265Z] 2022-10-25 08:08:48,265 [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-10-25T08:08:50.168Z] 2022-10-25 08:08:49,775 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-10-25T08:08:50.168Z] 2022-10-25 08:08:49,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-10-25T08:08:50.168Z] 2022-10-25 08:08:49,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T08:08:50.168Z] 2022-10-25 08:08:49,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T08:08:50.168Z] 2.3.0-dev.21 [Pipeline] } [2022-10-25T08:08:50.179Z] $ docker exec --env ******** --env ******** d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent -k [2022-10-25T08:08:50.282Z] unset SSH_AUTH_SOCK; [2022-10-25T08:08:50.282Z] unset SSH_AGENT_PID; [2022-10-25T08:08:50.282Z] echo Agent pid 75 killed; [2022-10-25T08:08:50.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T08:08:50.589Z] + git semver [Pipeline] } [2022-10-25T08:08:51.168Z] $ docker stop --time=1 d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f [2022-10-25T08:08:52.506Z] $ docker rm -f d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:08:52.840Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T08:08:53.014Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T08:08:53.016Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:08:53.171Z] provisioning config files... [2022-10-25T08:08:53.179Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4790297976947997599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:08:53.479Z] ---> docker-login.sh [2022-10-25T08:08:53.480Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:08:53.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:53.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:53.480Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:53.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:53.480Z] [2022-10-25T08:08:53.480Z] Login Succeeded [2022-10-25T08:08:53.480Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:08:53.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:53.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:53.480Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:53.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:53.480Z] [2022-10-25T08:08:53.480Z] Login Succeeded [2022-10-25T08:08:53.480Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:08:53.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:53.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:53.739Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:53.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:53.739Z] [2022-10-25T08:08:53.739Z] Login Succeeded [2022-10-25T08:08:53.739Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:08:53.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:53.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:53.739Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:53.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:53.739Z] [2022-10-25T08:08:53.739Z] Login Succeeded [2022-10-25T08:08:53.739Z] docker.io [2022-10-25T08:08:54.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:08:54.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:08:54.283Z] Configure a credential helper to remove this warning. See [2022-10-25T08:08:54.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:08:54.283Z] [2022-10-25T08:08:54.283Z] Login Succeeded [2022-10-25T08:08:54.283Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:08:54.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T08:08:54.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:08:54.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:08:54.370Z] ========================================================= [2022-10-25T08:08:54.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T08:08:54.370Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:08:54.696Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T08:08:54.696Z] Sending build context to Docker daemon 10.74MB [2022-10-25T08:08:54.696Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:08:54.696Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T08:08:54.696Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T08:08:54.696Z] 213ec9aee27d: Pulling fs layer [2022-10-25T08:08:54.696Z] 4583459ba037: Pulling fs layer [2022-10-25T08:08:54.696Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T08:08:54.696Z] 53926ce57604: Pulling fs layer [2022-10-25T08:08:54.696Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T08:08:54.696Z] 30f14e443154: Pulling fs layer [2022-10-25T08:08:54.696Z] 801331c1e519: Pulling fs layer [2022-10-25T08:08:54.696Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T08:08:54.696Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T08:08:54.696Z] 21b2b0c7a3f4: Waiting [2022-10-25T08:08:54.696Z] 30f14e443154: Waiting [2022-10-25T08:08:54.696Z] 801331c1e519: Waiting [2022-10-25T08:08:54.696Z] 99cc6dd402b0: Waiting [2022-10-25T08:08:54.696Z] 7d9ed39f4882: Waiting [2022-10-25T08:08:54.696Z] 53926ce57604: Waiting [2022-10-25T08:08:54.957Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T08:08:54.957Z] 93c1e223e6f2: Download complete [2022-10-25T08:08:54.957Z] 4583459ba037: Verifying Checksum [2022-10-25T08:08:54.957Z] 4583459ba037: Download complete [2022-10-25T08:08:54.957Z] 30f14e443154: Verifying Checksum [2022-10-25T08:08:54.957Z] 30f14e443154: Download complete [2022-10-25T08:08:54.957Z] 213ec9aee27d: Verifying Checksum [2022-10-25T08:08:54.957Z] 213ec9aee27d: Download complete [2022-10-25T08:08:54.957Z] 801331c1e519: Verifying Checksum [2022-10-25T08:08:54.957Z] 801331c1e519: Download complete [2022-10-25T08:08:54.957Z] 213ec9aee27d: Pull complete [2022-10-25T08:08:55.225Z] 4583459ba037: Pull complete [2022-10-25T08:08:55.225Z] 93c1e223e6f2: Pull complete [2022-10-25T08:08:55.496Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T08:08:55.496Z] 7d9ed39f4882: Download complete [2022-10-25T08:08:55.756Z] 53926ce57604: Verifying Checksum [2022-10-25T08:08:55.756Z] 53926ce57604: Download complete [2022-10-25T08:08:55.756Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T08:08:55.756Z] 99cc6dd402b0: Download complete [2022-10-25T08:08:59.949Z] 53926ce57604: Pull complete [2022-10-25T08:08:59.949Z] 21b2b0c7a3f4: Pull complete [2022-10-25T08:09:00.206Z] 30f14e443154: Pull complete [2022-10-25T08:09:00.206Z] 801331c1e519: Pull complete [2022-10-25T08:09:02.757Z] 99cc6dd402b0: Pull complete [2022-10-25T08:09:03.016Z] 7d9ed39f4882: Pull complete [2022-10-25T08:09:03.016Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T08:09:03.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T08:09:03.274Z] ---> 1dedd983c030 [2022-10-25T08:09:03.274Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:09:08.123Z] Still waiting to schedule task [2022-10-25T08:09:08.124Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-25T08:09:08.560Z] ---> Running in 2519e68686bd [2022-10-25T08:09:08.560Z] Removing intermediate container 2519e68686bd [2022-10-25T08:09:08.560Z] ---> b25a8ef57327 [2022-10-25T08:09:08.560Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:09:08.560Z] ---> Running in 72fdafa1d6ff [2022-10-25T08:09:08.560Z] Removing intermediate container 72fdafa1d6ff [2022-10-25T08:09:08.560Z] ---> 190e594ee5ff [2022-10-25T08:09:08.560Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T08:09:08.560Z] ---> Running in 5f0fddd3080c [2022-10-25T08:09:08.560Z] Removing intermediate container 5f0fddd3080c [2022-10-25T08:09:08.560Z] ---> 3794e2cce1fb [2022-10-25T08:09:08.560Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T08:09:08.560Z] ---> Running in 50ff84ba9dba [2022-10-25T08:09:08.560Z] Removing intermediate container 50ff84ba9dba [2022-10-25T08:09:08.560Z] ---> 4fb99042ef59 [2022-10-25T08:09:08.560Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:09:08.560Z] ---> Running in 44aa66f4d4d6 [2022-10-25T08:09:09.128Z] Removing intermediate container 44aa66f4d4d6 [2022-10-25T08:09:09.128Z] ---> 517ac7f217f4 [2022-10-25T08:09:09.128Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T08:09:09.128Z] ---> Running in ec142900dcc7 [2022-10-25T08:09:09.128Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T08:09:10.061Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T08:09:10.318Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T08:09:10.576Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T08:09:10.576Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T08:09:10.835Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T08:09:10.835Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T08:09:10.835Z] OK: 216 MiB in 55 packages [2022-10-25T08:09:12.737Z] Removing intermediate container ec142900dcc7 [2022-10-25T08:09:12.737Z] ---> 386a44bf422c [2022-10-25T08:09:12.737Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T08:09:12.738Z] ---> Running in 7c6472492912 [2022-10-25T08:09:13.305Z] Removing intermediate container 7c6472492912 [2022-10-25T08:09:13.305Z] ---> c69a322f498d [2022-10-25T08:09:13.305Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T08:09:13.563Z] ---> e8da9962d616 [2022-10-25T08:09:13.563Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:09:14.142Z] ---> Running in 846634c1c71e [2022-10-25T08:09:52.994Z] Removing intermediate container 846634c1c71e [2022-10-25T08:09:52.994Z] ---> 53e2a99be3dd [2022-10-25T08:09:52.994Z] Step 12/13 : COPY . . [2022-10-25T08:09:52.994Z] ---> 542748b6fe87 [2022-10-25T08:09:52.994Z] Step 13/13 : RUN $MAKE [2022-10-25T08:09:52.994Z] ---> Running in f9a68eb6238a [2022-10-25T08:09:52.994Z] noop [2022-10-25T08:09:52.994Z] Removing intermediate container f9a68eb6238a [2022-10-25T08:09:52.994Z] ---> 7574dc5059c1 [2022-10-25T08:09:52.994Z] Successfully built 7574dc5059c1 [2022-10-25T08:09:52.994Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:09:53.324Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T08:09:53.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:09:53.397Z] prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container [2022-10-25T08:09:53.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T08:09:53.744Z] $ docker top 80b6b2a7bb0e608a72eaa60695ba255edeaf1480f027a05c45fcfb3b35bf2797 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:09:54.088Z] + go version [2022-10-25T08:09:54.088Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T08:09:54.098Z] $ docker stop --time=1 80b6b2a7bb0e608a72eaa60695ba255edeaf1480f027a05c45fcfb3b35bf2797 [2022-10-25T08:09:55.696Z] $ docker rm -f 80b6b2a7bb0e608a72eaa60695ba255edeaf1480f027a05c45fcfb3b35bf2797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:09:56.148Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T08:09:56.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:09:56.204Z] prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container [2022-10-25T08:09:56.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T08:09:57.179Z] $ docker top 3ae5b2af0757c1c1757d41070987ebb0c02c99142bd28ead7de01a316e280dda -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:09:57.515Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-25T08:09:57.820Z] + make test [2022-10-25T08:09:57.820Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T08:09:58.077Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T08:10:08.071Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T08:10:08.330Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-10-25T08:10:14.893Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T08:10:14.893Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T08:10:18.178Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T08:10:18.178Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T08:10:18.178Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T08:10:18.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T08:10:18.201Z] $ docker stop --time=1 3ae5b2af0757c1c1757d41070987ebb0c02c99142bd28ead7de01a316e280dda [2022-10-25T08:10:21.160Z] $ docker rm -f 3ae5b2af0757c1c1757d41070987ebb0c02c99142bd28ead7de01a316e280dda [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:10:21.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T08:10:21.672Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T08:10:22.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T08:10:22.587Z] + ls -al . [2022-10-25T08:10:22.587Z] total 184 [2022-10-25T08:10:22.587Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 08:09 . [2022-10-25T08:10:22.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:08 .. [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 08:08 .dockerignore [2022-10-25T08:10:22.587Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:10 .git [2022-10-25T08:10:22.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:08 .github [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 08:08 .gitignore [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 08:08 .golangci.yml [2022-10-25T08:10:22.587Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:08 .semver [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 08:08 Attribution.txt [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 08:08 CHANGELOG.md [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 08:08 Dockerfile [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:08 GOVERNANCE.md [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 08:08 Jenkinsfile [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 08:08 LICENSE [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 08:08 Makefile [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 08:08 OWNERS.md [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 08:08 README.md [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 08:08 VERSION [2022-10-25T08:10:22.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:08 bin [2022-10-25T08:10:22.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:08 cmd [2022-10-25T08:10:22.587Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 08:10 coverage.out [2022-10-25T08:10:22.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:08 driver [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 08:08 go.mod [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 08:08 go.sum [2022-10-25T08:10:22.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:08 snap [2022-10-25T08:10:22.587Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 08:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:10:22.978Z] + 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=280325e4612ce8aecdce91e221aa23a95129edcb --label arch=amd64 --label version=2.3.0-dev.21 . [2022-10-25T08:10:22.978Z] Sending build context to Docker daemon 10.75MB [2022-10-25T08:10:22.978Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:10:22.978Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T08:10:22.978Z] ---> 7574dc5059c1 [2022-10-25T08:10:22.978Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:10:23.237Z] ---> Running in a55684278704 [2022-10-25T08:10:23.237Z] Removing intermediate container a55684278704 [2022-10-25T08:10:23.237Z] ---> 248fccc0c835 [2022-10-25T08:10:23.237Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:10:23.237Z] ---> Running in 3ee70e92a270 [2022-10-25T08:10:23.525Z] Removing intermediate container 3ee70e92a270 [2022-10-25T08:10:23.525Z] ---> 62460c24179f [2022-10-25T08:10:23.525Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T08:10:23.525Z] ---> Running in a95ec03953e3 [2022-10-25T08:10:23.525Z] Removing intermediate container a95ec03953e3 [2022-10-25T08:10:23.525Z] ---> 9969e48cad85 [2022-10-25T08:10:23.525Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T08:10:23.525Z] ---> Running in c8c766cf55c5 [2022-10-25T08:10:23.525Z] Removing intermediate container c8c766cf55c5 [2022-10-25T08:10:23.525Z] ---> d8c300d88ecc [2022-10-25T08:10:23.525Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:10:23.525Z] ---> Running in 7cd4c2a0dc1d Aborted by Eric Ball [2022-10-25T08:10:23.687Z] Sending interrupt signal to process [2022-10-25T08:10:23.813Z] Terminated [Pipeline] // node [Pipeline] } [2022-10-25T08:10:23.843Z] script returned exit code 143 [Pipeline] // stage [Pipeline] } [2022-10-25T08:10:23.850Z] Failed in branch arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:10:24.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:10:24.276Z] [2022-10-25T08:10:24.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:10:24.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:10:24.857Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T08:10:24.857Z] 5eb5b503b376: Pulling fs layer [2022-10-25T08:10:24.857Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T08:10:24.857Z] ec43610c2a17: Pulling fs layer [2022-10-25T08:10:24.857Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T08:10:24.857Z] 33b1e0a273af: Pulling fs layer [2022-10-25T08:10:24.857Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T08:10:24.857Z] 2f39f015ded8: Pulling fs layer [2022-10-25T08:10:24.857Z] 3a2ae6a8a46f: Waiting [2022-10-25T08:10:24.857Z] 33b1e0a273af: Waiting [2022-10-25T08:10:24.857Z] 2f39f015ded8: Waiting [2022-10-25T08:10:24.857Z] 5d3b04190fa2: Waiting [2022-10-25T08:10:24.857Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T08:10:24.857Z] 5c69ac0246d0: Download complete [2022-10-25T08:10:24.857Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T08:10:24.857Z] 3a2ae6a8a46f: Download complete [2022-10-25T08:10:24.857Z] 33b1e0a273af: Verifying Checksum [2022-10-25T08:10:24.857Z] 33b1e0a273af: Download complete [2022-10-25T08:10:24.857Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T08:10:24.857Z] 5d3b04190fa2: Download complete [2022-10-25T08:10:24.857Z] ec43610c2a17: Verifying Checksum [2022-10-25T08:10:24.857Z] ec43610c2a17: Download complete [2022-10-25T08:10:25.115Z] 5eb5b503b376: Verifying Checksum [2022-10-25T08:10:25.115Z] 5eb5b503b376: Download complete [2022-10-25T08:10:25.699Z] 2f39f015ded8: Verifying Checksum [2022-10-25T08:10:25.699Z] 2f39f015ded8: Download complete [2022-10-25T08:10:26.312Z] 5eb5b503b376: Pull complete [2022-10-25T08:10:26.571Z] 5c69ac0246d0: Pull complete [2022-10-25T08:10:27.139Z] ec43610c2a17: Pull complete [2022-10-25T08:10:27.139Z] 3a2ae6a8a46f: Pull complete [2022-10-25T08:10:27.402Z] 33b1e0a273af: Pull complete [2022-10-25T08:10:27.402Z] 5d3b04190fa2: Pull complete [2022-10-25T08:10:31.651Z] 2f39f015ded8: Pull complete [2022-10-25T08:10:31.651Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T08:10:31.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:10:31.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:10:31.745Z] prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container [2022-10-25T08:10:31.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T08:10:37.038Z] $ docker top 87989bd3cf507726d21118091867f679e648882781bae330a1dd7f0d21b6a6d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:37.402Z] ---> job-cost.sh [2022-10-25T08:10:37.402Z] lf-activate-venv: SKIPPING [2022-10-25T08:10:37.402Z] INFO: No Stack... [2022-10-25T08:10:37.660Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T08:10:38.227Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T08:10:38.523Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-10-25T08:10:38.523Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T08:10:38.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] [2022-10-25T08:10:38.542Z] Resource [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] did not exist. Created. [2022-10-25T08:10:38.542Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh Click here to forcibly terminate running steps [2022-10-25T08:10:38.850Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T08:10:38.869Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T08:10:38.873Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T08:10:38.893Z] $ docker stop --time=1 87989bd3cf507726d21118091867f679e648882781bae330a1dd7f0d21b6a6d5 [2022-10-25T08:10:40.038Z] $ docker rm -f 87989bd3cf507726d21118091867f679e648882781bae330a1dd7f0d21b6a6d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T08:10:40.142Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-10-25T08:10:40.768Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-10-25T08:10:40.768Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-25T08:10:40.768Z] total 16 [2022-10-25T08:10:40.768Z] drwxr-xr-x 3 root root 4096 Oct 25 08:10 . [2022-10-25T08:10:40.768Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:10 .. [2022-10-25T08:10:40.768Z] drwxr-xr-x 2 root root 4096 Oct 25 08:10 cost [2022-10-25T08:10:40.768Z] -rw-r--r-- 1 root root 85 Oct 25 08:10 cost.csv [2022-10-25T08:10:40.768Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-25T08:10:40.768Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-25T08:10:40.768Z] total 16 [2022-10-25T08:10:40.768Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:10 . [2022-10-25T08:10:40.768Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:10 .. [2022-10-25T08:10:40.768Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 08:10 cost [2022-10-25T08:10:40.768Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 25 08:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:41.091Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:41.963Z] ---> package-listing.sh [2022-10-25T08:10:41.963Z] ++ facter osfamily [2022-10-25T08:10:41.963Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T08:10:42.221Z] + OS_FAMILY=debian [2022-10-25T08:10:42.221Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-10-25T08:10:42.221Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T08:10:42.221Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T08:10:42.221Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T08:10:42.221Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T08:10:42.221Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-25T08:10:42.221Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T08:10:42.221Z] + case "${OS_FAMILY}" in [2022-10-25T08:10:42.221Z] + dpkg -l [2022-10-25T08:10:42.221Z] + grep '^ii' [2022-10-25T08:10:42.221Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T08:10:42.221Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T08:10:42.221Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T08:10:42.221Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-25T08:10:42.221Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-10-25T08:10:42.221Z] + 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-10-25T08:10:42.230Z] 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-10-25T08:10:42.519Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:10:43.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:10:43.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:10:43.147Z] prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container [2022-10-25T08:10:43.185Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T08:10:44.042Z] $ docker top cccfc755be94b3d749d4bf2db9495ff69bd174d32528bd75fdf5429db795d9bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:10:44.377Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T08:10:44.690Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T08:10:44.984Z] + ls /var/log/sa-host [2022-10-25T08:10:44.984Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:10:45.046Z] provisioning config files... [2022-10-25T08:10:45.053Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3731048440927220952tmp [Pipeline] { [Pipeline] echo [2022-10-25T08:10:45.062Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:45.352Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T08:10:45.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:45.697Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T08:10:45.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:46.072Z] ---> sudo-logs.sh [2022-10-25T08:10:46.072Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T08:10:46.098Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:46.381Z] ---> job-cost.sh [2022-10-25T08:10:46.381Z] lf-activate-venv: SKIPPING [2022-10-25T08:10:46.381Z] DEBUG: total: 0.2199999988079071 [2022-10-25T08:10:46.381Z] INFO: Retrieving Stack Cost... [2022-10-25T08:10:46.381Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T08:10:46.948Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T08:10:46.958Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:47.239Z] ---> logs-deploy.sh [2022-10-25T08:10:47.239Z] lf-activate-venv: SKIPPING [2022-10-25T08:10:47.239Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/65 [2022-10-25T08:10:47.239Z] INFO: archiving workspace using pattern(s): [2022-10-25T08:10:48.181Z] Archives upload complete. [2022-10-25T08:10:48.181Z] INFO: archiving logs to Nexus