Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 811e52826d6202cae27d826a4f6ae05b050034a3 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-ssh495894955256371357.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-ssh3227095098929897368.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-ssh6129098550576294013.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-ssh13263686495949573341.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-ssh7767905310840117516.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 Running on prd-ubuntu20.04-docker-8c-8g-117271 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 811e52826d6202cae27d826a4f6ae05b050034a3 (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 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 Commit message: "Merge pull request #224 from ejlee3/go-mods-config-docker" > git rev-list --no-walk 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:02:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:02:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:02:02 ========================================================= 20:02:02 EdgeX Global Pipelines Version Info 20:02:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:02:03 ------------------- 20:02:03 stable info: 20:02:03 ------------------- 20:02:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:02:03 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:02:03 Message: update stable to v1.0.243 20:02:03 ------------------- 20:02:03 experimental info: 20:02:03 ------------------- 20:02:03 Commited By: **** collab-it+edgex@linuxfoundation.org 20:02:03 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:02:03 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 811e528 [Pipeline] echo 20:02:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:04 provisioning config files... 20:02:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5197014538438652420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:04 ---> docker-login.sh 20:02:04 nexus3.edgexfoundry.org:10001 20:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:05 Configure a credential helper to remove this warning. See 20:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:05 20:02:05 Login Succeeded 20:02:05 nexus3.edgexfoundry.org:10002 20:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:05 Configure a credential helper to remove this warning. See 20:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:05 20:02:05 Login Succeeded 20:02:05 nexus3.edgexfoundry.org:10003 20:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:05 Configure a credential helper to remove this warning. See 20:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:05 20:02:05 Login Succeeded 20:02:05 nexus3.edgexfoundry.org:10004 20:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:05 Configure a credential helper to remove this warning. See 20:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:05 20:02:05 Login Succeeded 20:02:05 docker.io 20:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:05 Configure a credential helper to remove this warning. See 20:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:05 20:02:05 Login Succeeded 20:02:05 ---> docker-login.sh ends [Pipeline] } 20:02:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:02:06 + git rev-list -1 --merges 811e52826d6202cae27d826a4f6ae05b050034a3~1..811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo 20:02:06 -----------> git rev-list -1 --merges 811e52826d6202cae27d826a4f6ae05b050034a3~1..811e52826d6202cae27d826a4f6ae05b050034a3 811e52826d6202cae27d826a4f6ae05b050034a3 20:02:06 811e52826d6202cae27d826a4f6ae05b050034a3 [false] [Pipeline] sh 20:02:06 + git log --format=format:%s -1 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo 20:02:06 ========================================================= 20:02:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:02:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:06 + git log --format=format:%s -1 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo 20:02:06 [semverPrep] GIT_COMMIT: 811e52826d6202cae27d826a4f6ae05b050034a3, Commit Message: Merge pull request #224 from ejlee3/go-mods-config-docker [Pipeline] echo 20:02:06 [semverPrep] This is not a build commit. [Pipeline] sh 20:02:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:02:07 + grep -v github /etc/ssh/ssh_known_hosts 20:02:07 + [ -e /tmp/ssh_known_hosts ] 20:02:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:02:07 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:02:07 sudo tee -a /etc/ssh/ssh_known_hosts 20:02:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:07 20:02:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:08 0.1.4: Pulling from edgex-devops/py-git-semver 20:02:08 b85a868b505f: Pulling fs layer 20:02:08 e2be974225ed: Pulling fs layer 20:02:08 339a4e72a1f5: Pulling fs layer 20:02:08 988bab9f4d93: Pulling fs layer 20:02:08 1469e6f7b9e6: Pulling fs layer 20:02:08 eaf3925da568: Pulling fs layer 20:02:08 bab4dde63d76: Pulling fs layer 20:02:08 988bab9f4d93: Waiting 20:02:08 1469e6f7b9e6: Waiting 20:02:08 bde34c3a00c8: Pulling fs layer 20:02:08 b352a97aabf1: Pulling fs layer 20:02:08 4872d77fe225: Pulling fs layer 20:02:08 5851b861e8e6: Pulling fs layer 20:02:08 bde34c3a00c8: Waiting 20:02:08 b352a97aabf1: Waiting 20:02:08 bab4dde63d76: Waiting 20:02:08 e2be974225ed: Verifying Checksum 20:02:08 e2be974225ed: Download complete 20:02:08 988bab9f4d93: Verifying Checksum 20:02:08 988bab9f4d93: Download complete 20:02:08 1469e6f7b9e6: Verifying Checksum 20:02:08 1469e6f7b9e6: Download complete 20:02:08 eaf3925da568: Verifying Checksum 20:02:08 eaf3925da568: Download complete 20:02:08 339a4e72a1f5: Verifying Checksum 20:02:08 339a4e72a1f5: Download complete 20:02:08 bde34c3a00c8: Download complete 20:02:08 b352a97aabf1: Verifying Checksum 20:02:08 b352a97aabf1: Download complete 20:02:08 4872d77fe225: Verifying Checksum 20:02:08 4872d77fe225: Download complete 20:02:08 5851b861e8e6: Download complete 20:02:08 b85a868b505f: Verifying Checksum 20:02:08 b85a868b505f: Download complete 20:02:08 bab4dde63d76: Verifying Checksum 20:02:08 bab4dde63d76: Download complete 20:02:09 b85a868b505f: Pull complete 20:02:09 e2be974225ed: Pull complete 20:02:10 339a4e72a1f5: Pull complete 20:02:10 988bab9f4d93: Pull complete 20:02:10 1469e6f7b9e6: Pull complete 20:02:10 eaf3925da568: Pull complete 20:02:12 bab4dde63d76: Pull complete 20:02:12 bde34c3a00c8: Pull complete 20:02:12 b352a97aabf1: Pull complete 20:02:12 4872d77fe225: Pull complete 20:02:12 5851b861e8e6: Pull complete 20:02:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:02:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:12 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:02:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:02:14 $ docker top 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 -eo pid,comm 20:02:14 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). 20:02:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:02:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:14 [ssh-agent] Looking for ssh-agent implementation... 20:02:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:14 $ docker exec 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent 20:02:14 SSH_AUTH_SOCK=/tmp/ssh-BObjEtH6q3CP/agent.31 20:02:14 SSH_AGENT_PID=37 20:02:14 Running ssh-add (command line suppressed) 20:02:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4743472582534480254.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4743472582534480254.key) 20:02:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:14 + git tag --points-at HEAD [Pipeline] } 20:02:14 $ docker exec --env ******** --env ******** 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent -k 20:02:15 unset SSH_AUTH_SOCK; 20:02:15 unset SSH_AGENT_PID; 20:02:15 echo Agent pid 37 killed; 20:02:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:02:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:15 [ssh-agent] Looking for ssh-agent implementation... 20:02:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:15 $ docker exec 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent 20:02:15 SSH_AUTH_SOCK=/tmp/ssh-lc1wjExWulRb/agent.69 20:02:15 SSH_AGENT_PID=75 20:02:15 Running ssh-add (command line suppressed) 20:02:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_571930058254458604.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_571930058254458604.key) 20:02:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:15 + git semver init 20:02:16 2022-10-26 20:02:15,987 [run_init] DEBUG init version:0.0.0 force:False 20:02:16 2022-10-26 20:02:15,987 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:02:16 2022-10-26 20:02:15,988 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:02:16 2022-10-26 20:02:15,988 [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) 20:02:17 2022-10-26 20:02:17,155 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:02:17 2022-10-26 20:02:17,156 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:02:17 2022-10-26 20:02:17,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:02:17 2022-10-26 20:02:17,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:02:17 2.3.0-dev.22 [Pipeline] } 20:02:17 $ docker exec --env ******** --env ******** 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent -k 20:02:17 unset SSH_AUTH_SOCK; 20:02:17 unset SSH_AGENT_PID; 20:02:17 echo Agent pid 75 killed; 20:02:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:02:17 + git semver [Pipeline] } 20:02:18 $ docker stop --time=1 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 20:02:19 $ docker rm -f 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 [Pipeline] // withDockerContainer [Pipeline] sh 20:02:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:02:19 Stashed 1 file(s) [Pipeline] echo 20:02:19 [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [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 20:02:20 provisioning config files... 20:02:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11266538353483258839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117284 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:02:20 Running in /w/workspace/device-rest-go/68 [Pipeline] { [Pipeline] checkout 20:02:20 The recommended git tool is: git 20:02:20 ---> docker-login.sh 20:02:20 nexus3.edgexfoundry.org:10001 20:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:20 Configure a credential helper to remove this warning. See 20:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:20 20:02:20 Login Succeeded 20:02:20 nexus3.edgexfoundry.org:10002 20:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:20 Configure a credential helper to remove this warning. See 20:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:20 20:02:20 Login Succeeded 20:02:20 nexus3.edgexfoundry.org:10003 20:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:20 Configure a credential helper to remove this warning. See 20:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:20 20:02:20 Login Succeeded 20:02:20 nexus3.edgexfoundry.org:10004 20:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:20 Configure a credential helper to remove this warning. See 20:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:20 20:02:20 Login Succeeded 20:02:20 docker.io 20:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:21 Configure a credential helper to remove this warning. See 20:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:21 20:02:21 Login Succeeded 20:02:21 ---> docker-login.sh ends [Pipeline] } 20:02:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:02:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:21 ========================================================= 20:02:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:02:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:21 + 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 . 20:02:21 Sending build context to Docker daemon 10.75MB 20:02:21 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:02:21 Step 2/12 : FROM ${BASE} AS builder 20:02:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:02:21 213ec9aee27d: Pulling fs layer 20:02:21 4583459ba037: Pulling fs layer 20:02:21 93c1e223e6f2: Pulling fs layer 20:02:21 53926ce57604: Pulling fs layer 20:02:21 21b2b0c7a3f4: Pulling fs layer 20:02:21 30f14e443154: Pulling fs layer 20:02:21 801331c1e519: Pulling fs layer 20:02:21 99cc6dd402b0: Pulling fs layer 20:02:21 7d9ed39f4882: Pulling fs layer 20:02:21 30f14e443154: Waiting 20:02:21 801331c1e519: Waiting 20:02:21 99cc6dd402b0: Waiting 20:02:21 7d9ed39f4882: Waiting 20:02:21 53926ce57604: Waiting 20:02:21 93c1e223e6f2: Download complete 20:02:21 4583459ba037: Verifying Checksum 20:02:21 4583459ba037: Download complete 20:02:21 21b2b0c7a3f4: Verifying Checksum 20:02:21 21b2b0c7a3f4: Download complete 20:02:21 30f14e443154: Download complete 20:02:21 213ec9aee27d: Verifying Checksum 20:02:21 213ec9aee27d: Download complete 20:02:21 801331c1e519: Download complete 20:02:21 213ec9aee27d: Pull complete 20:02:22 4583459ba037: Pull complete 20:02:22 93c1e223e6f2: Pull complete 20:02:22 7d9ed39f4882: Verifying Checksum 20:02:22 7d9ed39f4882: Download complete 20:02:22 99cc6dd402b0: Verifying Checksum 20:02:22 99cc6dd402b0: Download complete 20:02:22 53926ce57604: Verifying Checksum 20:02:22 53926ce57604: Download complete 20:02:25 using credential edgex-jenkins-ssh 20:02:25 Cloning the remote Git repository 20:02:25 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:02:25 > git init /w/workspace/device-rest-go/68 # timeout=10 20:02:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:02:25 > git --version # timeout=10 20:02:25 > git --version # 'git version 2.25.1' 20:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:25 Verifying host key using known hosts file 20:02:25 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. 20:02:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:02:26 53926ce57604: Pull complete 20:02:26 21b2b0c7a3f4: Pull complete 20:02:26 30f14e443154: Pull complete 20:02:26 801331c1e519: Pull complete 20:02:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:02:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:02:28 Avoid second fetch 20:02:28 Checking out Revision 811e52826d6202cae27d826a4f6ae05b050034a3 (main) 20:02:28 Commit message: "Merge pull request #224 from ejlee3/go-mods-config-docker" 20:02:28 > git config core.sparsecheckout # timeout=10 20:02:28 > git checkout -f 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:29 99cc6dd402b0: Pull complete 20:02:29 7d9ed39f4882: Pull complete 20:02:29 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:02:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:02:29 ---> 1dedd983c030 20:02:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:02:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:02:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:02:29 Dload Upload Total Spent Left Speed 20:02:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh 20:02:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:02:30 + + sudo teesudo /etc/docker/daemon.new jq 20:02:30 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:02:30 { 20:02:30 "registry-mirrors": [ 20:02:30 "https://nexus3.edgexfoundry.org:10001" 20:02:30 ], 20:02:30 "bip": "10.250.0.254/24", 20:02:30 "hosts": [ 20:02:30 "tcp://0.0.0.0:5555", 20:02:30 "unix:///var/run/docker.sock" 20:02:30 ], 20:02:30 "mtu": 1458, 20:02:30 "selinux-enabled": true, 20:02:30 "seccomp-profile": "/etc/docker/seccomp.json" 20:02:30 } [Pipeline] sh 20:02:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:02:31 + sudo service docker restart 20:02:31 ---> Running in f913041af2fb 20:02:31 Removing intermediate container f913041af2fb 20:02:31 ---> d8a3505be533 20:02:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:02:31 ---> Running in fc6b327790a6 20:02:31 Removing intermediate container fc6b327790a6 20:02:31 ---> b872b0b502f2 20:02:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:02:31 ---> Running in 406e8c824d9d 20:02:31 Removing intermediate container 406e8c824d9d 20:02:31 ---> b4bbbbaa41ba 20:02:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:02:31 ---> Running in 00f44703ebd9 20:02:31 Removing intermediate container 00f44703ebd9 20:02:31 ---> b36e8393792d 20:02:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:02:31 ---> Running in f953dfd76b74 20:02:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:02:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:02:32 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:02:32 (2/4) Installing libedit (20210910.3.1-r0) 20:02:32 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:02:32 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:02:32 Executing busybox-1.35.0-r17.trigger 20:02:32 OK: 216 MiB in 55 packages 20:02:32 Removing intermediate container f953dfd76b74 20:02:32 ---> b100a5fd229d 20:02:32 Step 8/12 : WORKDIR /device-rest-go 20:02:32 ---> Running in c5fb6a55f054 20:02:33 Removing intermediate container c5fb6a55f054 20:02:33 ---> 6dbaec9a5858 20:02:33 Step 9/12 : COPY go.mod vendor* ./ 20:02:33 ---> f772bc485c95 20:02:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:02:33 ---> Running in d0bb7f9b66ca [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:49 provisioning config files... 20:02:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/68@tmp/config927768100678508010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:50 ---> docker-login.sh 20:02:50 nexus3.edgexfoundry.org:10001 20:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:50 Configure a credential helper to remove this warning. See 20:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:50 20:02:50 Login Succeeded 20:02:50 nexus3.edgexfoundry.org:10002 20:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:51 Configure a credential helper to remove this warning. See 20:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:51 20:02:51 Login Succeeded 20:02:51 nexus3.edgexfoundry.org:10003 20:02:51 Removing intermediate container d0bb7f9b66ca 20:02:51 ---> 16e292fbe24c 20:02:51 Step 11/12 : COPY . . 20:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:51 Configure a credential helper to remove this warning. See 20:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:51 20:02:51 Login Succeeded 20:02:51 nexus3.edgexfoundry.org:10004 20:02:51 ---> c23cb34669c8 20:02:51 Step 12/12 : RUN $MAKE 20:02:51 ---> Running in dd51320c9134 20:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:51 Configure a credential helper to remove this warning. See 20:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:51 20:02:51 Login Succeeded 20:02:51 docker.io 20:02:51 noop 20:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:52 Removing intermediate container dd51320c9134 20:02:52 ---> 1de78e8a123b 20:02:52 Successfully built 1de78e8a123b 20:02:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:52 + docker inspect -f . ci-base-image-x86_64 20:02:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:52 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:02:52 $ 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 ******** ci-base-image-x86_64 cat 20:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:52 Configure a credential helper to remove this warning. See 20:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:52 20:02:52 Login Succeeded 20:02:52 ---> docker-login.sh ends 20:02:52 $ docker top 84dbcd59ff51a897eb6a33bf36ee20fff821eaa33d35500d7c113d83960151aa -eo pid,comm [Pipeline] { [Pipeline] } 20:02:53 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:53 ========================================================= 20:02:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:02:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:53 + go version 20:02:53 go version go1.18.7 linux/amd64 [Pipeline] } 20:02:53 $ docker stop --time=1 84dbcd59ff51a897eb6a33bf36ee20fff821eaa33d35500d7c113d83960151aa 20:02:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:02:53 Sending build context to Docker daemon 128kB 20:02:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:02:53 Step 2/12 : FROM ${BASE} AS builder 20:02:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:02:53 9b18e9b68314: Pulling fs layer 20:02:53 d32db5db7311: Pulling fs layer 20:02:53 d0c4b47475fc: Pulling fs layer 20:02:53 5831b945b038: Pulling fs layer 20:02:53 86bbec2aaacd: Pulling fs layer 20:02:53 e10730c5d714: Pulling fs layer 20:02:53 5dd5c2283517: Pulling fs layer 20:02:53 d5ac0230b979: Pulling fs layer 20:02:53 e10730c5d714: Waiting 20:02:53 5831b945b038: Waiting 20:02:53 5dd5c2283517: Waiting 20:02:53 86bbec2aaacd: Waiting 20:02:53 d5ac0230b979: Waiting 20:02:54 d0c4b47475fc: Verifying Checksum 20:02:54 d0c4b47475fc: Download complete 20:02:54 d32db5db7311: Download complete 20:02:54 86bbec2aaacd: Verifying Checksum 20:02:54 86bbec2aaacd: Download complete 20:02:54 e10730c5d714: Verifying Checksum 20:02:54 e10730c5d714: Download complete 20:02:54 9b18e9b68314: Verifying Checksum 20:02:54 9b18e9b68314: Download complete 20:02:54 $ docker rm -f 84dbcd59ff51a897eb6a33bf36ee20fff821eaa33d35500d7c113d83960151aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 20:02:54 9b18e9b68314: Pull complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:55 + docker inspect -f . ci-base-image-x86_64 20:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:55 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:02:55 $ 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 ******** ci-base-image-x86_64 cat 20:02:55 d5ac0230b979: Verifying Checksum 20:02:55 d5ac0230b979: Download complete 20:02:55 d32db5db7311: Pull complete 20:02:55 $ docker top 5406da36266ab4595668bd1ac937f4872c9d27b7d40bd548a182d8edad47757c -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists 20:02:55 d0c4b47475fc: Pull complete [Pipeline] sh 20:02:56 5dd5c2283517: Verifying Checksum 20:02:56 5dd5c2283517: Download complete 20:02:56 + make test 20:02:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:02:56 ? github.com/edgexfoundry/device-rest-go [no test files] 20:02:57 5831b945b038: Verifying Checksum 20:02:57 5831b945b038: Download complete 20:03:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:03:06 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 55.2% of statements 20:03:09 5831b945b038: Pull complete 20:03:09 86bbec2aaacd: Pull complete 20:03:09 e10730c5d714: Pull complete 20:03:14 5dd5c2283517: Pull complete 20:03:15 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." 20:03:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:03:16 d5ac0230b979: Pull complete 20:03:16 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:03:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:03:16 ---> 59b3b1a385d4 20:03:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:03:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:03:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:03:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:03:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:03:18 $ docker stop --time=1 5406da36266ab4595668bd1ac937f4872c9d27b7d40bd548a182d8edad47757c 20:03:18 ---> Running in 5ebae696eb66 20:03:18 Removing intermediate container 5ebae696eb66 20:03:18 ---> 9de20af1c4b4 20:03:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:03:19 ---> Running in a8c63c340b3c 20:03:19 Removing intermediate container a8c63c340b3c 20:03:19 ---> 18a11dd363fc 20:03:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:03:19 ---> Running in cf263081efa2 20:03:19 Removing intermediate container cf263081efa2 20:03:19 ---> cfe161f5c12f 20:03:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:03:19 ---> Running in a8565054470f 20:03:19 Removing intermediate container a8565054470f 20:03:19 ---> 69c48e056413 20:03:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:20 ---> Running in 96d86e6e0ce8 20:03:20 $ docker rm -f 5406da36266ab4595668bd1ac937f4872c9d27b7d40bd548a182d8edad47757c [Pipeline] // withDockerContainer [Pipeline] sh 20:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:03:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:03:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:03:21 + ls -al . 20:03:21 total 184 20:03:21 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:02 . 20:03:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 .. 20:03:21 -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:02 .dockerignore 20:03:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:03 .git 20:03:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 .github 20:03:21 -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 20:02 .gitignore 20:03:21 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:02 .golangci.yml 20:03:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:02 .semver 20:03:21 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 20:02 Attribution.txt 20:03:21 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 20:02 CHANGELOG.md 20:03:21 -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 20:02 Dockerfile 20:03:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:02 GOVERNANCE.md 20:03:21 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:02 Jenkinsfile 20:03:21 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:02 LICENSE 20:03:21 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 20:02 Makefile 20:03:21 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:02 OWNERS.md 20:03:21 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 20:02 README.md 20:03:21 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:02 VERSION 20:03:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 bin 20:03:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 cmd 20:03:21 -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 20:03 coverage.out 20:03:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 driver 20:03:21 -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 20:02 go.mod 20:03:21 -rw-rw-r-- 1 jenkins jenkins 44967 Oct 26 20:02 go.sum 20:03:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 snap 20:03:21 -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:21 + 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=811e52826d6202cae27d826a4f6ae05b050034a3 --label arch=amd64 --label version=2.3.0-dev.22 . 20:03:21 Sending build context to Docker daemon 10.76MB 20:03:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:03:21 Step 2/25 : FROM ${BASE} AS builder 20:03:21 ---> 1de78e8a123b 20:03:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:03:21 ---> Running in 26ded73a4f08 20:03:22 Removing intermediate container 26ded73a4f08 20:03:22 ---> c5b16115ed02 20:03:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:03:22 ---> Running in c6f035307811 20:03:22 Removing intermediate container c6f035307811 20:03:22 ---> 037cd15f8c32 20:03:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:03:22 ---> Running in f50aa916ec12 20:03:22 Removing intermediate container f50aa916ec12 20:03:22 ---> 33ee112fee41 20:03:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:03:22 ---> Running in 309b30816adc 20:03:22 Removing intermediate container 309b30816adc 20:03:22 ---> 1c3c0466f92d 20:03:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:22 ---> Running in 9ea05ff954b4 20:03:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:03:22 (2/4) Installing libedit (20210910.3.1-r0) 20:03:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:03:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:03:22 Executing busybox-1.35.0-r17.trigger 20:03:22 OK: 226 MiB in 55 packages 20:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:03:22 OK: 216 MiB in 55 packages 20:03:23 Removing intermediate container 96d86e6e0ce8 20:03:23 ---> 149b10aeaba6 20:03:23 Step 8/12 : WORKDIR /device-rest-go 20:03:23 ---> Running in cd72cc6a686d 20:03:23 Removing intermediate container 9ea05ff954b4 20:03:23 ---> 20f3d76f2225 20:03:23 Step 8/25 : WORKDIR /device-rest-go 20:03:23 ---> Running in 9ed784487f99 20:03:23 Removing intermediate container 9ed784487f99 20:03:23 ---> 7b1d5719d878 20:03:23 Step 9/25 : COPY go.mod vendor* ./ 20:03:23 Removing intermediate container cd72cc6a686d 20:03:23 ---> 76c35cf54c86 20:03:23 Step 9/12 : COPY go.mod vendor* ./ 20:03:23 ---> e1f15e3205a0 20:03:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:23 ---> Running in 1f87a17dc37f 20:03:24 ---> c28f04c994a6 20:03:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:24 ---> Running in 6af38495aa17 20:03:24 Removing intermediate container 1f87a17dc37f 20:03:24 ---> 2d024bf6f694 20:03:24 Step 11/25 : COPY . . 20:03:24 ---> 725c47845940 20:03:24 Step 12/25 : RUN $MAKE 20:03:24 ---> Running in 56b271df966d 20:03:24 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:03:46 Removing intermediate container 56b271df966d 20:03:46 ---> 81dc299e004c 20:03:46 Step 13/25 : FROM alpine:3.16 20:03:46 3.16: Pulling from library/alpine 20:03:46 213ec9aee27d: Already exists 20:03:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:03:46 Status: Downloaded newer image for alpine:3.16 20:03:46 ---> 9c6f07244728 20:03:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:03:46 ---> Running in 40a0294e4c6a 20:03:47 Removing intermediate container 40a0294e4c6a 20:03:47 ---> ab7dfa7d95f6 20:03:47 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:03:47 ---> Running in 34092995b018 20:03:47 Removing intermediate container 34092995b018 20:03:47 ---> 3be38594f385 20:03:47 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:03:47 ---> Running in 280a719c1914 20:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:03:47 (1/6) Installing dumb-init (1.2.5-r1) 20:03:47 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:03:47 (3/6) Installing libsodium (1.0.18-r0) 20:03:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:03:47 (5/6) Installing libzmq (4.3.4-r0) 20:03:47 (6/6) Installing zeromq (4.3.4-r0) 20:03:47 Executing busybox-1.35.0-r17.trigger 20:03:47 OK: 8 MiB in 20 packages 20:03:48 Removing intermediate container 280a719c1914 20:03:48 ---> 291ee60cb199 20:03:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:03:49 ---> 654906ec6f9e 20:03:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:03:49 ---> f0360f4e5e72 20:03:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:03:49 ---> 44710274fbdd 20:03:49 Step 20/25 : EXPOSE 59986 20:03:49 ---> Running in 307f5bdbf0fc 20:03:49 Removing intermediate container 307f5bdbf0fc 20:03:49 ---> de4b0b202e64 20:03:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:03:49 ---> Running in 7e612372706a 20:03:49 Removing intermediate container 7e612372706a 20:03:49 ---> fa92d986d28b 20:03:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:03:49 ---> Running in f3b66161c3e1 20:03:49 Removing intermediate container f3b66161c3e1 20:03:49 ---> e318a68ae787 20:03:49 Step 23/25 : LABEL arch=amd64 20:03:49 ---> Running in b8c6cc43ee70 20:03:49 Removing intermediate container b8c6cc43ee70 20:03:49 ---> 09d1de5e7321 20:03:49 Step 24/25 : LABEL git_sha=811e52826d6202cae27d826a4f6ae05b050034a3 20:03:49 ---> Running in b40987b846d5 20:03:49 Removing intermediate container b40987b846d5 20:03:49 ---> 9da56e26f2e7 20:03:49 Step 25/25 : LABEL version=2.3.0-dev.22 20:03:50 ---> Running in f11bdc76cf41 20:03:50 Removing intermediate container f11bdc76cf41 20:03:50 ---> 62b6bff2c005 20:03:50 [Warning] One or more build-args [ARCH] were not consumed 20:03:50 Successfully built 62b6bff2c005 20:03:50 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:50 provisioning config files... 20:03:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2432718871401149636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:50 ---> docker-login.sh 20:03:50 nexus3.edgexfoundry.org:10001 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 nexus3.edgexfoundry.org:10002 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 nexus3.edgexfoundry.org:10003 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 nexus3.edgexfoundry.org:10004 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 docker.io 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:51 Configure a credential helper to remove this warning. See 20:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:51 20:03:51 Login Succeeded 20:03:51 ---> docker-login.sh ends [Pipeline] } 20:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:51 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:03:51 811e52826d6202cae27d826a4f6ae05b050034a3 20:03:51 latest 20:03:51 2.3.0-dev.22 20:03:51 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 20:03:51 main 20:03:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3 20:03:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:52 dc5637da34f4: Preparing 20:03:52 563eac418377: Preparing 20:03:52 8b3c78814396: Preparing 20:03:52 8d81ad9ec1c7: Preparing 20:03:52 994393dc58e7: Preparing 20:03:52 994393dc58e7: Layer already exists 20:03:52 dc5637da34f4: Pushed 20:03:52 563eac418377: Pushed 20:03:52 8d81ad9ec1c7: Pushed 20:03:54 8b3c78814396: Pushed 20:03:54 811e52826d6202cae27d826a4f6ae05b050034a3: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:03:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:55 dc5637da34f4: Preparing 20:03:55 563eac418377: Preparing 20:03:55 8b3c78814396: Preparing 20:03:55 8d81ad9ec1c7: Preparing 20:03:55 994393dc58e7: Preparing 20:03:55 994393dc58e7: Layer already exists 20:03:55 8b3c78814396: Layer already exists 20:03:55 8d81ad9ec1c7: Layer already exists 20:03:55 563eac418377: Layer already exists 20:03:55 dc5637da34f4: Layer already exists 20:03:55 latest: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.22 20:03:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:56 dc5637da34f4: Preparing 20:03:56 563eac418377: Preparing 20:03:56 8b3c78814396: Preparing 20:03:56 8d81ad9ec1c7: Preparing 20:03:56 994393dc58e7: Preparing 20:03:56 994393dc58e7: Layer already exists 20:03:56 8b3c78814396: Layer already exists 20:03:56 8d81ad9ec1c7: Layer already exists 20:03:56 dc5637da34f4: Layer already exists 20:03:56 563eac418377: Layer already exists 20:03:56 2.3.0-dev.22: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 20:03:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:56 dc5637da34f4: Preparing 20:03:56 563eac418377: Preparing 20:03:56 8b3c78814396: Preparing 20:03:56 8d81ad9ec1c7: Preparing 20:03:56 994393dc58e7: Preparing 20:03:56 994393dc58e7: Layer already exists 20:03:56 563eac418377: Layer already exists 20:03:56 8b3c78814396: Layer already exists 20:03:56 dc5637da34f4: Layer already exists 20:03:56 8d81ad9ec1c7: Layer already exists 20:03:56 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:03:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:57 dc5637da34f4: Preparing 20:03:57 563eac418377: Preparing 20:03:57 8b3c78814396: Preparing 20:03:57 8d81ad9ec1c7: Preparing 20:03:57 994393dc58e7: Preparing 20:03:57 994393dc58e7: Layer already exists 20:03:57 563eac418377: Layer already exists 20:03:57 8d81ad9ec1c7: Layer already exists 20:03:57 8b3c78814396: Layer already exists 20:03:57 dc5637da34f4: Layer already exists 20:03:57 main: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:03:57 ===================================================== [Pipeline] echo 20:03:57 taggedImages: 20:03:57 - nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3 20:03:57 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:03:57 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.22 20:03:57 - nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 20:03:57 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:57 20:03:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:58 latest: Pulling from edgex-lftools-log-publisher 20:03:58 5eb5b503b376: Pulling fs layer 20:03:58 5c69ac0246d0: Pulling fs layer 20:03:58 ec43610c2a17: Pulling fs layer 20:03:58 3a2ae6a8a46f: Pulling fs layer 20:03:58 33b1e0a273af: Pulling fs layer 20:03:58 5d3b04190fa2: Pulling fs layer 20:03:58 2f39f015ded8: Pulling fs layer 20:03:58 3a2ae6a8a46f: Waiting 20:03:58 5d3b04190fa2: Waiting 20:03:58 33b1e0a273af: Waiting 20:03:58 5c69ac0246d0: Verifying Checksum 20:03:58 5c69ac0246d0: Download complete 20:03:58 3a2ae6a8a46f: Verifying Checksum 20:03:58 3a2ae6a8a46f: Download complete 20:03:58 33b1e0a273af: Verifying Checksum 20:03:58 33b1e0a273af: Download complete 20:03:58 ec43610c2a17: Verifying Checksum 20:03:58 ec43610c2a17: Download complete 20:03:58 5d3b04190fa2: Verifying Checksum 20:03:58 5d3b04190fa2: Download complete 20:03:58 5eb5b503b376: Verifying Checksum 20:03:58 5eb5b503b376: Download complete 20:03:59 2f39f015ded8: Verifying Checksum 20:03:59 2f39f015ded8: Download complete 20:03:59 5eb5b503b376: Pull complete 20:03:59 5c69ac0246d0: Pull complete 20:04:00 ec43610c2a17: Pull complete 20:04:00 3a2ae6a8a46f: Pull complete 20:04:00 33b1e0a273af: Pull complete 20:04:00 5d3b04190fa2: Pull complete 20:04:04 2f39f015ded8: Pull complete 20:04:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:04 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:04:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:04:06 $ docker top 263abeafbbf03cb2830263ff533b5ddd4c74ca1fa57f536dc8e86e06fe2808be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:07 ---> job-cost.sh 20:04:07 lf-activate-venv: SKIPPING 20:04:07 INFO: No Stack... 20:04:07 INFO: Retrieving Pricing Info for: v3-standard-8 20:04:07 INFO: Archiving Costs [Pipeline] sh 20:04:08 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:04:08 + cut -d, -f6 [Pipeline] lock 20:04:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] 20:04:08 Resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] did not exist. Created. 20:04:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:04:08 + echo total: 0.2199999988079071 [Pipeline] stash 20:04:08 Stashed 1 file(s) [Pipeline] } 20:04:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 20:04:08 $ docker stop --time=1 263abeafbbf03cb2830263ff533b5ddd4c74ca1fa57f536dc8e86e06fe2808be 20:04:09 $ docker rm -f 263abeafbbf03cb2830263ff533b5ddd4c74ca1fa57f536dc8e86e06fe2808be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:04:20 Removing intermediate container 6af38495aa17 20:04:20 ---> c4c698239a13 20:04:20 Step 11/12 : COPY . . 20:04:20 ---> a54571d8709f 20:04:20 Step 12/12 : RUN $MAKE 20:04:20 ---> Running in e9122b577128 20:04:20 noop 20:04:20 Removing intermediate container e9122b577128 20:04:20 ---> d40ca134502c 20:04:20 Successfully built d40ca134502c 20:04:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:20 + docker inspect -f . ci-base-image-arm64 20:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:21 prd-ubuntu20.04-docker-arm64-4c-16g-117284 does not seem to be running inside a container 20:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/68 -v /w/workspace/device-rest-go/68:/w/workspace/device-rest-go/68:rw,z -v /w/workspace/device-rest-go/68@tmp:/w/workspace/device-rest-go/68@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 20:04:22 $ docker top ba5179bc9074d1a4bf4aa38c0f615a0697cc9988706246569489c5f80c58fcce -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:23 + go version 20:04:23 go version go1.18.7 linux/arm64 [Pipeline] } 20:04:23 $ docker stop --time=1 ba5179bc9074d1a4bf4aa38c0f615a0697cc9988706246569489c5f80c58fcce 20:04:24 $ docker rm -f ba5179bc9074d1a4bf4aa38c0f615a0697cc9988706246569489c5f80c58fcce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:25 + docker inspect -f . ci-base-image-arm64 20:04:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:25 prd-ubuntu20.04-docker-arm64-4c-16g-117284 does not seem to be running inside a container 20:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/68 -v /w/workspace/device-rest-go/68:/w/workspace/device-rest-go/68:rw,z -v /w/workspace/device-rest-go/68@tmp:/w/workspace/device-rest-go/68@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 20:04:26 $ docker top e59c157bbc7d420d17f1e6f459dce0fd7eca7bb6ec9c7f2d0060515eb46ab635 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:27 + git config --global --add safe.directory /w/workspace/device-rest-go/68 [Pipeline] fileExists [Pipeline] sh 20:04:28 + make test 20:04:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:04:29 ? github.com/edgexfoundry/device-rest-go [no test files] 20:06:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:06:06 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 55.2% of statements 20:06:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:06:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:06:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:06:19 $ docker stop --time=1 e59c157bbc7d420d17f1e6f459dce0fd7eca7bb6ec9c7f2d0060515eb46ab635 20:06:21 $ docker rm -f e59c157bbc7d420d17f1e6f459dce0fd7eca7bb6ec9c7f2d0060515eb46ab635 [Pipeline] // withDockerContainer [Pipeline] sh 20:06:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:06:22 Warning: overwriting stash ‘coverage-report’ 20:06:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:06:23 + ls -al . 20:06:23 total 180 20:06:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:04 . 20:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 .. 20:06:23 -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:02 .dockerignore 20:06:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:02 .git 20:06:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 .github 20:06:23 -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 20:02 .gitignore 20:06:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:02 .golangci.yml 20:06:23 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 20:02 Attribution.txt 20:06:23 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 20:02 CHANGELOG.md 20:06:23 -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 20:02 Dockerfile 20:06:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:02 GOVERNANCE.md 20:06:23 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:02 Jenkinsfile 20:06:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:02 LICENSE 20:06:23 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 20:02 Makefile 20:06:23 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:02 OWNERS.md 20:06:23 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 20:02 README.md 20:06:23 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:02 VERSION 20:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 bin 20:06:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 cmd 20:06:23 -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 20:05 coverage.out 20:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 driver 20:06:23 -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 20:02 go.mod 20:06:23 -rw-rw-r-- 1 jenkins jenkins 44967 Oct 26 20:02 go.sum 20:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 snap 20:06:23 -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:23 + 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=811e52826d6202cae27d826a4f6ae05b050034a3 --label arch=arm64 --label version=2.3.0-dev.22 . 20:06:23 Sending build context to Docker daemon 138.2kB 20:06:23 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:06:23 Step 2/25 : FROM ${BASE} AS builder 20:06:23 ---> d40ca134502c 20:06:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:06:23 ---> Running in 3cbd8f6d7ea4 20:06:24 Removing intermediate container 3cbd8f6d7ea4 20:06:24 ---> 3ccf0484bbed 20:06:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:06:24 ---> Running in 5178c80f40fd 20:06:24 Removing intermediate container 5178c80f40fd 20:06:24 ---> 6f789eb217c8 20:06:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:24 ---> Running in dcfcd1718935 20:06:25 Removing intermediate container dcfcd1718935 20:06:25 ---> aa95b0ecddfe 20:06:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:06:25 ---> Running in 29463c193ca1 20:06:25 Removing intermediate container 29463c193ca1 20:06:25 ---> d8bfe6953be7 20:06:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:25 ---> Running in 6b19151e352b 20:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:06:28 OK: 226 MiB in 55 packages 20:06:28 Removing intermediate container 6b19151e352b 20:06:28 ---> fa99516ed59e 20:06:28 Step 8/25 : WORKDIR /device-rest-go 20:06:28 ---> Running in ccdd55283ef1 20:06:29 Removing intermediate container ccdd55283ef1 20:06:29 ---> d340ec849b6a 20:06:29 Step 9/25 : COPY go.mod vendor* ./ 20:06:29 ---> 194d54847bcc 20:06:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:29 ---> Running in 212cda71d6f8 20:06:31 Removing intermediate container 212cda71d6f8 20:06:31 ---> 3238396a773c 20:06:31 Step 11/25 : COPY . . 20:06:32 ---> ba0cae496c23 20:06:32 Step 12/25 : RUN $MAKE 20:06:32 ---> Running in 2800034b7ea3 20:06:33 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:08:54 Removing intermediate container 2800034b7ea3 20:08:54 ---> a9f03be13cfe 20:08:54 Step 13/25 : FROM alpine:3.16 20:08:54 3.16: Pulling from library/alpine 20:08:54 9b18e9b68314: Already exists 20:08:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:08:54 Status: Downloaded newer image for alpine:3.16 20:08:54 ---> a6215f271958 20:08:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:08:54 ---> Running in ff8dd85d46f7 20:08:54 Removing intermediate container ff8dd85d46f7 20:08:54 ---> 24910692a5c3 20:08:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:08:54 ---> Running in daa6f6e9efe3 20:08:54 Removing intermediate container daa6f6e9efe3 20:08:54 ---> f06d6d85f7cd 20:08:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:08:54 ---> Running in 2bcf11285dc7 20:08:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:08:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:08:54 (1/6) Installing dumb-init (1.2.5-r1) 20:08:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:08:54 (3/6) Installing libsodium (1.0.18-r0) 20:08:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:08:54 (5/6) Installing libzmq (4.3.4-r0) 20:08:54 (6/6) Installing zeromq (4.3.4-r0) 20:08:54 Executing busybox-1.35.0-r17.trigger 20:08:54 OK: 8 MiB in 20 packages 20:08:54 Removing intermediate container 2bcf11285dc7 20:08:54 ---> 991b385181f9 20:08:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:08:54 ---> 900b9c169001 20:08:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:08:54 ---> 3c93c02c416a 20:08:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:08:54 ---> 3c3985ca3342 20:08:54 Step 20/25 : EXPOSE 59986 20:08:54 ---> Running in 1312af2dd376 20:08:54 Removing intermediate container 1312af2dd376 20:08:54 ---> 5922c070c2cb 20:08:54 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:08:54 ---> Running in 1b997dedf565 20:08:54 Removing intermediate container 1b997dedf565 20:08:54 ---> e361e102d080 20:08:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:08:54 ---> Running in 08b9bc128937 20:08:54 Removing intermediate container 08b9bc128937 20:08:54 ---> 278460a1e559 20:08:54 Step 23/25 : LABEL arch=arm64 20:08:54 ---> Running in d41955ee9dd5 20:08:54 Removing intermediate container d41955ee9dd5 20:08:54 ---> 04ee3134602f 20:08:54 Step 24/25 : LABEL git_sha=811e52826d6202cae27d826a4f6ae05b050034a3 20:08:54 ---> Running in c770a9048cef 20:08:54 Removing intermediate container c770a9048cef 20:08:54 ---> 8e0dfcf7ae9f 20:08:54 Step 25/25 : LABEL version=2.3.0-dev.22 20:08:54 ---> Running in b3f8af0313d8 20:08:55 Removing intermediate container b3f8af0313d8 20:08:55 ---> 4c17e468a62a 20:08:55 [Warning] One or more build-args [ARCH] were not consumed 20:08:55 Successfully built 4c17e468a62a 20:08:55 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:55 provisioning config files... 20:08:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/68@tmp/config337021491277359138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:55 ---> docker-login.sh 20:08:55 nexus3.edgexfoundry.org:10001 20:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:56 Configure a credential helper to remove this warning. See 20:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:56 20:08:56 Login Succeeded 20:08:56 nexus3.edgexfoundry.org:10002 20:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:56 Configure a credential helper to remove this warning. See 20:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:56 20:08:56 Login Succeeded 20:08:56 nexus3.edgexfoundry.org:10003 20:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:56 Configure a credential helper to remove this warning. See 20:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:56 20:08:56 Login Succeeded 20:08:56 nexus3.edgexfoundry.org:10004 20:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:57 Configure a credential helper to remove this warning. See 20:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:57 20:08:57 Login Succeeded 20:08:57 docker.io 20:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:58 Configure a credential helper to remove this warning. See 20:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:58 20:08:58 Login Succeeded 20:08:58 ---> docker-login.sh ends [Pipeline] } 20:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:08:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:58 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:08:58 811e52826d6202cae27d826a4f6ae05b050034a3 20:08:58 latest 20:08:58 2.3.0-dev.22 20:08:58 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 20:08:58 main 20:08:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3 20:08:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:08:58 8efb0d9da52b: Preparing 20:08:58 c597595fa252: Preparing 20:08:58 5a2763f0c3f5: Preparing 20:08:58 625ca72a90ec: Preparing 20:08:58 5d3e392a13a0: Preparing 20:08:58 5d3e392a13a0: Layer already exists 20:08:59 c597595fa252: Pushed 20:08:59 8efb0d9da52b: Pushed 20:08:59 625ca72a90ec: Pushed 20:09:05 5a2763f0c3f5: Pushed 20:09:05 811e52826d6202cae27d826a4f6ae05b050034a3: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:09:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:09:05 8efb0d9da52b: Preparing 20:09:05 c597595fa252: Preparing 20:09:05 5a2763f0c3f5: Preparing 20:09:05 625ca72a90ec: Preparing 20:09:05 5d3e392a13a0: Preparing 20:09:05 c597595fa252: Layer already exists 20:09:05 8efb0d9da52b: Layer already exists 20:09:05 625ca72a90ec: Layer already exists 20:09:05 5d3e392a13a0: Layer already exists 20:09:05 5a2763f0c3f5: Layer already exists 20:09:05 latest: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.22 20:09:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:09:06 8efb0d9da52b: Preparing 20:09:06 c597595fa252: Preparing 20:09:06 5a2763f0c3f5: Preparing 20:09:06 625ca72a90ec: Preparing 20:09:06 5d3e392a13a0: Preparing 20:09:06 5a2763f0c3f5: Layer already exists 20:09:06 c597595fa252: Layer already exists 20:09:06 5d3e392a13a0: Layer already exists 20:09:06 625ca72a90ec: Layer already exists 20:09:06 8efb0d9da52b: Layer already exists 20:09:06 2.3.0-dev.22: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 20:09:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:09:07 8efb0d9da52b: Preparing 20:09:07 c597595fa252: Preparing 20:09:07 5a2763f0c3f5: Preparing 20:09:07 625ca72a90ec: Preparing 20:09:07 5d3e392a13a0: Preparing 20:09:07 5a2763f0c3f5: Layer already exists 20:09:07 5d3e392a13a0: Layer already exists 20:09:07 8efb0d9da52b: Layer already exists 20:09:07 c597595fa252: Layer already exists 20:09:07 625ca72a90ec: Layer already exists 20:09:07 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:09:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:09:08 8efb0d9da52b: Preparing 20:09:08 c597595fa252: Preparing 20:09:08 5a2763f0c3f5: Preparing 20:09:08 625ca72a90ec: Preparing 20:09:08 5d3e392a13a0: Preparing 20:09:08 5a2763f0c3f5: Layer already exists 20:09:08 5d3e392a13a0: Layer already exists 20:09:08 8efb0d9da52b: Layer already exists 20:09:08 625ca72a90ec: Layer already exists 20:09:08 c597595fa252: Layer already exists 20:09:08 main: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:09:08 ===================================================== [Pipeline] echo 20:09:08 taggedImages: 20:09:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3 20:09:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:09:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.22 20:09:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 20:09:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:09 20:09:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:09 arm64: Pulling from edgex-lftools-log-publisher 20:09:09 8998bd30e6a1: Pulling fs layer 20:09:09 04944245beec: Pulling fs layer 20:09:09 699f458cf7ca: Pulling fs layer 20:09:09 765212b225bb: Pulling fs layer 20:09:09 f23df028b6ca: Pulling fs layer 20:09:09 d65c8cfc05b1: Pulling fs layer 20:09:09 2437ff75d9bd: Pulling fs layer 20:09:09 765212b225bb: Waiting 20:09:09 f23df028b6ca: Waiting 20:09:09 d65c8cfc05b1: Waiting 20:09:09 04944245beec: Verifying Checksum 20:09:09 04944245beec: Download complete 20:09:09 765212b225bb: Verifying Checksum 20:09:09 765212b225bb: Download complete 20:09:09 f23df028b6ca: Download complete 20:09:09 d65c8cfc05b1: Verifying Checksum 20:09:09 d65c8cfc05b1: Download complete 20:09:10 699f458cf7ca: Verifying Checksum 20:09:10 699f458cf7ca: Download complete 20:09:10 8998bd30e6a1: Verifying Checksum 20:09:10 8998bd30e6a1: Download complete 20:09:13 2437ff75d9bd: Verifying Checksum 20:09:13 2437ff75d9bd: Download complete 20:09:14 8998bd30e6a1: Pull complete 20:09:15 04944245beec: Pull complete 20:09:16 699f458cf7ca: Pull complete 20:09:16 765212b225bb: Pull complete 20:09:17 f23df028b6ca: Pull complete 20:09:17 d65c8cfc05b1: Pull complete 20:09:32 2437ff75d9bd: Pull complete 20:09:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:32 prd-ubuntu20.04-docker-arm64-4c-16g-117284 does not seem to be running inside a container 20:09:32 $ 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/68 -v /w/workspace/device-rest-go/68:/w/workspace/device-rest-go/68:rw,z -v /w/workspace/device-rest-go/68@tmp:/w/workspace/device-rest-go/68@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 20:09:35 $ docker top 43839fa0599238fd82ea1336784821178b369c62de99aacc5c77ee09fc257dd7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:36 ---> job-cost.sh 20:09:36 lf-activate-venv: SKIPPING 20:09:36 INFO: No Stack... 20:09:36 INFO: Retrieving Pricing Info for: v3-standard-4 20:09:37 INFO: Archiving Costs [Pipeline] sh 20:09:38 + cat /w/workspace/device-rest-go/68/archives/cost.csv 20:09:38 + cut -d, -f6 [Pipeline] lock 20:09:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] 20:09:38 Resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] did not exist. Created. 20:09:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:09:38 /w/workspace/device-rest-go/68@tmp/durable-ace62186/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:09:39 + echo total: 0.10999999940395355 [Pipeline] stash 20:09:39 Warning: overwriting stash ‘stack-cost’ 20:09:39 Stashed 1 file(s) [Pipeline] } 20:09:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 20:09:39 $ docker stop --time=1 43839fa0599238fd82ea1336784821178b369c62de99aacc5c77ee09fc257dd7 20:09:41 $ docker rm -f 43839fa0599238fd82ea1336784821178b369c62de99aacc5c77ee09fc257dd7 [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 20:09:41 provisioning config files... 20:09:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5438983790907581721tmp [Pipeline] { [Pipeline] sh 20:09:41 + set +x 20:09:41 + curl -s https://codecov.io/bash 20:09:41 + bash -s -- 20:09:41 20:09:41 _____ _ 20:09:41 / ____| | | 20:09:41 | | ___ __| | ___ ___ _____ __ 20:09:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:09:41 | |___| (_) | (_| | __/ (_| (_) \ V / 20:09:41 \_____\___/ \__,_|\___|\___\___/ \_/ 20:09:41 Bash-1.0.6 20:09:41 20:09:41 20:09:41 ==> git version 2.25.1 found 20:09:41 ==> 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 20:09:41 Release-Date: 2020-01-08 20:09:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:09:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:09:41 ==> Jenkins CI detected. 20:09:41 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:09:41 project root: . 20:09:41 --> token set from env 20:09:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:09:41 ==> Running gcov in . (disable via -X gcov) 20:09:41 ==> Python coveragepy not found 20:09:41 ==> Searching for coverage reports in: 20:09:41 + . 20:09:41 -> Found 1 reports 20:09:41 ==> Detecting git/mercurial file structure 20:09:41 ==> Reading reports 20:09:42 + ./coverage.out bytes=9355 20:09:42 ==> Appending adjustments 20:09:42 https://docs.codecov.io/docs/fixing-reports 20:09:42 + Found adjustments 20:09:42 ==> Gzipping contents 20:09:42 4.0K /tmp/codecov.gq5DBy.gz 20:09:42 ==> Uploading reports 20:09:42 url: https://codecov.io 20:09:42 query: branch=main&commit=811e52826d6202cae27d826a4f6ae05b050034a3&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:09:42 -> Pinging Codecov 20:09:42 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=811e52826d6202cae27d826a4f6ae05b050034a3&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:09:42 -> Uploading to 20:09:42 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/4E5D53B4F1F92C436F7061BF334D961C/811e52826d6202cae27d826a4f6ae05b050034a3/ddf1bf5e-f53a-4f37-871d-ae4f5283c59d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T200942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=757b2e45bb90f505453e34bfbce43b782f47a34f57f1d54e05b3358e71ab1b69 20:09:42 % Total % Received % Xferd Average Speed Time Time Time Current 20:09:42 Dload Upload Total Spent Left Speed 20:09:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 9099 --:--:-- --:--:-- --:--:-- 9099 20:09:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] } 20:09:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:09:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:09:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:09:43 20:09:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:09:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:09:43 df9b9388f04a: Pulling fs layer 20:09:43 52dc419b0ee2: Pulling fs layer 20:09:43 25bc292e5bac: Pulling fs layer 20:09:43 114826534d7a: Pulling fs layer 20:09:43 4657fd5d0bcf: Pulling fs layer 20:09:43 6ad1cebc031e: Pulling fs layer 20:09:43 8a3aa393b2d8: Pulling fs layer 20:09:43 4657fd5d0bcf: Waiting 20:09:43 8a3aa393b2d8: Waiting 20:09:43 114826534d7a: Waiting 20:09:43 6ad1cebc031e: Waiting 20:09:43 25bc292e5bac: Verifying Checksum 20:09:43 25bc292e5bac: Download complete 20:09:43 52dc419b0ee2: Verifying Checksum 20:09:43 52dc419b0ee2: Download complete 20:09:43 4657fd5d0bcf: Verifying Checksum 20:09:43 4657fd5d0bcf: Download complete 20:09:43 df9b9388f04a: Download complete 20:09:43 df9b9388f04a: Pull complete 20:09:43 6ad1cebc031e: Verifying Checksum 20:09:43 6ad1cebc031e: Download complete 20:09:43 52dc419b0ee2: Pull complete 20:09:43 25bc292e5bac: Pull complete 20:09:44 114826534d7a: Verifying Checksum 20:09:44 114826534d7a: Download complete 20:09:44 8a3aa393b2d8: Verifying Checksum 20:09:44 8a3aa393b2d8: Download complete 20:09:47 114826534d7a: Pull complete 20:09:47 4657fd5d0bcf: Pull complete 20:09:48 6ad1cebc031e: Pull complete 20:09:50 8a3aa393b2d8: Pull complete 20:09:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:09:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:09:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:50 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:09:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:09:52 $ docker top b2ad0e10ab17e07a22b59234f21888f6fd0cd051ee05c43593697ef1276fcd24 -eo pid,comm [Pipeline] { [Pipeline] echo 20:09:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:09:53 + set -o pipefail 20:09:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:09:59 20:09:59 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:09:59 20:09:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/5b803517-6701-4c11-9814-03d9f28b13d2 20:09:59 20:09:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:09:59 20:09:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:09:59 20:09:59 20:09:59 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:09:59 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:09:59 More details here: https://snyk.co/ue1NS [Pipeline] } 20:09:59 $ docker stop --time=1 b2ad0e10ab17e07a22b59234f21888f6fd0cd051ee05c43593697ef1276fcd24 20:10:02 $ docker rm -f b2ad0e10ab17e07a22b59234f21888f6fd0cd051ee05c43593697ef1276fcd24 [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 20:10:03 + git log --format=format:%s -1 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] sh 20:10:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:10:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:03 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:10:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:10:04 $ docker top 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 -eo pid,comm 20:10:04 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). 20:10:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:10:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:04 [ssh-agent] Looking for ssh-agent implementation... 20:10:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:04 $ docker exec 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 ssh-agent 20:10:04 SSH_AUTH_SOCK=/tmp/ssh-UniB0adzsmei/agent.33 20:10:04 SSH_AGENT_PID=40 20:10:04 Running ssh-add (command line suppressed) 20:10:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18095908331565043470.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18095908331565043470.key) 20:10:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:04 + git semver tag 20:10:05 2022-10-26 20:10:05,010 [run_tag] DEBUG tag force:False 20:10:05 2022-10-26 20:10:05,010 [check_head_tag] DEBUG check head tag 20:10:05 2022-10-26 20:10:05,010 [execute] INFO git cat-file --batch-check 20:10:05 2022-10-26 20:10:05,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:10:05 2022-10-26 20:10:05,013 [execute] INFO git cat-file --batch 20:10:05 2022-10-26 20:10:05,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:10:05 2022-10-26 20:10:05,028 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:10:05 2022-10-26 20:10:05,028 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 20:10:05 2022-10-26 20:10:05,028 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:10:05 2022-10-26 20:10:05,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:10:05 2.3.0-dev.22 [Pipeline] } 20:10:05 $ docker exec --env ******** --env ******** 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 ssh-agent -k 20:10:05 unset SSH_AUTH_SOCK; 20:10:05 unset SSH_AGENT_PID; 20:10:05 echo Agent pid 40 killed; 20:10:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:10:05 + git semver [Pipeline] } 20:10:05 $ docker stop --time=1 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 20:10:07 $ docker rm -f 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:10:07 20:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:10:07 0.23.1-centos7: Pulling from edgex-lftools 20:10:07 ab5ef0e58194: Pulling fs layer 20:10:07 9712f1f96733: Pulling fs layer 20:10:07 63f879dbbcfc: Pulling fs layer 20:10:07 0d9ebad4ef96: Pulling fs layer 20:10:07 e9a5061849ea: Pulling fs layer 20:10:07 d747dcd14b5f: Pulling fs layer 20:10:07 2de7ff778b66: Pulling fs layer 20:10:07 0d9ebad4ef96: Waiting 20:10:07 e9a5061849ea: Waiting 20:10:07 d747dcd14b5f: Waiting 20:10:07 2de7ff778b66: Waiting 20:10:07 9712f1f96733: Verifying Checksum 20:10:07 9712f1f96733: Download complete 20:10:08 63f879dbbcfc: Verifying Checksum 20:10:08 63f879dbbcfc: Download complete 20:10:08 ab5ef0e58194: Verifying Checksum 20:10:08 ab5ef0e58194: Download complete 20:10:08 d747dcd14b5f: Download complete 20:10:08 e9a5061849ea: Verifying Checksum 20:10:08 e9a5061849ea: Download complete 20:10:08 0d9ebad4ef96: Verifying Checksum 20:10:08 0d9ebad4ef96: Download complete 20:10:08 2de7ff778b66: Verifying Checksum 20:10:08 2de7ff778b66: Download complete 20:10:11 ab5ef0e58194: Pull complete 20:10:11 9712f1f96733: Pull complete 20:10:11 63f879dbbcfc: Pull complete 20:10:15 0d9ebad4ef96: Pull complete 20:10:15 e9a5061849ea: Pull complete 20:10:15 d747dcd14b5f: Pull complete 20:10:17 2de7ff778b66: Pull complete 20:10:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:10:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:10:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:17 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:10:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:10:20 $ docker top 41f823df77a3b026d3d24aa3b1f092a3e8b22eb3d2750d624e4d7f445eb522ae -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:10:20 provisioning config files... 20:10:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6262823733533489194tmp 20:10:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11646213826623935597tmp 20:10:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2826409173956353107tmp [Pipeline] { [Pipeline] echo 20:10:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:10:20 ---> sigul-configuration.sh 20:10:20 gpg: directory `/root/.gnupg' created 20:10:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:10:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:10:20 gpg: keyring `/root/.gnupg/secring.gpg' created 20:10:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:10:20 gpg: CAST5 encrypted data 20:10:20 gpg: encrypted with 1 passphrase 20:10:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:10:20 + mkdir /home/jenkins 20:10:20 + mkdir /home/jenkins/sigul [Pipeline] sh 20:10:21 + 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 20:10:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:10:21 ---> sigul-install.sh 20:10:21 Sigul already installed; skipping installation. [Pipeline] sh 20:10:21 + git tag --list 20:10:21 v1.0.0 20:10:21 v1.1.0 20:10:21 v1.1.1 20:10:21 v1.1.2 20:10:21 v1.2.0 20:10:21 v1.2.1 20:10:21 v2.0.0 20:10:21 v2.1.0 20:10:21 v2.1.1 20:10:21 v2.1.1-dev.1 20:10:21 v2.1.1-dev.2 20:10:21 v2.1.1-dev.3 20:10:21 v2.2.0 20:10:21 v2.2.1-dev.1 20:10:21 v2.2.1-dev.2 20:10:21 v2.2.1-dev.3 20:10:21 v2.2.1-dev.4 20:10:21 v2.2.1-dev.5 20:10:21 v2.2.1-dev.6 20:10:21 v2.2.1-dev.7 20:10:21 v2.2.1-dev.8 20:10:21 v2.2.1-dev.9 20:10:21 v2.3.0-dev.10 20:10:21 v2.3.0-dev.11 20:10:21 v2.3.0-dev.12 20:10:21 v2.3.0-dev.13 20:10:21 v2.3.0-dev.14 20:10:21 v2.3.0-dev.15 20:10:21 v2.3.0-dev.16 20:10:21 v2.3.0-dev.17 20:10:21 v2.3.0-dev.18 20:10:21 v2.3.0-dev.19 20:10:21 v2.3.0-dev.20 20:10:21 v2.3.0-dev.21 20:10:21 v2.3.0-dev.22 20:10:21 v2.3.0-dev.9 [Pipeline] sh 20:10:21 + lftools sign git-tag v2.3.0-dev.22 20:10:22 Signing Git tag with Sigul... 20:10:22 Signing v2.3.0-dev.22 [Pipeline] echo 20:10:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:10:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:10:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:10:23 $ docker stop --time=1 41f823df77a3b026d3d24aa3b1f092a3e8b22eb3d2750d624e4d7f445eb522ae 20:10:24 $ docker rm -f 41f823df77a3b026d3d24aa3b1f092a3e8b22eb3d2750d624e4d7f445eb522ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:10:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:10:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:25 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:10:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:10:25 $ docker top a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f -eo pid,comm 20:10:25 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). 20:10:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:10:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:25 [ssh-agent] Looking for ssh-agent implementation... 20:10:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:25 $ docker exec a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f ssh-agent 20:10:26 SSH_AUTH_SOCK=/tmp/ssh-ghBuJkDVHIRh/agent.32 20:10:26 SSH_AGENT_PID=39 20:10:26 Running ssh-add (command line suppressed) 20:10:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5664592662558086829.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5664592662558086829.key) 20:10:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:26 + git semver bump pre 20:10:26 2022-10-26 20:10:26,607 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:10:26 2022-10-26 20:10:26,608 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev 20:10:26 2022-10-26 20:10:26,608 [bump_version] DEBUG bumped version:2.3.0-dev.23 20:10:26 2022-10-26 20:10:26,608 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:10:26 2022-10-26 20:10:26,608 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:10:26 2022-10-26 20:10:26,608 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:10:26 2022-10-26 20:10:26,610 [execute] INFO git cat-file --batch-check 20:10:26 2022-10-26 20:10:26,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:10:26 2022-10-26 20:10:26,616 [execute] INFO git cat-file --batch 20:10:26 2022-10-26 20:10:26,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:10:26 2022-10-26 20:10:26,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:10:26 2.3.0-dev.23 [Pipeline] } 20:10:26 $ docker exec --env ******** --env ******** a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f ssh-agent -k 20:10:26 unset SSH_AUTH_SOCK; 20:10:26 unset SSH_AGENT_PID; 20:10:26 echo Agent pid 39 killed; 20:10:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:10:27 + git semver [Pipeline] } 20:10:27 $ docker stop --time=1 a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f 20:10:28 $ docker rm -f a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f [Pipeline] // withDockerContainer [Pipeline] sh 20:10:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:10:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:29 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:10:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:10:29 $ docker top 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d -eo pid,comm 20:10:29 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). 20:10:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:10:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:29 [ssh-agent] Looking for ssh-agent implementation... 20:10:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:29 $ docker exec 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d ssh-agent 20:10:30 SSH_AUTH_SOCK=/tmp/ssh-QzdIloV54Vdz/agent.33 20:10:30 SSH_AGENT_PID=39 20:10:30 Running ssh-add (command line suppressed) 20:10:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1523725536660539103.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1523725536660539103.key) 20:10:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:30 + git semver push 20:10:30 2022-10-26 20:10:30,684 [run_push] DEBUG push 20:10:30 2022-10-26 20:10:30,684 [execute] INFO git cat-file --batch-check 20:10:30 2022-10-26 20:10:30,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:10:30 2022-10-26 20:10:30,687 [execute] INFO git rev-list f2a6bc6683979b9ace5840eaf8663100ff30c723 -- 20:10:30 2022-10-26 20:10:30,687 [execute] DEBUG Popen(['git', 'rev-list', 'f2a6bc6683979b9ace5840eaf8663100ff30c723', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:10:30 2022-10-26 20:10:30,695 [execute] INFO git fetch -v origin 20:10:30 2022-10-26 20:10:30,695 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:10:31 2022-10-26 20:10:31,413 [run_push] DEBUG no remote changes detected 20:10:31 2022-10-26 20:10:31,414 [execute] INFO git push origin semver 20:10:31 2022-10-26 20:10:31,414 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:10:32 2022-10-26 20:10:32,284 [run_push] DEBUG push all version tags 20:10:32 2022-10-26 20:10:32,284 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:10:32 2022-10-26 20:10:32,285 [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) 20:10:33 2022-10-26 20:10:33,097 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:10:33 2.3.0-dev.23 [Pipeline] } 20:10:33 $ docker exec --env ******** --env ******** 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d ssh-agent -k 20:10:33 unset SSH_AUTH_SOCK; 20:10:33 unset SSH_AGENT_PID; 20:10:33 echo Agent pid 39 killed; 20:10:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:10:33 + git semver [Pipeline] } 20:10:33 $ docker stop --time=1 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d 20:10:35 $ docker rm -f 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d [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 20:10:35 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:10:35 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:10:35 total 16 20:10:35 drwxr-xr-x 3 root root 4096 Oct 26 20:04 . 20:10:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:10 .. 20:10:35 drwxr-xr-x 2 root root 4096 Oct 26 20:04 cost 20:10:35 -rw-r--r-- 1 root root 86 Oct 26 20:04 cost.csv 20:10:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:10:35 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:10:35 total 16 20:10:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:04 . 20:10:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:10 .. 20:10:35 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:04 cost 20:10:35 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:10:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:10:36 ---> package-listing.sh 20:10:36 ++ facter osfamily 20:10:36 ++ tr '[:upper:]' '[:lower:]' 20:10:37 + OS_FAMILY=debian 20:10:37 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:10:37 + START_PACKAGES=/tmp/packages_start.txt 20:10:37 + END_PACKAGES=/tmp/packages_end.txt 20:10:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:10:37 + PACKAGES=/tmp/packages_start.txt 20:10:37 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:10:37 + PACKAGES=/tmp/packages_end.txt 20:10:37 + case "${OS_FAMILY}" in 20:10:37 + dpkg -l 20:10:37 + grep '^ii' 20:10:37 + '[' -f /tmp/packages_start.txt ']' 20:10:37 + '[' -f /tmp/packages_end.txt ']' 20:10:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:10:37 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:10:37 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:10:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:10:37 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 20:10:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:38 prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container 20:10:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:10:38 $ docker top faf69e10d1e3fee8dbd84995a6e46de026bed0a3d225d143ffd4efdc9a2c6e2f -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:38 + touch /tmp/pre-build-complete [Pipeline] sh 20:10:39 + mkdir -p /var/log/sysstat [Pipeline] sh 20:10:39 + ls /var/log/sa-host 20:10:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:39 provisioning config files... 20:10:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1378856357121685782tmp [Pipeline] { [Pipeline] echo 20:10:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:10:39 ---> create-netrc.sh [Pipeline] } 20:10:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:10:39 ---> python-tools-install.sh [Pipeline] echo 20:10:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:10:40 ---> sudo-logs.sh 20:10:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:10:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:10:40 ---> job-cost.sh 20:10:40 lf-activate-venv: SKIPPING 20:10:40 DEBUG: total: 0.2199999988079071 20:10:40 INFO: Retrieving Stack Cost... 20:10:40 INFO: Retrieving Pricing Info for: v3-standard-8 20:10:41 INFO: Archiving Costs [Pipeline] echo 20:10:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:10:41 ---> logs-deploy.sh 20:10:41 lf-activate-venv: SKIPPING 20:10:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/68 20:10:41 INFO: archiving workspace using pattern(s): 20:10:42 Archives upload complete. 20:10:42 INFO: archiving logs to Nexus