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 [2022-10-26T20:02:02.616Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:02:02.676Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:02:02.694Z] ========================================================= [2022-10-26T20:02:02.694Z] EdgeX Global Pipelines Version Info [2022-10-26T20:02:02.694Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:02:03.404Z] ------------------- [2022-10-26T20:02:03.404Z] stable info: [2022-10-26T20:02:03.404Z] ------------------- [2022-10-26T20:02:03.404Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:02:03.404Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:02:03.404Z] Message: update stable to v1.0.243 [2022-10-26T20:02:03.974Z] ------------------- [2022-10-26T20:02:03.974Z] experimental info: [2022-10-26T20:02:03.974Z] ------------------- [2022-10-26T20:02:03.974Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:02:03.974Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:02:03.974Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:02:04.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-26T20:02:04.152Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-26T20:02:04.166Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:02:04.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:02:04.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:02:04.197Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:02:04.208Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:02:04.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:02:04.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:02:04.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:02:04.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:02:04.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-26T20:02:04.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:02:04.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:02:04.313Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:02:04.326Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:02:04.342Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:02:04.356Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:02:04.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:02:04.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:02:04.396Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:02:04.406Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:02:04.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:02:04.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:02:04.447Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:02:04.458Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:02:04.467Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:02:04.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-26T20:02:04.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-26T20:02:04.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-26T20:02:04.501Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo [2022-10-26T20:02:04.509Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 811e528 [Pipeline] echo [2022-10-26T20:02:04.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:02:04.548Z] provisioning config files... [2022-10-26T20:02:04.562Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5197014538438652420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:02:04.866Z] ---> docker-login.sh [2022-10-26T20:02:04.866Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:02:05.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:05.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:05.126Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:05.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:05.126Z] [2022-10-26T20:02:05.126Z] Login Succeeded [2022-10-26T20:02:05.126Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:02:05.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:05.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:05.126Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:05.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:05.126Z] [2022-10-26T20:02:05.126Z] Login Succeeded [2022-10-26T20:02:05.385Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:02:05.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:05.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:05.385Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:05.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:05.385Z] [2022-10-26T20:02:05.385Z] Login Succeeded [2022-10-26T20:02:05.385Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:02:05.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:05.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:05.645Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:05.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:05.645Z] [2022-10-26T20:02:05.645Z] Login Succeeded [2022-10-26T20:02:05.645Z] docker.io [2022-10-26T20:02:05.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:05.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:05.904Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:05.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:05.904Z] [2022-10-26T20:02:05.904Z] Login Succeeded [2022-10-26T20:02:05.904Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:02:05.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:02:06.269Z] + git rev-list -1 --merges 811e52826d6202cae27d826a4f6ae05b050034a3~1..811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo [2022-10-26T20:02:06.302Z] -----------> git rev-list -1 --merges 811e52826d6202cae27d826a4f6ae05b050034a3~1..811e52826d6202cae27d826a4f6ae05b050034a3 811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:02:06.302Z] 811e52826d6202cae27d826a4f6ae05b050034a3 [false] [Pipeline] sh [2022-10-26T20:02:06.593Z] + git log --format=format:%s -1 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo [2022-10-26T20:02:06.607Z] ========================================================= [2022-10-26T20:02:06.607Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:02:06.607Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:02:06.936Z] + git log --format=format:%s -1 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] echo [2022-10-26T20:02:06.947Z] [semverPrep] GIT_COMMIT: 811e52826d6202cae27d826a4f6ae05b050034a3, Commit Message: Merge pull request #224 from ejlee3/go-mods-config-docker [Pipeline] echo [2022-10-26T20:02:06.957Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:02:07.333Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:02:07.333Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:02:07.333Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:02:07.333Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:02:07.333Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:02:07.333Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:02:07.333Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:02:07.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:02:07.733Z] [2022-10-26T20:02:07.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:02:08.036Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:02:08.036Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:02:08.036Z] b85a868b505f: Pulling fs layer [2022-10-26T20:02:08.036Z] e2be974225ed: Pulling fs layer [2022-10-26T20:02:08.036Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:02:08.036Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:02:08.036Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:02:08.036Z] eaf3925da568: Pulling fs layer [2022-10-26T20:02:08.036Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:02:08.036Z] 988bab9f4d93: Waiting [2022-10-26T20:02:08.036Z] 1469e6f7b9e6: Waiting [2022-10-26T20:02:08.036Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:02:08.036Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:02:08.036Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:02:08.036Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:02:08.036Z] bde34c3a00c8: Waiting [2022-10-26T20:02:08.036Z] b352a97aabf1: Waiting [2022-10-26T20:02:08.036Z] bab4dde63d76: Waiting [2022-10-26T20:02:08.036Z] e2be974225ed: Verifying Checksum [2022-10-26T20:02:08.036Z] e2be974225ed: Download complete [2022-10-26T20:02:08.036Z] 988bab9f4d93: Verifying Checksum [2022-10-26T20:02:08.036Z] 988bab9f4d93: Download complete [2022-10-26T20:02:08.294Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:02:08.294Z] 1469e6f7b9e6: Download complete [2022-10-26T20:02:08.294Z] eaf3925da568: Verifying Checksum [2022-10-26T20:02:08.294Z] eaf3925da568: Download complete [2022-10-26T20:02:08.294Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:02:08.294Z] 339a4e72a1f5: Download complete [2022-10-26T20:02:08.294Z] bde34c3a00c8: Download complete [2022-10-26T20:02:08.294Z] b352a97aabf1: Verifying Checksum [2022-10-26T20:02:08.294Z] b352a97aabf1: Download complete [2022-10-26T20:02:08.294Z] 4872d77fe225: Verifying Checksum [2022-10-26T20:02:08.294Z] 4872d77fe225: Download complete [2022-10-26T20:02:08.294Z] 5851b861e8e6: Download complete [2022-10-26T20:02:08.294Z] b85a868b505f: Verifying Checksum [2022-10-26T20:02:08.294Z] b85a868b505f: Download complete [2022-10-26T20:02:08.553Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:02:08.553Z] bab4dde63d76: Download complete [2022-10-26T20:02:09.489Z] b85a868b505f: Pull complete [2022-10-26T20:02:09.748Z] e2be974225ed: Pull complete [2022-10-26T20:02:10.317Z] 339a4e72a1f5: Pull complete [2022-10-26T20:02:10.317Z] 988bab9f4d93: Pull complete [2022-10-26T20:02:10.577Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:02:10.577Z] eaf3925da568: Pull complete [2022-10-26T20:02:12.485Z] bab4dde63d76: Pull complete [2022-10-26T20:02:12.485Z] bde34c3a00c8: Pull complete [2022-10-26T20:02:12.485Z] b352a97aabf1: Pull complete [2022-10-26T20:02:12.745Z] 4872d77fe225: Pull complete [2022-10-26T20:02:12.745Z] 5851b861e8e6: Pull complete [2022-10-26T20:02:12.745Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:02:12.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:02:12.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:02:12.841Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:02:12.873Z] $ 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 [2022-10-26T20:02:14.201Z] $ docker top 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 -eo pid,comm [2022-10-26T20:02:14.263Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-26T20:02:14.263Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:02:14.300Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:02:14.300Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:02:14.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:02:14.429Z] $ docker exec 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent [2022-10-26T20:02:14.542Z] SSH_AUTH_SOCK=/tmp/ssh-BObjEtH6q3CP/agent.31 [2022-10-26T20:02:14.542Z] SSH_AGENT_PID=37 [2022-10-26T20:02:14.549Z] Running ssh-add (command line suppressed) [2022-10-26T20:02:14.659Z] 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) [2022-10-26T20:02:14.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:02:14.965Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:02:14.980Z] $ docker exec --env ******** --env ******** 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent -k [2022-10-26T20:02:15.092Z] unset SSH_AUTH_SOCK; [2022-10-26T20:02:15.092Z] unset SSH_AGENT_PID; [2022-10-26T20:02:15.092Z] echo Agent pid 37 killed; [2022-10-26T20:02:15.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:02:15.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:02:15.130Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:02:15.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:02:15.266Z] $ docker exec 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent [2022-10-26T20:02:15.379Z] SSH_AUTH_SOCK=/tmp/ssh-lc1wjExWulRb/agent.69 [2022-10-26T20:02:15.379Z] SSH_AGENT_PID=75 [2022-10-26T20:02:15.384Z] Running ssh-add (command line suppressed) [2022-10-26T20:02:15.492Z] 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) [2022-10-26T20:02:15.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:02:15.797Z] + git semver init [2022-10-26T20:02:16.056Z] 2022-10-26 20:02:15,987 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:02:16.056Z] 2022-10-26 20:02:15,987 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-26T20:02:16.056Z] 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 [2022-10-26T20:02:16.056Z] 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) [2022-10-26T20:02:17.436Z] 2022-10-26 20:02:17,155 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-10-26T20:02:17.436Z] 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 [2022-10-26T20:02:17.436Z] 2022-10-26 20:02:17,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:02:17.436Z] 2022-10-26 20:02:17,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:02:17.436Z] 2.3.0-dev.22 [Pipeline] } [2022-10-26T20:02:17.447Z] $ docker exec --env ******** --env ******** 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 ssh-agent -k [2022-10-26T20:02:17.540Z] unset SSH_AUTH_SOCK; [2022-10-26T20:02:17.541Z] unset SSH_AGENT_PID; [2022-10-26T20:02:17.541Z] echo Agent pid 75 killed; [2022-10-26T20:02:17.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:02:17.858Z] + git semver [Pipeline] } [2022-10-26T20:02:18.131Z] $ docker stop --time=1 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 [2022-10-26T20:02:19.481Z] $ docker rm -f 2bbe89e9a2bb4d0515582d151be73a822e58f465d678e6a6832ae3327d7d5ee1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:02:19.817Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:02:19.996Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:02:19.999Z] [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 [2022-10-26T20:02:20.119Z] provisioning config files... [2022-10-26T20:02:20.128Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11266538353483258839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:02:20.346Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117284 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-10-26T20:02:20.358Z] Running in /w/workspace/device-rest-go/68 [Pipeline] { [Pipeline] checkout [2022-10-26T20:02:20.385Z] The recommended git tool is: git [2022-10-26T20:02:20.429Z] ---> docker-login.sh [2022-10-26T20:02:20.429Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:02:20.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:20.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:20.429Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:20.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:20.429Z] [2022-10-26T20:02:20.429Z] Login Succeeded [2022-10-26T20:02:20.429Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:02:20.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:20.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:20.429Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:20.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:20.429Z] [2022-10-26T20:02:20.429Z] Login Succeeded [2022-10-26T20:02:20.429Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:02:20.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:20.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:20.688Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:20.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:20.688Z] [2022-10-26T20:02:20.688Z] Login Succeeded [2022-10-26T20:02:20.688Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:02:20.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:20.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:20.688Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:20.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:20.688Z] [2022-10-26T20:02:20.688Z] Login Succeeded [2022-10-26T20:02:20.688Z] docker.io [2022-10-26T20:02:20.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:21.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:21.205Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:21.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:21.205Z] [2022-10-26T20:02:21.205Z] Login Succeeded [2022-10-26T20:02:21.205Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:02:21.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:02:21.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:02:21.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:02:21.301Z] ========================================================= [2022-10-26T20:02:21.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:02:21.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:02:21.603Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T20:02:21.603Z] Sending build context to Docker daemon 10.75MB [2022-10-26T20:02:21.603Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:02:21.603Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:02:21.603Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:02:21.603Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:02:21.603Z] 4583459ba037: Pulling fs layer [2022-10-26T20:02:21.603Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:02:21.603Z] 53926ce57604: Pulling fs layer [2022-10-26T20:02:21.603Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:02:21.603Z] 30f14e443154: Pulling fs layer [2022-10-26T20:02:21.603Z] 801331c1e519: Pulling fs layer [2022-10-26T20:02:21.603Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:02:21.603Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:02:21.603Z] 30f14e443154: Waiting [2022-10-26T20:02:21.603Z] 801331c1e519: Waiting [2022-10-26T20:02:21.603Z] 99cc6dd402b0: Waiting [2022-10-26T20:02:21.603Z] 7d9ed39f4882: Waiting [2022-10-26T20:02:21.603Z] 53926ce57604: Waiting [2022-10-26T20:02:21.603Z] 93c1e223e6f2: Download complete [2022-10-26T20:02:21.603Z] 4583459ba037: Verifying Checksum [2022-10-26T20:02:21.603Z] 4583459ba037: Download complete [2022-10-26T20:02:21.863Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:02:21.863Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:02:21.863Z] 30f14e443154: Download complete [2022-10-26T20:02:21.863Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:02:21.863Z] 213ec9aee27d: Download complete [2022-10-26T20:02:21.863Z] 801331c1e519: Download complete [2022-10-26T20:02:21.863Z] 213ec9aee27d: Pull complete [2022-10-26T20:02:22.128Z] 4583459ba037: Pull complete [2022-10-26T20:02:22.128Z] 93c1e223e6f2: Pull complete [2022-10-26T20:02:22.389Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:02:22.389Z] 7d9ed39f4882: Download complete [2022-10-26T20:02:22.389Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:02:22.389Z] 99cc6dd402b0: Download complete [2022-10-26T20:02:22.647Z] 53926ce57604: Verifying Checksum [2022-10-26T20:02:22.647Z] 53926ce57604: Download complete [2022-10-26T20:02:25.266Z] using credential edgex-jenkins-ssh [2022-10-26T20:02:25.284Z] Cloning the remote Git repository [2022-10-26T20:02:25.326Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T20:02:25.409Z] > git init /w/workspace/device-rest-go/68 # timeout=10 [2022-10-26T20:02:25.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T20:02:25.562Z] > git --version # timeout=10 [2022-10-26T20:02:25.589Z] > git --version # 'git version 2.25.1' [2022-10-26T20:02:25.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:02:25.638Z] Verifying host key using known hosts file [2022-10-26T20:02:25.821Z] 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. [2022-10-26T20:02:25.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:02:26.831Z] 53926ce57604: Pull complete [2022-10-26T20:02:26.831Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:02:26.831Z] 30f14e443154: Pull complete [2022-10-26T20:02:26.831Z] 801331c1e519: Pull complete [2022-10-26T20:02:27.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-26T20:02:27.675Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:02:28.470Z] Avoid second fetch [2022-10-26T20:02:28.470Z] Checking out Revision 811e52826d6202cae27d826a4f6ae05b050034a3 (main) [2022-10-26T20:02:28.929Z] Commit message: "Merge pull request #224 from ejlee3/go-mods-config-docker" [2022-10-26T20:02:28.484Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:02:28.500Z] > git checkout -f 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:02:29.358Z] 99cc6dd402b0: Pull complete [2022-10-26T20:02:29.617Z] 7d9ed39f4882: Pull complete [2022-10-26T20:02:29.617Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:02:29.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:02:29.617Z] ---> 1dedd983c030 [2022-10-26T20:02:29.617Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:02:29.796Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:02:29.797Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:02:29.797Z] Dload Upload Total Spent Left Speed [2022-10-26T20:02:29.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh [2022-10-26T20:02:30.454Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:02:30.778Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-10-26T20:02:30.778Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:02:30.778Z] { [2022-10-26T20:02:30.778Z] "registry-mirrors": [ [2022-10-26T20:02:30.778Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:02:30.778Z] ], [2022-10-26T20:02:30.778Z] "bip": "10.250.0.254/24", [2022-10-26T20:02:30.778Z] "hosts": [ [2022-10-26T20:02:30.778Z] "tcp://0.0.0.0:5555", [2022-10-26T20:02:30.778Z] "unix:///var/run/docker.sock" [2022-10-26T20:02:30.778Z] ], [2022-10-26T20:02:30.778Z] "mtu": 1458, [2022-10-26T20:02:30.778Z] "selinux-enabled": true, [2022-10-26T20:02:30.778Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:02:30.778Z] } [Pipeline] sh [2022-10-26T20:02:31.106Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:02:31.439Z] + sudo service docker restart [2022-10-26T20:02:31.623Z] ---> Running in f913041af2fb [2022-10-26T20:02:31.623Z] Removing intermediate container f913041af2fb [2022-10-26T20:02:31.623Z] ---> d8a3505be533 [2022-10-26T20:02:31.623Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:02:31.623Z] ---> Running in fc6b327790a6 [2022-10-26T20:02:31.623Z] Removing intermediate container fc6b327790a6 [2022-10-26T20:02:31.623Z] ---> b872b0b502f2 [2022-10-26T20:02:31.623Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:02:31.623Z] ---> Running in 406e8c824d9d [2022-10-26T20:02:31.623Z] Removing intermediate container 406e8c824d9d [2022-10-26T20:02:31.623Z] ---> b4bbbbaa41ba [2022-10-26T20:02:31.623Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:02:31.623Z] ---> Running in 00f44703ebd9 [2022-10-26T20:02:31.882Z] Removing intermediate container 00f44703ebd9 [2022-10-26T20:02:31.882Z] ---> b36e8393792d [2022-10-26T20:02:31.882Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:02:31.882Z] ---> Running in f953dfd76b74 [2022-10-26T20:02:32.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:02:32.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:02:32.401Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:02:32.401Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:02:32.401Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:02:32.401Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:02:32.401Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:02:32.401Z] OK: 216 MiB in 55 packages [2022-10-26T20:02:32.970Z] Removing intermediate container f953dfd76b74 [2022-10-26T20:02:32.970Z] ---> b100a5fd229d [2022-10-26T20:02:32.970Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-26T20:02:32.970Z] ---> Running in c5fb6a55f054 [2022-10-26T20:02:33.229Z] Removing intermediate container c5fb6a55f054 [2022-10-26T20:02:33.229Z] ---> 6dbaec9a5858 [2022-10-26T20:02:33.229Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T20:02:33.229Z] ---> f772bc485c95 [2022-10-26T20:02:33.229Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:02:33.229Z] ---> Running in d0bb7f9b66ca [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:02:49.692Z] provisioning config files... [2022-10-26T20:02:49.722Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/68@tmp/config927768100678508010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:02:50.091Z] ---> docker-login.sh [2022-10-26T20:02:50.091Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:02:50.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:50.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:50.685Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:50.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:50.685Z] [2022-10-26T20:02:50.685Z] Login Succeeded [2022-10-26T20:02:50.685Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:02:50.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:51.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:51.224Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:51.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:51.224Z] [2022-10-26T20:02:51.224Z] Login Succeeded [2022-10-26T20:02:51.224Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:02:51.329Z] Removing intermediate container d0bb7f9b66ca [2022-10-26T20:02:51.329Z] ---> 16e292fbe24c [2022-10-26T20:02:51.329Z] Step 11/12 : COPY . . [2022-10-26T20:02:51.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:51.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:51.494Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:51.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:51.494Z] [2022-10-26T20:02:51.494Z] Login Succeeded [2022-10-26T20:02:51.494Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:02:51.588Z] ---> c23cb34669c8 [2022-10-26T20:02:51.588Z] Step 12/12 : RUN $MAKE [2022-10-26T20:02:51.588Z] ---> Running in dd51320c9134 [2022-10-26T20:02:51.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:51.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:51.763Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:51.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:51.763Z] [2022-10-26T20:02:51.763Z] Login Succeeded [2022-10-26T20:02:51.763Z] docker.io [2022-10-26T20:02:51.846Z] noop [2022-10-26T20:02:52.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:02:52.104Z] Removing intermediate container dd51320c9134 [2022-10-26T20:02:52.104Z] ---> 1de78e8a123b [2022-10-26T20:02:52.104Z] Successfully built 1de78e8a123b [2022-10-26T20:02:52.104Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:02:52.416Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:02:52.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:02:52.491Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:02:52.524Z] $ 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 [2022-10-26T20:02:52.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:02:52.620Z] Configure a credential helper to remove this warning. See [2022-10-26T20:02:52.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:02:52.620Z] [2022-10-26T20:02:52.620Z] Login Succeeded [2022-10-26T20:02:52.620Z] ---> docker-login.sh ends [2022-10-26T20:02:52.938Z] $ docker top 84dbcd59ff51a897eb6a33bf36ee20fff821eaa33d35500d7c113d83960151aa -eo pid,comm [Pipeline] { [Pipeline] } [2022-10-26T20:02:53.006Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:02:53.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:02:53.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:02:53.205Z] ========================================================= [2022-10-26T20:02:53.205Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:02:53.205Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:02:53.292Z] + go version [2022-10-26T20:02:53.293Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:02:53.304Z] $ docker stop --time=1 84dbcd59ff51a897eb6a33bf36ee20fff821eaa33d35500d7c113d83960151aa [2022-10-26T20:02:53.546Z] + 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 . [2022-10-26T20:02:53.546Z] Sending build context to Docker daemon 128kB [2022-10-26T20:02:53.814Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:02:53.814Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:02:53.814Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:02:53.814Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:02:53.814Z] d32db5db7311: Pulling fs layer [2022-10-26T20:02:53.814Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:02:53.814Z] 5831b945b038: Pulling fs layer [2022-10-26T20:02:53.814Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:02:53.814Z] e10730c5d714: Pulling fs layer [2022-10-26T20:02:53.814Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:02:53.814Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:02:53.814Z] e10730c5d714: Waiting [2022-10-26T20:02:53.814Z] 5831b945b038: Waiting [2022-10-26T20:02:53.814Z] 5dd5c2283517: Waiting [2022-10-26T20:02:53.814Z] 86bbec2aaacd: Waiting [2022-10-26T20:02:53.814Z] d5ac0230b979: Waiting [2022-10-26T20:02:54.084Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:02:54.084Z] d0c4b47475fc: Download complete [2022-10-26T20:02:54.084Z] d32db5db7311: Download complete [2022-10-26T20:02:54.084Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:02:54.084Z] 86bbec2aaacd: Download complete [2022-10-26T20:02:54.084Z] e10730c5d714: Verifying Checksum [2022-10-26T20:02:54.084Z] e10730c5d714: Download complete [2022-10-26T20:02:54.084Z] 9b18e9b68314: Verifying Checksum [2022-10-26T20:02:54.084Z] 9b18e9b68314: Download complete [2022-10-26T20:02:54.608Z] $ docker rm -f 84dbcd59ff51a897eb6a33bf36ee20fff821eaa33d35500d7c113d83960151aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2022-10-26T20:02:54.690Z] 9b18e9b68314: Pull complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:02:55.014Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:02:55.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:02:55.084Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:02:55.115Z] $ 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 [2022-10-26T20:02:55.300Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:02:55.300Z] d5ac0230b979: Download complete [2022-10-26T20:02:55.300Z] d32db5db7311: Pull complete [2022-10-26T20:02:55.531Z] $ docker top 5406da36266ab4595668bd1ac937f4872c9d27b7d40bd548a182d8edad47757c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:02:55.881Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [2022-10-26T20:02:55.894Z] d0c4b47475fc: Pull complete [Pipeline] sh [2022-10-26T20:02:56.164Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:02:56.164Z] 5dd5c2283517: Download complete [2022-10-26T20:02:56.180Z] + make test [2022-10-26T20:02:56.180Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:02:56.746Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T20:02:57.129Z] 5831b945b038: Verifying Checksum [2022-10-26T20:02:57.129Z] 5831b945b038: Download complete [2022-10-26T20:03:06.717Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T20:03:06.975Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 55.2% of statements [2022-10-26T20:03:09.479Z] 5831b945b038: Pull complete [2022-10-26T20:03:09.479Z] 86bbec2aaacd: Pull complete [2022-10-26T20:03:09.479Z] e10730c5d714: Pull complete [2022-10-26T20:03:14.848Z] 5dd5c2283517: Pull complete [2022-10-26T20:03:15.075Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T20:03:15.075Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:03:16.800Z] d5ac0230b979: Pull complete [2022-10-26T20:03:16.800Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:03:16.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:03:16.800Z] ---> 59b3b1a385d4 [2022-10-26T20:03:16.800Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:03:18.359Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:03:18.359Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:03:18.359Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:03:18.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:03:18.384Z] $ docker stop --time=1 5406da36266ab4595668bd1ac937f4872c9d27b7d40bd548a182d8edad47757c [2022-10-26T20:03:18.752Z] ---> Running in 5ebae696eb66 [2022-10-26T20:03:18.752Z] Removing intermediate container 5ebae696eb66 [2022-10-26T20:03:18.752Z] ---> 9de20af1c4b4 [2022-10-26T20:03:18.752Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:03:19.021Z] ---> Running in a8c63c340b3c [2022-10-26T20:03:19.288Z] Removing intermediate container a8c63c340b3c [2022-10-26T20:03:19.288Z] ---> 18a11dd363fc [2022-10-26T20:03:19.288Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:03:19.288Z] ---> Running in cf263081efa2 [2022-10-26T20:03:19.558Z] Removing intermediate container cf263081efa2 [2022-10-26T20:03:19.558Z] ---> cfe161f5c12f [2022-10-26T20:03:19.558Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:03:19.558Z] ---> Running in a8565054470f [2022-10-26T20:03:19.826Z] Removing intermediate container a8565054470f [2022-10-26T20:03:19.826Z] ---> 69c48e056413 [2022-10-26T20:03:19.826Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:03:20.095Z] ---> Running in 96d86e6e0ce8 [2022-10-26T20:03:20.166Z] $ docker rm -f 5406da36266ab4595668bd1ac937f4872c9d27b7d40bd548a182d8edad47757c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:03:20.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:03:20.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:03:21.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:03:21.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:03:21.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:03:21.441Z] + ls -al . [2022-10-26T20:03:21.441Z] total 184 [2022-10-26T20:03:21.441Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:02 . [2022-10-26T20:03:21.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 .. [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:02 .dockerignore [2022-10-26T20:03:21.441Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:03 .git [2022-10-26T20:03:21.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 .github [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 20:02 .gitignore [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:02 .golangci.yml [2022-10-26T20:03:21.441Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:02 .semver [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 20:02 Attribution.txt [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 20:02 CHANGELOG.md [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 20:02 Dockerfile [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:02 GOVERNANCE.md [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:02 Jenkinsfile [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:02 LICENSE [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 20:02 Makefile [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:02 OWNERS.md [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 20:02 README.md [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:02 VERSION [2022-10-26T20:03:21.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 bin [2022-10-26T20:03:21.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 cmd [2022-10-26T20:03:21.441Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 20:03 coverage.out [2022-10-26T20:03:21.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 driver [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 20:02 go.mod [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 44967 Oct 26 20:02 go.sum [2022-10-26T20:03:21.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 snap [2022-10-26T20:03:21.441Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:21.751Z] + 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 . [2022-10-26T20:03:21.751Z] Sending build context to Docker daemon 10.76MB [2022-10-26T20:03:21.751Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:03:21.751Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T20:03:21.751Z] ---> 1de78e8a123b [2022-10-26T20:03:21.751Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:03:21.751Z] ---> Running in 26ded73a4f08 [2022-10-26T20:03:22.009Z] Removing intermediate container 26ded73a4f08 [2022-10-26T20:03:22.009Z] ---> c5b16115ed02 [2022-10-26T20:03:22.009Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:03:22.010Z] ---> Running in c6f035307811 [2022-10-26T20:03:22.010Z] Removing intermediate container c6f035307811 [2022-10-26T20:03:22.010Z] ---> 037cd15f8c32 [2022-10-26T20:03:22.010Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:03:22.010Z] ---> Running in f50aa916ec12 [2022-10-26T20:03:22.268Z] Removing intermediate container f50aa916ec12 [2022-10-26T20:03:22.268Z] ---> 33ee112fee41 [2022-10-26T20:03:22.268Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:03:22.268Z] ---> Running in 309b30816adc [2022-10-26T20:03:22.268Z] Removing intermediate container 309b30816adc [2022-10-26T20:03:22.268Z] ---> 1c3c0466f92d [2022-10-26T20:03:22.268Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:03:22.268Z] ---> Running in 9ea05ff954b4 [2022-10-26T20:03:22.293Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:03:22.293Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:03:22.293Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:03:22.293Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:03:22.293Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:03:22.293Z] OK: 226 MiB in 55 packages [2022-10-26T20:03:22.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:03:22.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:03:22.836Z] OK: 216 MiB in 55 packages [2022-10-26T20:03:23.256Z] Removing intermediate container 96d86e6e0ce8 [2022-10-26T20:03:23.256Z] ---> 149b10aeaba6 [2022-10-26T20:03:23.256Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-26T20:03:23.256Z] ---> Running in cd72cc6a686d [2022-10-26T20:03:23.404Z] Removing intermediate container 9ea05ff954b4 [2022-10-26T20:03:23.404Z] ---> 20f3d76f2225 [2022-10-26T20:03:23.404Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-26T20:03:23.404Z] ---> Running in 9ed784487f99 [2022-10-26T20:03:23.404Z] Removing intermediate container 9ed784487f99 [2022-10-26T20:03:23.404Z] ---> 7b1d5719d878 [2022-10-26T20:03:23.404Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-26T20:03:23.525Z] Removing intermediate container cd72cc6a686d [2022-10-26T20:03:23.525Z] ---> 76c35cf54c86 [2022-10-26T20:03:23.525Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T20:03:23.662Z] ---> e1f15e3205a0 [2022-10-26T20:03:23.662Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:03:23.662Z] ---> Running in 1f87a17dc37f [2022-10-26T20:03:24.112Z] ---> c28f04c994a6 [2022-10-26T20:03:24.112Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:03:24.112Z] ---> Running in 6af38495aa17 [2022-10-26T20:03:24.230Z] Removing intermediate container 1f87a17dc37f [2022-10-26T20:03:24.230Z] ---> 2d024bf6f694 [2022-10-26T20:03:24.230Z] Step 11/25 : COPY . . [2022-10-26T20:03:24.798Z] ---> 725c47845940 [2022-10-26T20:03:24.799Z] Step 12/25 : RUN $MAKE [2022-10-26T20:03:24.799Z] ---> Running in 56b271df966d [2022-10-26T20:03:24.799Z] 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 [2022-10-26T20:03:46.737Z] Removing intermediate container 56b271df966d [2022-10-26T20:03:46.737Z] ---> 81dc299e004c [2022-10-26T20:03:46.737Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T20:03:46.737Z] 3.16: Pulling from library/alpine [2022-10-26T20:03:46.737Z] 213ec9aee27d: Already exists [2022-10-26T20:03:46.737Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:03:46.737Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:03:46.737Z] ---> 9c6f07244728 [2022-10-26T20:03:46.737Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T20:03:46.737Z] ---> Running in 40a0294e4c6a [2022-10-26T20:03:47.028Z] Removing intermediate container 40a0294e4c6a [2022-10-26T20:03:47.028Z] ---> ab7dfa7d95f6 [2022-10-26T20:03:47.028Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T20:03:47.028Z] ---> Running in 34092995b018 [2022-10-26T20:03:47.028Z] Removing intermediate container 34092995b018 [2022-10-26T20:03:47.028Z] ---> 3be38594f385 [2022-10-26T20:03:47.028Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:03:47.309Z] ---> Running in 280a719c1914 [2022-10-26T20:03:47.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:03:47.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:03:47.868Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:03:47.868Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:03:47.868Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:03:47.868Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:03:47.868Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:03:47.868Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:03:47.868Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:03:47.868Z] OK: 8 MiB in 20 packages [2022-10-26T20:03:48.443Z] Removing intermediate container 280a719c1914 [2022-10-26T20:03:48.443Z] ---> 291ee60cb199 [2022-10-26T20:03:48.443Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T20:03:49.011Z] ---> 654906ec6f9e [2022-10-26T20:03:49.011Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T20:03:49.011Z] ---> f0360f4e5e72 [2022-10-26T20:03:49.011Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T20:03:49.270Z] ---> 44710274fbdd [2022-10-26T20:03:49.270Z] Step 20/25 : EXPOSE 59986 [2022-10-26T20:03:49.270Z] ---> Running in 307f5bdbf0fc [2022-10-26T20:03:49.270Z] Removing intermediate container 307f5bdbf0fc [2022-10-26T20:03:49.270Z] ---> de4b0b202e64 [2022-10-26T20:03:49.270Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-26T20:03:49.270Z] ---> Running in 7e612372706a [2022-10-26T20:03:49.528Z] Removing intermediate container 7e612372706a [2022-10-26T20:03:49.528Z] ---> fa92d986d28b [2022-10-26T20:03:49.528Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T20:03:49.528Z] ---> Running in f3b66161c3e1 [2022-10-26T20:03:49.528Z] Removing intermediate container f3b66161c3e1 [2022-10-26T20:03:49.528Z] ---> e318a68ae787 [2022-10-26T20:03:49.528Z] Step 23/25 : LABEL arch=amd64 [2022-10-26T20:03:49.528Z] ---> Running in b8c6cc43ee70 [2022-10-26T20:03:49.794Z] Removing intermediate container b8c6cc43ee70 [2022-10-26T20:03:49.794Z] ---> 09d1de5e7321 [2022-10-26T20:03:49.794Z] Step 24/25 : LABEL git_sha=811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:03:49.794Z] ---> Running in b40987b846d5 [2022-10-26T20:03:49.794Z] Removing intermediate container b40987b846d5 [2022-10-26T20:03:49.794Z] ---> 9da56e26f2e7 [2022-10-26T20:03:49.794Z] Step 25/25 : LABEL version=2.3.0-dev.22 [2022-10-26T20:03:50.052Z] ---> Running in f11bdc76cf41 [2022-10-26T20:03:50.052Z] Removing intermediate container f11bdc76cf41 [2022-10-26T20:03:50.052Z] ---> 62b6bff2c005 [2022-10-26T20:03:50.052Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:03:50.052Z] Successfully built 62b6bff2c005 [2022-10-26T20:03:50.052Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:03:50.148Z] provisioning config files... [2022-10-26T20:03:50.158Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2432718871401149636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:03:50.454Z] ---> docker-login.sh [2022-10-26T20:03:50.454Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:03:50.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:03:50.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:03:50.454Z] Configure a credential helper to remove this warning. See [2022-10-26T20:03:50.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:03:50.454Z] [2022-10-26T20:03:50.454Z] Login Succeeded [2022-10-26T20:03:50.454Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:03:50.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:03:50.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:03:50.714Z] Configure a credential helper to remove this warning. See [2022-10-26T20:03:50.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:03:50.714Z] [2022-10-26T20:03:50.714Z] Login Succeeded [2022-10-26T20:03:50.714Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:03:50.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:03:50.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:03:50.714Z] Configure a credential helper to remove this warning. See [2022-10-26T20:03:50.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:03:50.714Z] [2022-10-26T20:03:50.714Z] Login Succeeded [2022-10-26T20:03:50.714Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:03:50.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:03:50.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:03:50.973Z] Configure a credential helper to remove this warning. See [2022-10-26T20:03:50.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:03:50.973Z] [2022-10-26T20:03:50.973Z] Login Succeeded [2022-10-26T20:03:50.973Z] docker.io [2022-10-26T20:03:50.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:03:51.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:03:51.232Z] Configure a credential helper to remove this warning. See [2022-10-26T20:03:51.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:03:51.232Z] [2022-10-26T20:03:51.232Z] Login Succeeded [2022-10-26T20:03:51.491Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:03:51.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:03:51.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:03:51.553Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-10-26T20:03:51.553Z] 811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:03:51.553Z] latest [2022-10-26T20:03:51.553Z] 2.3.0-dev.22 [2022-10-26T20:03:51.553Z] 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [2022-10-26T20:03:51.553Z] main [2022-10-26T20:03:51.553Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:51.877Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:52.189Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:03:52.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-26T20:03:52.189Z] dc5637da34f4: Preparing [2022-10-26T20:03:52.189Z] 563eac418377: Preparing [2022-10-26T20:03:52.189Z] 8b3c78814396: Preparing [2022-10-26T20:03:52.189Z] 8d81ad9ec1c7: Preparing [2022-10-26T20:03:52.189Z] 994393dc58e7: Preparing [2022-10-26T20:03:52.189Z] 994393dc58e7: Layer already exists [2022-10-26T20:03:52.189Z] dc5637da34f4: Pushed [2022-10-26T20:03:52.189Z] 563eac418377: Pushed [2022-10-26T20:03:52.450Z] 8d81ad9ec1c7: Pushed [2022-10-26T20:03:54.982Z] 8b3c78814396: Pushed [2022-10-26T20:03:54.982Z] 811e52826d6202cae27d826a4f6ae05b050034a3: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:55.299Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:55.604Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-26T20:03:55.604Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-26T20:03:55.604Z] dc5637da34f4: Preparing [2022-10-26T20:03:55.604Z] 563eac418377: Preparing [2022-10-26T20:03:55.604Z] 8b3c78814396: Preparing [2022-10-26T20:03:55.604Z] 8d81ad9ec1c7: Preparing [2022-10-26T20:03:55.604Z] 994393dc58e7: Preparing [2022-10-26T20:03:55.604Z] 994393dc58e7: Layer already exists [2022-10-26T20:03:55.604Z] 8b3c78814396: Layer already exists [2022-10-26T20:03:55.604Z] 8d81ad9ec1c7: Layer already exists [2022-10-26T20:03:55.604Z] 563eac418377: Layer already exists [2022-10-26T20:03:55.604Z] dc5637da34f4: Layer already exists [2022-10-26T20:03:55.604Z] latest: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:55.911Z] + 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 [2022-10-26T20:03:56.214Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.22 [2022-10-26T20:03:56.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-26T20:03:56.214Z] dc5637da34f4: Preparing [2022-10-26T20:03:56.214Z] 563eac418377: Preparing [2022-10-26T20:03:56.214Z] 8b3c78814396: Preparing [2022-10-26T20:03:56.214Z] 8d81ad9ec1c7: Preparing [2022-10-26T20:03:56.214Z] 994393dc58e7: Preparing [2022-10-26T20:03:56.214Z] 994393dc58e7: Layer already exists [2022-10-26T20:03:56.214Z] 8b3c78814396: Layer already exists [2022-10-26T20:03:56.214Z] 8d81ad9ec1c7: Layer already exists [2022-10-26T20:03:56.214Z] dc5637da34f4: Layer already exists [2022-10-26T20:03:56.214Z] 563eac418377: Layer already exists [2022-10-26T20:03:56.214Z] 2.3.0-dev.22: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:56.529Z] + 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 [2022-10-26T20:03:56.831Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [2022-10-26T20:03:56.831Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-26T20:03:56.831Z] dc5637da34f4: Preparing [2022-10-26T20:03:56.831Z] 563eac418377: Preparing [2022-10-26T20:03:56.831Z] 8b3c78814396: Preparing [2022-10-26T20:03:56.831Z] 8d81ad9ec1c7: Preparing [2022-10-26T20:03:56.831Z] 994393dc58e7: Preparing [2022-10-26T20:03:56.831Z] 994393dc58e7: Layer already exists [2022-10-26T20:03:56.831Z] 563eac418377: Layer already exists [2022-10-26T20:03:56.831Z] 8b3c78814396: Layer already exists [2022-10-26T20:03:56.831Z] dc5637da34f4: Layer already exists [2022-10-26T20:03:56.831Z] 8d81ad9ec1c7: Layer already exists [2022-10-26T20:03:56.831Z] 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:57.135Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:57.431Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-10-26T20:03:57.431Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-26T20:03:57.431Z] dc5637da34f4: Preparing [2022-10-26T20:03:57.431Z] 563eac418377: Preparing [2022-10-26T20:03:57.431Z] 8b3c78814396: Preparing [2022-10-26T20:03:57.431Z] 8d81ad9ec1c7: Preparing [2022-10-26T20:03:57.431Z] 994393dc58e7: Preparing [2022-10-26T20:03:57.431Z] 994393dc58e7: Layer already exists [2022-10-26T20:03:57.431Z] 563eac418377: Layer already exists [2022-10-26T20:03:57.431Z] 8d81ad9ec1c7: Layer already exists [2022-10-26T20:03:57.431Z] 8b3c78814396: Layer already exists [2022-10-26T20:03:57.431Z] dc5637da34f4: Layer already exists [2022-10-26T20:03:57.431Z] main: digest: sha256:1bcfa67a0d2676d7eca3f3329c289a73c06396e114feeda205b1813c29ededfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:03:57.478Z] ===================================================== [Pipeline] echo [2022-10-26T20:03:57.486Z] taggedImages: [2022-10-26T20:03:57.486Z] - nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:03:57.486Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-26T20:03:57.486Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.22 [2022-10-26T20:03:57.486Z] - nexus3.edgexfoundry.org:10004/device-rest:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [2022-10-26T20:03:57.486Z] - 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 [2022-10-26T20:03:57.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:03:57.847Z] [2022-10-26T20:03:57.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:03:58.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:03:58.143Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:03:58.143Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:03:58.143Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:03:58.143Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:03:58.143Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:03:58.143Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:03:58.143Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:03:58.144Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:03:58.144Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:03:58.144Z] 5d3b04190fa2: Waiting [2022-10-26T20:03:58.144Z] 33b1e0a273af: Waiting [2022-10-26T20:03:58.144Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T20:03:58.144Z] 5c69ac0246d0: Download complete [2022-10-26T20:03:58.144Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:03:58.144Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:03:58.411Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:03:58.411Z] 33b1e0a273af: Download complete [2022-10-26T20:03:58.411Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:03:58.411Z] ec43610c2a17: Download complete [2022-10-26T20:03:58.411Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T20:03:58.411Z] 5d3b04190fa2: Download complete [2022-10-26T20:03:58.672Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:03:58.672Z] 5eb5b503b376: Download complete [2022-10-26T20:03:59.608Z] 2f39f015ded8: Verifying Checksum [2022-10-26T20:03:59.608Z] 2f39f015ded8: Download complete [2022-10-26T20:03:59.867Z] 5eb5b503b376: Pull complete [2022-10-26T20:03:59.867Z] 5c69ac0246d0: Pull complete [2022-10-26T20:04:00.433Z] ec43610c2a17: Pull complete [2022-10-26T20:04:00.433Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:04:00.691Z] 33b1e0a273af: Pull complete [2022-10-26T20:04:00.691Z] 5d3b04190fa2: Pull complete [2022-10-26T20:04:04.871Z] 2f39f015ded8: Pull complete [2022-10-26T20:04:04.871Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:04:04.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:04:04.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:04:04.950Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:04:04.978Z] $ 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 [2022-10-26T20:04:06.715Z] $ docker top 263abeafbbf03cb2830263ff533b5ddd4c74ca1fa57f536dc8e86e06fe2808be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:04:07.108Z] ---> job-cost.sh [2022-10-26T20:04:07.108Z] lf-activate-venv: SKIPPING [2022-10-26T20:04:07.108Z] INFO: No Stack... [2022-10-26T20:04:07.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:04:07.932Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:04:08.215Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-10-26T20:04:08.215Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:04:08.227Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [2022-10-26T20:04:08.233Z] Resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] did not exist. Created. [2022-10-26T20:04:08.233Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:04:08.529Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:04:08.550Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:04:08.559Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:04:08.576Z] $ docker stop --time=1 263abeafbbf03cb2830263ff533b5ddd4c74ca1fa57f536dc8e86e06fe2808be [2022-10-26T20:04:09.747Z] $ docker rm -f 263abeafbbf03cb2830263ff533b5ddd4c74ca1fa57f536dc8e86e06fe2808be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:04:20.525Z] Removing intermediate container 6af38495aa17 [2022-10-26T20:04:20.525Z] ---> c4c698239a13 [2022-10-26T20:04:20.525Z] Step 11/12 : COPY . . [2022-10-26T20:04:20.525Z] ---> a54571d8709f [2022-10-26T20:04:20.525Z] Step 12/12 : RUN $MAKE [2022-10-26T20:04:20.525Z] ---> Running in e9122b577128 [2022-10-26T20:04:20.525Z] noop [2022-10-26T20:04:20.525Z] Removing intermediate container e9122b577128 [2022-10-26T20:04:20.525Z] ---> d40ca134502c [2022-10-26T20:04:20.525Z] Successfully built d40ca134502c [2022-10-26T20:04:20.525Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:04:20.886Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:04:20.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:04:21.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-117284 does not seem to be running inside a container [2022-10-26T20:04:21.140Z] $ 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 [2022-10-26T20:04:22.387Z] $ docker top ba5179bc9074d1a4bf4aa38c0f615a0697cc9988706246569489c5f80c58fcce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:04:23.240Z] + go version [2022-10-26T20:04:23.240Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:04:23.261Z] $ docker stop --time=1 ba5179bc9074d1a4bf4aa38c0f615a0697cc9988706246569489c5f80c58fcce [2022-10-26T20:04:24.942Z] $ 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 [2022-10-26T20:04:25.477Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:04:25.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:04:25.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-117284 does not seem to be running inside a container [2022-10-26T20:04:25.731Z] $ 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 [2022-10-26T20:04:26.973Z] $ docker top e59c157bbc7d420d17f1e6f459dce0fd7eca7bb6ec9c7f2d0060515eb46ab635 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:04:27.805Z] + git config --global --add safe.directory /w/workspace/device-rest-go/68 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:04:28.451Z] + make test [2022-10-26T20:04:28.451Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:04:29.862Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T20:06:06.553Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T20:06:06.553Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 55.2% of statements [2022-10-26T20:06:06.553Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:06:06.553Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:06:18.881Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:06:18.881Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:06:18.881Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:06:19.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:06:19.498Z] $ docker stop --time=1 e59c157bbc7d420d17f1e6f459dce0fd7eca7bb6ec9c7f2d0060515eb46ab635 [2022-10-26T20:06:21.266Z] $ docker rm -f e59c157bbc7d420d17f1e6f459dce0fd7eca7bb6ec9c7f2d0060515eb46ab635 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:06:22.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:06:22.242Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:06:22.654Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:06:23.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:06:23.356Z] + ls -al . [2022-10-26T20:06:23.356Z] total 180 [2022-10-26T20:06:23.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:04 . [2022-10-26T20:06:23.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 .. [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:02 .dockerignore [2022-10-26T20:06:23.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:02 .git [2022-10-26T20:06:23.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 .github [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 20:02 .gitignore [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:02 .golangci.yml [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 20:02 Attribution.txt [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 20:02 CHANGELOG.md [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 20:02 Dockerfile [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:02 GOVERNANCE.md [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:02 Jenkinsfile [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:02 LICENSE [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 20:02 Makefile [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:02 OWNERS.md [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 20:02 README.md [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:02 VERSION [2022-10-26T20:06:23.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 bin [2022-10-26T20:06:23.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:02 cmd [2022-10-26T20:06:23.356Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 20:05 coverage.out [2022-10-26T20:06:23.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:02 driver [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 20:02 go.mod [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 44967 Oct 26 20:02 go.sum [2022-10-26T20:06:23.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:02 snap [2022-10-26T20:06:23.356Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:06:23.697Z] + 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 . [2022-10-26T20:06:23.697Z] Sending build context to Docker daemon 138.2kB [2022-10-26T20:06:23.965Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:06:23.965Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T20:06:23.965Z] ---> d40ca134502c [2022-10-26T20:06:23.965Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:06:23.965Z] ---> Running in 3cbd8f6d7ea4 [2022-10-26T20:06:24.234Z] Removing intermediate container 3cbd8f6d7ea4 [2022-10-26T20:06:24.234Z] ---> 3ccf0484bbed [2022-10-26T20:06:24.234Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:06:24.506Z] ---> Running in 5178c80f40fd [2022-10-26T20:06:24.829Z] Removing intermediate container 5178c80f40fd [2022-10-26T20:06:24.829Z] ---> 6f789eb217c8 [2022-10-26T20:06:24.829Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:06:24.829Z] ---> Running in dcfcd1718935 [2022-10-26T20:06:25.140Z] Removing intermediate container dcfcd1718935 [2022-10-26T20:06:25.140Z] ---> aa95b0ecddfe [2022-10-26T20:06:25.140Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:06:25.140Z] ---> Running in 29463c193ca1 [2022-10-26T20:06:25.423Z] Removing intermediate container 29463c193ca1 [2022-10-26T20:06:25.423Z] ---> d8bfe6953be7 [2022-10-26T20:06:25.423Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:06:25.423Z] ---> Running in 6b19151e352b [2022-10-26T20:06:26.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:06:26.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:06:28.150Z] OK: 226 MiB in 55 packages [2022-10-26T20:06:28.740Z] Removing intermediate container 6b19151e352b [2022-10-26T20:06:28.740Z] ---> fa99516ed59e [2022-10-26T20:06:28.740Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-26T20:06:28.740Z] ---> Running in ccdd55283ef1 [2022-10-26T20:06:29.015Z] Removing intermediate container ccdd55283ef1 [2022-10-26T20:06:29.015Z] ---> d340ec849b6a [2022-10-26T20:06:29.015Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-26T20:06:29.598Z] ---> 194d54847bcc [2022-10-26T20:06:29.598Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:06:29.598Z] ---> Running in 212cda71d6f8 [2022-10-26T20:06:31.544Z] Removing intermediate container 212cda71d6f8 [2022-10-26T20:06:31.544Z] ---> 3238396a773c [2022-10-26T20:06:31.544Z] Step 11/25 : COPY . . [2022-10-26T20:06:32.126Z] ---> ba0cae496c23 [2022-10-26T20:06:32.126Z] Step 12/25 : RUN $MAKE [2022-10-26T20:06:32.126Z] ---> Running in 2800034b7ea3 [2022-10-26T20:06:33.089Z] 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 [2022-10-26T20:08:54.802Z] Removing intermediate container 2800034b7ea3 [2022-10-26T20:08:54.803Z] ---> a9f03be13cfe [2022-10-26T20:08:54.803Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T20:08:54.803Z] 3.16: Pulling from library/alpine [2022-10-26T20:08:54.803Z] 9b18e9b68314: Already exists [2022-10-26T20:08:54.803Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:08:54.803Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:08:54.803Z] ---> a6215f271958 [2022-10-26T20:08:54.803Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T20:08:54.803Z] ---> Running in ff8dd85d46f7 [2022-10-26T20:08:54.803Z] Removing intermediate container ff8dd85d46f7 [2022-10-26T20:08:54.803Z] ---> 24910692a5c3 [2022-10-26T20:08:54.803Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T20:08:54.803Z] ---> Running in daa6f6e9efe3 [2022-10-26T20:08:54.803Z] Removing intermediate container daa6f6e9efe3 [2022-10-26T20:08:54.803Z] ---> f06d6d85f7cd [2022-10-26T20:08:54.803Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:08:54.803Z] ---> Running in 2bcf11285dc7 [2022-10-26T20:08:54.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:08:54.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:08:54.803Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:08:54.803Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:08:54.803Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:08:54.803Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:08:54.803Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:08:54.803Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:08:54.803Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:08:54.803Z] OK: 8 MiB in 20 packages [2022-10-26T20:08:54.803Z] Removing intermediate container 2bcf11285dc7 [2022-10-26T20:08:54.803Z] ---> 991b385181f9 [2022-10-26T20:08:54.803Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T20:08:54.803Z] ---> 900b9c169001 [2022-10-26T20:08:54.803Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T20:08:54.803Z] ---> 3c93c02c416a [2022-10-26T20:08:54.803Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T20:08:54.803Z] ---> 3c3985ca3342 [2022-10-26T20:08:54.803Z] Step 20/25 : EXPOSE 59986 [2022-10-26T20:08:54.803Z] ---> Running in 1312af2dd376 [2022-10-26T20:08:54.803Z] Removing intermediate container 1312af2dd376 [2022-10-26T20:08:54.803Z] ---> 5922c070c2cb [2022-10-26T20:08:54.803Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-26T20:08:54.803Z] ---> Running in 1b997dedf565 [2022-10-26T20:08:54.803Z] Removing intermediate container 1b997dedf565 [2022-10-26T20:08:54.803Z] ---> e361e102d080 [2022-10-26T20:08:54.803Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T20:08:54.803Z] ---> Running in 08b9bc128937 [2022-10-26T20:08:54.803Z] Removing intermediate container 08b9bc128937 [2022-10-26T20:08:54.803Z] ---> 278460a1e559 [2022-10-26T20:08:54.803Z] Step 23/25 : LABEL arch=arm64 [2022-10-26T20:08:54.803Z] ---> Running in d41955ee9dd5 [2022-10-26T20:08:54.803Z] Removing intermediate container d41955ee9dd5 [2022-10-26T20:08:54.803Z] ---> 04ee3134602f [2022-10-26T20:08:54.803Z] Step 24/25 : LABEL git_sha=811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:08:54.803Z] ---> Running in c770a9048cef [2022-10-26T20:08:54.803Z] Removing intermediate container c770a9048cef [2022-10-26T20:08:54.803Z] ---> 8e0dfcf7ae9f [2022-10-26T20:08:54.803Z] Step 25/25 : LABEL version=2.3.0-dev.22 [2022-10-26T20:08:54.803Z] ---> Running in b3f8af0313d8 [2022-10-26T20:08:55.402Z] Removing intermediate container b3f8af0313d8 [2022-10-26T20:08:55.402Z] ---> 4c17e468a62a [2022-10-26T20:08:55.402Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:08:55.402Z] Successfully built 4c17e468a62a [2022-10-26T20:08:55.402Z] 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 [2022-10-26T20:08:55.485Z] provisioning config files... [2022-10-26T20:08:55.503Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/68@tmp/config337021491277359138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:08:55.844Z] ---> docker-login.sh [2022-10-26T20:08:55.844Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:08:56.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:08:56.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:08:56.113Z] Configure a credential helper to remove this warning. See [2022-10-26T20:08:56.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:08:56.113Z] [2022-10-26T20:08:56.113Z] Login Succeeded [2022-10-26T20:08:56.113Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:08:56.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:08:56.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:08:56.382Z] Configure a credential helper to remove this warning. See [2022-10-26T20:08:56.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:08:56.382Z] [2022-10-26T20:08:56.382Z] Login Succeeded [2022-10-26T20:08:56.651Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:08:56.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:08:56.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:08:56.929Z] Configure a credential helper to remove this warning. See [2022-10-26T20:08:56.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:08:56.929Z] [2022-10-26T20:08:56.929Z] Login Succeeded [2022-10-26T20:08:56.929Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:08:57.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:08:57.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:08:57.197Z] Configure a credential helper to remove this warning. See [2022-10-26T20:08:57.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:08:57.197Z] [2022-10-26T20:08:57.197Z] Login Succeeded [2022-10-26T20:08:57.197Z] docker.io [2022-10-26T20:08:57.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:08:58.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:08:58.048Z] Configure a credential helper to remove this warning. See [2022-10-26T20:08:58.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:08:58.048Z] [2022-10-26T20:08:58.048Z] Login Succeeded [2022-10-26T20:08:58.048Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:08:58.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:08:58.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:08:58.100Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-10-26T20:08:58.100Z] 811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:08:58.100Z] latest [2022-10-26T20:08:58.100Z] 2.3.0-dev.22 [2022-10-26T20:08:58.100Z] 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [2022-10-26T20:08:58.100Z] main [2022-10-26T20:08:58.100Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:08:58.447Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:08:58.784Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:08:58.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-26T20:08:58.784Z] 8efb0d9da52b: Preparing [2022-10-26T20:08:58.784Z] c597595fa252: Preparing [2022-10-26T20:08:58.784Z] 5a2763f0c3f5: Preparing [2022-10-26T20:08:58.784Z] 625ca72a90ec: Preparing [2022-10-26T20:08:58.784Z] 5d3e392a13a0: Preparing [2022-10-26T20:08:58.784Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:08:59.057Z] c597595fa252: Pushed [2022-10-26T20:08:59.057Z] 8efb0d9da52b: Pushed [2022-10-26T20:08:59.642Z] 625ca72a90ec: Pushed [2022-10-26T20:09:05.003Z] 5a2763f0c3f5: Pushed [2022-10-26T20:09:05.003Z] 811e52826d6202cae27d826a4f6ae05b050034a3: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:05.349Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:05.691Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-26T20:09:05.691Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-26T20:09:05.691Z] 8efb0d9da52b: Preparing [2022-10-26T20:09:05.691Z] c597595fa252: Preparing [2022-10-26T20:09:05.691Z] 5a2763f0c3f5: Preparing [2022-10-26T20:09:05.691Z] 625ca72a90ec: Preparing [2022-10-26T20:09:05.691Z] 5d3e392a13a0: Preparing [2022-10-26T20:09:05.691Z] c597595fa252: Layer already exists [2022-10-26T20:09:05.691Z] 8efb0d9da52b: Layer already exists [2022-10-26T20:09:05.691Z] 625ca72a90ec: Layer already exists [2022-10-26T20:09:05.691Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:09:05.691Z] 5a2763f0c3f5: Layer already exists [2022-10-26T20:09:05.958Z] latest: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:06.314Z] + 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 [2022-10-26T20:09:06.660Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.22 [2022-10-26T20:09:06.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-26T20:09:06.660Z] 8efb0d9da52b: Preparing [2022-10-26T20:09:06.660Z] c597595fa252: Preparing [2022-10-26T20:09:06.660Z] 5a2763f0c3f5: Preparing [2022-10-26T20:09:06.660Z] 625ca72a90ec: Preparing [2022-10-26T20:09:06.660Z] 5d3e392a13a0: Preparing [2022-10-26T20:09:06.660Z] 5a2763f0c3f5: Layer already exists [2022-10-26T20:09:06.660Z] c597595fa252: Layer already exists [2022-10-26T20:09:06.660Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:09:06.660Z] 625ca72a90ec: Layer already exists [2022-10-26T20:09:06.660Z] 8efb0d9da52b: Layer already exists [2022-10-26T20:09:06.660Z] 2.3.0-dev.22: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:07.285Z] + 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 [2022-10-26T20:09:07.624Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [2022-10-26T20:09:07.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-26T20:09:07.624Z] 8efb0d9da52b: Preparing [2022-10-26T20:09:07.624Z] c597595fa252: Preparing [2022-10-26T20:09:07.624Z] 5a2763f0c3f5: Preparing [2022-10-26T20:09:07.624Z] 625ca72a90ec: Preparing [2022-10-26T20:09:07.624Z] 5d3e392a13a0: Preparing [2022-10-26T20:09:07.624Z] 5a2763f0c3f5: Layer already exists [2022-10-26T20:09:07.624Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:09:07.624Z] 8efb0d9da52b: Layer already exists [2022-10-26T20:09:07.624Z] c597595fa252: Layer already exists [2022-10-26T20:09:07.624Z] 625ca72a90ec: Layer already exists [2022-10-26T20:09:07.624Z] 811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:08.240Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:08.584Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-10-26T20:09:08.584Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-26T20:09:08.584Z] 8efb0d9da52b: Preparing [2022-10-26T20:09:08.584Z] c597595fa252: Preparing [2022-10-26T20:09:08.584Z] 5a2763f0c3f5: Preparing [2022-10-26T20:09:08.584Z] 625ca72a90ec: Preparing [2022-10-26T20:09:08.584Z] 5d3e392a13a0: Preparing [2022-10-26T20:09:08.584Z] 5a2763f0c3f5: Layer already exists [2022-10-26T20:09:08.584Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:09:08.584Z] 8efb0d9da52b: Layer already exists [2022-10-26T20:09:08.584Z] 625ca72a90ec: Layer already exists [2022-10-26T20:09:08.584Z] c597595fa252: Layer already exists [2022-10-26T20:09:08.852Z] main: digest: sha256:a0c84bcc0e7ab3f7eaacee7fae404e7ec0539ba7270afd74eae76fe9336d6cba size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:09:08.912Z] ===================================================== [Pipeline] echo [2022-10-26T20:09:08.922Z] taggedImages: [2022-10-26T20:09:08.922Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3 [2022-10-26T20:09:08.922Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-26T20:09:08.922Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.22 [2022-10-26T20:09:08.922Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:811e52826d6202cae27d826a4f6ae05b050034a3-2.3.0-dev.22 [2022-10-26T20:09:08.922Z] - 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 [2022-10-26T20:09:09.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:09:09.286Z] [2022-10-26T20:09:09.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:09.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:09:09.628Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:09:09.628Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:09:09.628Z] 04944245beec: Pulling fs layer [2022-10-26T20:09:09.628Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:09:09.628Z] 765212b225bb: Pulling fs layer [2022-10-26T20:09:09.628Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:09:09.628Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:09:09.628Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:09:09.628Z] 765212b225bb: Waiting [2022-10-26T20:09:09.628Z] f23df028b6ca: Waiting [2022-10-26T20:09:09.628Z] d65c8cfc05b1: Waiting [2022-10-26T20:09:09.898Z] 04944245beec: Verifying Checksum [2022-10-26T20:09:09.898Z] 04944245beec: Download complete [2022-10-26T20:09:09.898Z] 765212b225bb: Verifying Checksum [2022-10-26T20:09:09.898Z] 765212b225bb: Download complete [2022-10-26T20:09:09.898Z] f23df028b6ca: Download complete [2022-10-26T20:09:09.898Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:09:09.898Z] d65c8cfc05b1: Download complete [2022-10-26T20:09:10.169Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:09:10.169Z] 699f458cf7ca: Download complete [2022-10-26T20:09:10.439Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:09:10.439Z] 8998bd30e6a1: Download complete [2022-10-26T20:09:13.090Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:09:13.090Z] 2437ff75d9bd: Download complete [2022-10-26T20:09:14.500Z] 8998bd30e6a1: Pull complete [2022-10-26T20:09:15.103Z] 04944245beec: Pull complete [2022-10-26T20:09:16.516Z] 699f458cf7ca: Pull complete [2022-10-26T20:09:16.516Z] 765212b225bb: Pull complete [2022-10-26T20:09:17.477Z] f23df028b6ca: Pull complete [2022-10-26T20:09:17.745Z] d65c8cfc05b1: Pull complete [2022-10-26T20:09:32.746Z] 2437ff75d9bd: Pull complete [2022-10-26T20:09:32.746Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:09:32.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:09:32.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:09:32.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-117284 does not seem to be running inside a container [2022-10-26T20:09:32.981Z] $ 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 [2022-10-26T20:09:35.544Z] $ docker top 43839fa0599238fd82ea1336784821178b369c62de99aacc5c77ee09fc257dd7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:09:36.384Z] ---> job-cost.sh [2022-10-26T20:09:36.384Z] lf-activate-venv: SKIPPING [2022-10-26T20:09:36.384Z] INFO: No Stack... [2022-10-26T20:09:36.964Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:09:37.545Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:09:38.183Z] + cat /w/workspace/device-rest-go/68/archives/cost.csv [2022-10-26T20:09:38.183Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:09:38.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [2022-10-26T20:09:38.259Z] Resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] did not exist. Created. [2022-10-26T20:09:38.259Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:09:38.910Z] /w/workspace/device-rest-go/68@tmp/durable-ace62186/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:09:39.573Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:09:39.593Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:09:39.631Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:09:39.638Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:09:39.657Z] $ docker stop --time=1 43839fa0599238fd82ea1336784821178b369c62de99aacc5c77ee09fc257dd7 [2022-10-26T20:09:41.181Z] $ 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 [2022-10-26T20:09:41.562Z] provisioning config files... [2022-10-26T20:09:41.569Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5438983790907581721tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:09:41.860Z] + set +x [2022-10-26T20:09:41.860Z] + curl -s https://codecov.io/bash [2022-10-26T20:09:41.860Z] + bash -s -- [2022-10-26T20:09:41.860Z] [2022-10-26T20:09:41.860Z] _____ _ [2022-10-26T20:09:41.860Z] / ____| | | [2022-10-26T20:09:41.860Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:09:41.860Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:09:41.860Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:09:41.860Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:09:41.860Z] Bash-1.0.6 [2022-10-26T20:09:41.860Z] [2022-10-26T20:09:41.860Z] [2022-10-26T20:09:41.860Z] ==> git version 2.25.1 found [2022-10-26T20:09:41.860Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-26T20:09:41.860Z] Release-Date: 2020-01-08 [2022-10-26T20:09:41.860Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T20:09:41.860Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:09:41.860Z] ==> Jenkins CI detected. [2022-10-26T20:09:41.860Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-10-26T20:09:41.860Z] project root: . [2022-10-26T20:09:41.860Z] --> token set from env [2022-10-26T20:09:41.860Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:09:41.860Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:09:41.860Z] ==> Python coveragepy not found [2022-10-26T20:09:41.860Z] ==> Searching for coverage reports in: [2022-10-26T20:09:41.860Z] + . [2022-10-26T20:09:41.860Z] -> Found 1 reports [2022-10-26T20:09:41.860Z] ==> Detecting git/mercurial file structure [2022-10-26T20:09:41.860Z] ==> Reading reports [2022-10-26T20:09:42.119Z] + ./coverage.out bytes=9355 [2022-10-26T20:09:42.119Z] ==> Appending adjustments [2022-10-26T20:09:42.119Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:09:42.119Z] + Found adjustments [2022-10-26T20:09:42.119Z] ==> Gzipping contents [2022-10-26T20:09:42.119Z] 4.0K /tmp/codecov.gq5DBy.gz [2022-10-26T20:09:42.119Z] ==> Uploading reports [2022-10-26T20:09:42.119Z] url: https://codecov.io [2022-10-26T20:09:42.119Z] 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= [2022-10-26T20:09:42.119Z] -> Pinging Codecov [2022-10-26T20:09:42.119Z] 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= [2022-10-26T20:09:42.377Z] -> Uploading to [2022-10-26T20:09:42.377Z] 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 [2022-10-26T20:09:42.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:09:42.377Z] Dload Upload Total Spent Left Speed [2022-10-26T20:09:42.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 9099 --:--:-- --:--:-- --:--:-- 9099 [2022-10-26T20:09:42.636Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] } [2022-10-26T20:09:42.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-26T20:09:42.834Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-26T20:09:42.842Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:43.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:09:43.139Z] [2022-10-26T20:09:43.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:09:43.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:09:43.433Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-26T20:09:43.433Z] df9b9388f04a: Pulling fs layer [2022-10-26T20:09:43.433Z] 52dc419b0ee2: Pulling fs layer [2022-10-26T20:09:43.433Z] 25bc292e5bac: Pulling fs layer [2022-10-26T20:09:43.433Z] 114826534d7a: Pulling fs layer [2022-10-26T20:09:43.433Z] 4657fd5d0bcf: Pulling fs layer [2022-10-26T20:09:43.433Z] 6ad1cebc031e: Pulling fs layer [2022-10-26T20:09:43.433Z] 8a3aa393b2d8: Pulling fs layer [2022-10-26T20:09:43.433Z] 4657fd5d0bcf: Waiting [2022-10-26T20:09:43.433Z] 8a3aa393b2d8: Waiting [2022-10-26T20:09:43.433Z] 114826534d7a: Waiting [2022-10-26T20:09:43.433Z] 6ad1cebc031e: Waiting [2022-10-26T20:09:43.433Z] 25bc292e5bac: Verifying Checksum [2022-10-26T20:09:43.433Z] 25bc292e5bac: Download complete [2022-10-26T20:09:43.433Z] 52dc419b0ee2: Verifying Checksum [2022-10-26T20:09:43.433Z] 52dc419b0ee2: Download complete [2022-10-26T20:09:43.433Z] 4657fd5d0bcf: Verifying Checksum [2022-10-26T20:09:43.433Z] 4657fd5d0bcf: Download complete [2022-10-26T20:09:43.433Z] df9b9388f04a: Download complete [2022-10-26T20:09:43.695Z] df9b9388f04a: Pull complete [2022-10-26T20:09:43.695Z] 6ad1cebc031e: Verifying Checksum [2022-10-26T20:09:43.695Z] 6ad1cebc031e: Download complete [2022-10-26T20:09:43.695Z] 52dc419b0ee2: Pull complete [2022-10-26T20:09:43.695Z] 25bc292e5bac: Pull complete [2022-10-26T20:09:44.265Z] 114826534d7a: Verifying Checksum [2022-10-26T20:09:44.265Z] 114826534d7a: Download complete [2022-10-26T20:09:44.265Z] 8a3aa393b2d8: Verifying Checksum [2022-10-26T20:09:44.265Z] 8a3aa393b2d8: Download complete [2022-10-26T20:09:47.548Z] 114826534d7a: Pull complete [2022-10-26T20:09:47.548Z] 4657fd5d0bcf: Pull complete [2022-10-26T20:09:48.114Z] 6ad1cebc031e: Pull complete [2022-10-26T20:09:50.644Z] 8a3aa393b2d8: Pull complete [2022-10-26T20:09:50.644Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-26T20:09:50.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:09:50.644Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:09:50.721Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:09:50.747Z] $ 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 [2022-10-26T20:09:52.681Z] $ docker top b2ad0e10ab17e07a22b59234f21888f6fd0cd051ee05c43593697ef1276fcd24 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-26T20:09:52.741Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-10-26T20:09:53.016Z] + set -o pipefail [2022-10-26T20:09:53.016Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-10-26T20:09:59.580Z] [2022-10-26T20:09:59.580Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-10-26T20:09:59.580Z] [2022-10-26T20:09:59.580Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/5b803517-6701-4c11-9814-03d9f28b13d2 [2022-10-26T20:09:59.580Z] [2022-10-26T20:09:59.580Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-10-26T20:09:59.580Z] [2022-10-26T20:09:59.580Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-26T20:09:59.580Z] [2022-10-26T20:09:59.839Z] [2022-10-26T20:09:59.839Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-26T20:09:59.839Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-26T20:09:59.839Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-26T20:09:59.851Z] $ docker stop --time=1 b2ad0e10ab17e07a22b59234f21888f6fd0cd051ee05c43593697ef1276fcd24 [2022-10-26T20:10:02.368Z] $ 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 [2022-10-26T20:10:03.026Z] + git log --format=format:%s -1 811e52826d6202cae27d826a4f6ae05b050034a3 [Pipeline] sh [2022-10-26T20:10:03.313Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:10:03.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:03.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:03.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:10:03.678Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:10:03.708Z] $ 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 [2022-10-26T20:10:04.123Z] $ docker top 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 -eo pid,comm [2022-10-26T20:10:04.171Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-26T20:10:04.172Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:10:04.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:10:04.198Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:10:04.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:10:04.315Z] $ docker exec 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 ssh-agent [2022-10-26T20:10:04.416Z] SSH_AUTH_SOCK=/tmp/ssh-UniB0adzsmei/agent.33 [2022-10-26T20:10:04.416Z] SSH_AGENT_PID=40 [2022-10-26T20:10:04.420Z] Running ssh-add (command line suppressed) [2022-10-26T20:10:04.518Z] 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) [2022-10-26T20:10:04.544Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:10:04.834Z] + git semver tag [2022-10-26T20:10:05.093Z] 2022-10-26 20:10:05,010 [run_tag] DEBUG tag force:False [2022-10-26T20:10:05.093Z] 2022-10-26 20:10:05,010 [check_head_tag] DEBUG check head tag [2022-10-26T20:10:05.093Z] 2022-10-26 20:10:05,010 [execute] INFO git cat-file --batch-check [2022-10-26T20:10:05.093Z] 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=) [2022-10-26T20:10:05.093Z] 2022-10-26 20:10:05,013 [execute] INFO git cat-file --batch [2022-10-26T20:10:05.093Z] 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=) [2022-10-26T20:10:05.093Z] 2022-10-26 20:10:05,028 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:10:05.093Z] 2022-10-26 20:10:05,028 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 [2022-10-26T20:10:05.093Z] 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) [2022-10-26T20:10:05.093Z] 2022-10-26 20:10:05,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:10:05.093Z] 2.3.0-dev.22 [Pipeline] } [2022-10-26T20:10:05.105Z] $ docker exec --env ******** --env ******** 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 ssh-agent -k [2022-10-26T20:10:05.217Z] unset SSH_AUTH_SOCK; [2022-10-26T20:10:05.217Z] unset SSH_AGENT_PID; [2022-10-26T20:10:05.218Z] echo Agent pid 40 killed; [2022-10-26T20:10:05.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:10:05.525Z] + git semver [Pipeline] } [2022-10-26T20:10:05.797Z] $ docker stop --time=1 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 [2022-10-26T20:10:07.118Z] $ docker rm -f 7ec846198e880aa210829ff973cdb12470923da72d9e53146ba7fbf1d6c04ff0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:07.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:10:07.477Z] [2022-10-26T20:10:07.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:07.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:10:07.769Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-26T20:10:07.769Z] ab5ef0e58194: Pulling fs layer [2022-10-26T20:10:07.769Z] 9712f1f96733: Pulling fs layer [2022-10-26T20:10:07.769Z] 63f879dbbcfc: Pulling fs layer [2022-10-26T20:10:07.769Z] 0d9ebad4ef96: Pulling fs layer [2022-10-26T20:10:07.769Z] e9a5061849ea: Pulling fs layer [2022-10-26T20:10:07.769Z] d747dcd14b5f: Pulling fs layer [2022-10-26T20:10:07.769Z] 2de7ff778b66: Pulling fs layer [2022-10-26T20:10:07.769Z] 0d9ebad4ef96: Waiting [2022-10-26T20:10:07.769Z] e9a5061849ea: Waiting [2022-10-26T20:10:07.769Z] d747dcd14b5f: Waiting [2022-10-26T20:10:07.769Z] 2de7ff778b66: Waiting [2022-10-26T20:10:07.769Z] 9712f1f96733: Verifying Checksum [2022-10-26T20:10:07.769Z] 9712f1f96733: Download complete [2022-10-26T20:10:08.033Z] 63f879dbbcfc: Verifying Checksum [2022-10-26T20:10:08.033Z] 63f879dbbcfc: Download complete [2022-10-26T20:10:08.291Z] ab5ef0e58194: Verifying Checksum [2022-10-26T20:10:08.291Z] ab5ef0e58194: Download complete [2022-10-26T20:10:08.291Z] d747dcd14b5f: Download complete [2022-10-26T20:10:08.291Z] e9a5061849ea: Verifying Checksum [2022-10-26T20:10:08.291Z] e9a5061849ea: Download complete [2022-10-26T20:10:08.291Z] 0d9ebad4ef96: Verifying Checksum [2022-10-26T20:10:08.291Z] 0d9ebad4ef96: Download complete [2022-10-26T20:10:08.549Z] 2de7ff778b66: Verifying Checksum [2022-10-26T20:10:08.549Z] 2de7ff778b66: Download complete [2022-10-26T20:10:11.081Z] ab5ef0e58194: Pull complete [2022-10-26T20:10:11.081Z] 9712f1f96733: Pull complete [2022-10-26T20:10:11.647Z] 63f879dbbcfc: Pull complete [2022-10-26T20:10:15.833Z] 0d9ebad4ef96: Pull complete [2022-10-26T20:10:15.833Z] e9a5061849ea: Pull complete [2022-10-26T20:10:15.833Z] d747dcd14b5f: Pull complete [2022-10-26T20:10:17.214Z] 2de7ff778b66: Pull complete [2022-10-26T20:10:17.214Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-26T20:10:17.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:10:17.214Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:10:17.285Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:10:17.313Z] $ 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 [2022-10-26T20:10:20.128Z] $ docker top 41f823df77a3b026d3d24aa3b1f092a3e8b22eb3d2750d624e4d7f445eb522ae -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:10:20.194Z] provisioning config files... [2022-10-26T20:10:20.200Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6262823733533489194tmp [2022-10-26T20:10:20.210Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11646213826623935597tmp [2022-10-26T20:10:20.218Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2826409173956353107tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:10:20.233Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:20.516Z] ---> sigul-configuration.sh [2022-10-26T20:10:20.516Z] gpg: directory `/root/.gnupg' created [2022-10-26T20:10:20.516Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-26T20:10:20.516Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-26T20:10:20.516Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-26T20:10:20.516Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-26T20:10:20.516Z] gpg: CAST5 encrypted data [2022-10-26T20:10:20.516Z] gpg: encrypted with 1 passphrase [2022-10-26T20:10:20.516Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-26T20:10:20.799Z] + mkdir /home/jenkins [2022-10-26T20:10:20.799Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-26T20:10:21.083Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-10-26T20:10:21.091Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:21.372Z] ---> sigul-install.sh [2022-10-26T20:10:21.372Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-26T20:10:21.657Z] + git tag --list [2022-10-26T20:10:21.657Z] v1.0.0 [2022-10-26T20:10:21.657Z] v1.1.0 [2022-10-26T20:10:21.657Z] v1.1.1 [2022-10-26T20:10:21.657Z] v1.1.2 [2022-10-26T20:10:21.657Z] v1.2.0 [2022-10-26T20:10:21.657Z] v1.2.1 [2022-10-26T20:10:21.657Z] v2.0.0 [2022-10-26T20:10:21.657Z] v2.1.0 [2022-10-26T20:10:21.657Z] v2.1.1 [2022-10-26T20:10:21.657Z] v2.1.1-dev.1 [2022-10-26T20:10:21.657Z] v2.1.1-dev.2 [2022-10-26T20:10:21.657Z] v2.1.1-dev.3 [2022-10-26T20:10:21.657Z] v2.2.0 [2022-10-26T20:10:21.657Z] v2.2.1-dev.1 [2022-10-26T20:10:21.657Z] v2.2.1-dev.2 [2022-10-26T20:10:21.657Z] v2.2.1-dev.3 [2022-10-26T20:10:21.657Z] v2.2.1-dev.4 [2022-10-26T20:10:21.657Z] v2.2.1-dev.5 [2022-10-26T20:10:21.657Z] v2.2.1-dev.6 [2022-10-26T20:10:21.657Z] v2.2.1-dev.7 [2022-10-26T20:10:21.657Z] v2.2.1-dev.8 [2022-10-26T20:10:21.657Z] v2.2.1-dev.9 [2022-10-26T20:10:21.657Z] v2.3.0-dev.10 [2022-10-26T20:10:21.657Z] v2.3.0-dev.11 [2022-10-26T20:10:21.657Z] v2.3.0-dev.12 [2022-10-26T20:10:21.657Z] v2.3.0-dev.13 [2022-10-26T20:10:21.657Z] v2.3.0-dev.14 [2022-10-26T20:10:21.657Z] v2.3.0-dev.15 [2022-10-26T20:10:21.657Z] v2.3.0-dev.16 [2022-10-26T20:10:21.657Z] v2.3.0-dev.17 [2022-10-26T20:10:21.657Z] v2.3.0-dev.18 [2022-10-26T20:10:21.657Z] v2.3.0-dev.19 [2022-10-26T20:10:21.657Z] v2.3.0-dev.20 [2022-10-26T20:10:21.657Z] v2.3.0-dev.21 [2022-10-26T20:10:21.657Z] v2.3.0-dev.22 [2022-10-26T20:10:21.657Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-26T20:10:21.944Z] + lftools sign git-tag v2.3.0-dev.22 [2022-10-26T20:10:22.513Z] Signing Git tag with Sigul... [2022-10-26T20:10:22.513Z] Signing v2.3.0-dev.22 [Pipeline] echo [2022-10-26T20:10:22.779Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:23.064Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-26T20:10:23.071Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-26T20:10:23.090Z] $ docker stop --time=1 41f823df77a3b026d3d24aa3b1f092a3e8b22eb3d2750d624e4d7f445eb522ae [2022-10-26T20:10:24.445Z] $ docker rm -f 41f823df77a3b026d3d24aa3b1f092a3e8b22eb3d2750d624e4d7f445eb522ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-26T20:10:24.826Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:10:24.826Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:25.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:25.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:10:25.201Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:10:25.229Z] $ 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 [2022-10-26T20:10:25.598Z] $ docker top a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f -eo pid,comm [2022-10-26T20:10:25.770Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-26T20:10:25.770Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:10:25.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:10:25.800Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:10:25.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:10:25.935Z] $ docker exec a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f ssh-agent [2022-10-26T20:10:26.044Z] SSH_AUTH_SOCK=/tmp/ssh-ghBuJkDVHIRh/agent.32 [2022-10-26T20:10:26.044Z] SSH_AGENT_PID=39 [2022-10-26T20:10:26.049Z] Running ssh-add (command line suppressed) [2022-10-26T20:10:26.143Z] 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) [2022-10-26T20:10:26.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:10:26.438Z] + git semver bump pre [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,607 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,608 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,608 [bump_version] DEBUG bumped version:2.3.0-dev.23 [2022-10-26T20:10:26.700Z] 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 [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,608 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,608 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,610 [execute] INFO git cat-file --batch-check [2022-10-26T20:10:26.700Z] 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=) [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,616 [execute] INFO git cat-file --batch [2022-10-26T20:10:26.700Z] 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=) [2022-10-26T20:10:26.700Z] 2022-10-26 20:10:26,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:10:26.700Z] 2.3.0-dev.23 [Pipeline] } [2022-10-26T20:10:26.711Z] $ docker exec --env ******** --env ******** a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f ssh-agent -k [2022-10-26T20:10:26.808Z] unset SSH_AUTH_SOCK; [2022-10-26T20:10:26.808Z] unset SSH_AGENT_PID; [2022-10-26T20:10:26.808Z] echo Agent pid 39 killed; [2022-10-26T20:10:26.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:10:27.125Z] + git semver [Pipeline] } [2022-10-26T20:10:27.398Z] $ docker stop --time=1 a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f [2022-10-26T20:10:28.704Z] $ docker rm -f a8d647ab492d86e11d61221a7903a10362afdd8293256e15949a90956cc1f10f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:10:29.034Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:10:29.034Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:29.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:29.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:10:29.406Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:10:29.437Z] $ 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 [2022-10-26T20:10:29.787Z] $ docker top 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d -eo pid,comm [2022-10-26T20:10:29.824Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-26T20:10:29.824Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:10:29.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:10:29.861Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:10:29.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:10:29.976Z] $ docker exec 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d ssh-agent [2022-10-26T20:10:30.078Z] SSH_AUTH_SOCK=/tmp/ssh-QzdIloV54Vdz/agent.33 [2022-10-26T20:10:30.078Z] SSH_AGENT_PID=39 [2022-10-26T20:10:30.082Z] Running ssh-add (command line suppressed) [2022-10-26T20:10:30.184Z] 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) [2022-10-26T20:10:30.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:10:30.494Z] + git semver push [2022-10-26T20:10:30.752Z] 2022-10-26 20:10:30,684 [run_push] DEBUG push [2022-10-26T20:10:30.752Z] 2022-10-26 20:10:30,684 [execute] INFO git cat-file --batch-check [2022-10-26T20:10:30.752Z] 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=) [2022-10-26T20:10:30.752Z] 2022-10-26 20:10:30,687 [execute] INFO git rev-list f2a6bc6683979b9ace5840eaf8663100ff30c723 -- [2022-10-26T20:10:30.752Z] 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) [2022-10-26T20:10:30.752Z] 2022-10-26 20:10:30,695 [execute] INFO git fetch -v origin [2022-10-26T20:10:30.752Z] 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) [2022-10-26T20:10:31.688Z] 2022-10-26 20:10:31,413 [run_push] DEBUG no remote changes detected [2022-10-26T20:10:31.688Z] 2022-10-26 20:10:31,414 [execute] INFO git push origin semver [2022-10-26T20:10:31.688Z] 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) [2022-10-26T20:10:32.622Z] 2022-10-26 20:10:32,284 [run_push] DEBUG push all version tags [2022-10-26T20:10:32.622Z] 2022-10-26 20:10:32,284 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-26T20:10:32.622Z] 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) [2022-10-26T20:10:33.188Z] 2022-10-26 20:10:33,097 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-26T20:10:33.188Z] 2.3.0-dev.23 [Pipeline] } [2022-10-26T20:10:33.198Z] $ docker exec --env ******** --env ******** 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d ssh-agent -k [2022-10-26T20:10:33.295Z] unset SSH_AUTH_SOCK; [2022-10-26T20:10:33.295Z] unset SSH_AGENT_PID; [2022-10-26T20:10:33.295Z] echo Agent pid 39 killed; [2022-10-26T20:10:33.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:10:33.601Z] + git semver [Pipeline] } [2022-10-26T20:10:33.872Z] $ docker stop --time=1 51c4d0f5c19a271eddfb4098c691eb95198385af68cbf4ab1d610c7422f0657d [2022-10-26T20:10:35.169Z] $ 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 [2022-10-26T20:10:35.708Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-10-26T20:10:35.708Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-26T20:10:35.708Z] total 16 [2022-10-26T20:10:35.708Z] drwxr-xr-x 3 root root 4096 Oct 26 20:04 . [2022-10-26T20:10:35.708Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:10 .. [2022-10-26T20:10:35.708Z] drwxr-xr-x 2 root root 4096 Oct 26 20:04 cost [2022-10-26T20:10:35.708Z] -rw-r--r-- 1 root root 86 Oct 26 20:04 cost.csv [2022-10-26T20:10:35.708Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-26T20:10:35.708Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-26T20:10:35.708Z] total 16 [2022-10-26T20:10:35.708Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:04 . [2022-10-26T20:10:35.708Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:10 .. [2022-10-26T20:10:35.708Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:04 cost [2022-10-26T20:10:35.708Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:35.993Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:36.848Z] ---> package-listing.sh [2022-10-26T20:10:36.848Z] ++ facter osfamily [2022-10-26T20:10:36.848Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:10:37.105Z] + OS_FAMILY=debian [2022-10-26T20:10:37.105Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-10-26T20:10:37.105Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:10:37.105Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:10:37.105Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:10:37.105Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:10:37.105Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-26T20:10:37.105Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:10:37.105Z] + case "${OS_FAMILY}" in [2022-10-26T20:10:37.105Z] + dpkg -l [2022-10-26T20:10:37.105Z] + grep '^ii' [2022-10-26T20:10:37.105Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:10:37.105Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:10:37.105Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:10:37.105Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-26T20:10:37.105Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-10-26T20:10:37.105Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-10-26T20:10:37.114Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T20:10:37.391Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:37.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:10:37.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:10:38.039Z] prd-ubuntu20.04-docker-8c-8g-117271 does not seem to be running inside a container [2022-10-26T20:10:38.100Z] $ 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 [2022-10-26T20:10:38.344Z] $ docker top faf69e10d1e3fee8dbd84995a6e46de026bed0a3d225d143ffd4efdc9a2c6e2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:10:38.737Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:10:39.022Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:10:39.301Z] + ls /var/log/sa-host [2022-10-26T20:10:39.301Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:10:39.360Z] provisioning config files... [2022-10-26T20:10:39.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1378856357121685782tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:10:39.377Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:39.662Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:10:39.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:39.984Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:10:39.992Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:40.279Z] ---> sudo-logs.sh [2022-10-26T20:10:40.279Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:10:40.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:40.590Z] ---> job-cost.sh [2022-10-26T20:10:40.591Z] lf-activate-venv: SKIPPING [2022-10-26T20:10:40.591Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:10:40.591Z] INFO: Retrieving Stack Cost... [2022-10-26T20:10:40.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:10:41.417Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:10:41.426Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:41.707Z] ---> logs-deploy.sh [2022-10-26T20:10:41.707Z] lf-activate-venv: SKIPPING [2022-10-26T20:10:41.708Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/68 [2022-10-26T20:10:41.708Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:10:42.641Z] Archives upload complete. [2022-10-26T20:10:42.641Z] INFO: archiving logs to Nexus