MightyNerdEric commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 73143a36111513d6c8c6c63e03c3b52992ea2f11+280325e4612ce8aecdce91e221aa23a95129edcb (248fa27780a25ac8075b2f301252b97a2db5daf7) 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-ssh18134701834468316500.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-ssh6879669348500403384.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/PR-223/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/PR-223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3192245598594574477.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-ssh3852440048039659429.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/PR-223/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/PR-223/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11436183616442275291.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116835 in /w/workspace/gexfoundry_device-rest-go_PR-223 [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/gexfoundry_device-rest-go_PR-223 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 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/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 280325e4612ce8aecdce91e221aa23a95129edcb into PR head commit 73143a36111513d6c8c6c63e03c3b52992ea2f11 Merge succeeded, producing 7e30031deb7a9794e2086a484ec2f597982a89ac Checking out Revision 7e30031deb7a9794e2086a484ec2f597982a89ac (PR-223) > git config core.sparsecheckout # timeout=10 > git checkout -f 73143a36111513d6c8c6c63e03c3b52992ea2f11 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 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 merge 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e30031deb7a9794e2086a484ec2f597982a89ac # timeout=10 Commit message: "Merge commit '280325e4612ce8aecdce91e221aa23a95129edcb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T10:10:01.690Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T10:10:01.744Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T10:10:01.762Z] ========================================================= [2022-10-25T10:10:01.762Z] EdgeX Global Pipelines Version Info [2022-10-25T10:10:01.762Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0d43708587b36b8540078d7785646ad9ef1cb500 # timeout=10 [2022-10-25T10:10:02.853Z] ------------------- [2022-10-25T10:10:02.853Z] stable info: [2022-10-25T10:10:02.853Z] ------------------- [2022-10-25T10:10:02.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T10:10:02.853Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T10:10:02.853Z] Message: update stable to v1.0.243 [2022-10-25T10:10:03.111Z] ------------------- [2022-10-25T10:10:03.111Z] experimental info: [2022-10-25T10:10:03.111Z] ------------------- [2022-10-25T10:10:03.111Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T10:10:03.111Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T10:10:03.111Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T10:10:03.262Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T10:10:03.275Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T10:10:03.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T10:10:03.300Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T10:10:03.311Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T10:10:03.323Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T10:10:03.332Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T10:10:03.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T10:10:03.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T10:10:03.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T10:10:03.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T10:10:03.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T10:10:03.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T10:10:03.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T10:10:03.434Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T10:10:03.446Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T10:10:03.458Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T10:10:03.472Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T10:10:03.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T10:10:03.506Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T10:10:03.520Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T10:10:03.535Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T10:10:03.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T10:10:03.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T10:10:03.570Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T10:10:03.582Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T10:10:03.597Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T10:10:03.612Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-223 [Pipeline] echo [2022-10-25T10:10:03.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-223 [Pipeline] echo [2022-10-25T10:10:03.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-223 [Pipeline] echo [2022-10-25T10:10:03.644Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo [2022-10-25T10:10:03.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e30031 [Pipeline] echo [2022-10-25T10:10:03.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T10:10:03.699Z] provisioning config files... [2022-10-25T10:10:03.711Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config9660653282040690054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:10:04.016Z] ---> docker-login.sh [2022-10-25T10:10:04.016Z] nexus3.edgexfoundry.org:10001 [2022-10-25T10:10:04.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:04.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:04.275Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:04.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:04.275Z] [2022-10-25T10:10:04.275Z] Login Succeeded [2022-10-25T10:10:04.275Z] nexus3.edgexfoundry.org:10002 [2022-10-25T10:10:04.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:04.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:04.549Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:04.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:04.549Z] [2022-10-25T10:10:04.549Z] Login Succeeded [2022-10-25T10:10:04.549Z] nexus3.edgexfoundry.org:10003 [2022-10-25T10:10:04.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:04.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:04.549Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:04.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:04.549Z] [2022-10-25T10:10:04.549Z] Login Succeeded [2022-10-25T10:10:04.549Z] nexus3.edgexfoundry.org:10004 [2022-10-25T10:10:04.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:04.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:04.813Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:04.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:04.813Z] [2022-10-25T10:10:04.813Z] Login Succeeded [2022-10-25T10:10:04.813Z] docker.io [2022-10-25T10:10:04.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:05.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:05.074Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:05.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:05.074Z] [2022-10-25T10:10:05.074Z] Login Succeeded [2022-10-25T10:10:05.074Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T10:10:05.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T10:10:05.443Z] + git rev-list -1 --merges 7e30031deb7a9794e2086a484ec2f597982a89ac~1..7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo [2022-10-25T10:10:05.470Z] -----------> git rev-list -1 --merges 7e30031deb7a9794e2086a484ec2f597982a89ac~1..7e30031deb7a9794e2086a484ec2f597982a89ac 7e30031deb7a9794e2086a484ec2f597982a89ac [2022-10-25T10:10:05.470Z] 7e30031deb7a9794e2086a484ec2f597982a89ac [false] [Pipeline] sh [2022-10-25T10:10:05.757Z] + git log --format=format:%s -1 7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo [2022-10-25T10:10:05.782Z] ========================================================= [2022-10-25T10:10:05.782Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T10:10:05.782Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T10:10:06.101Z] + git log --format=format:%s -1 7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo [2022-10-25T10:10:06.111Z] [semverPrep] GIT_COMMIT: 7e30031deb7a9794e2086a484ec2f597982a89ac, Commit Message: Merge commit '280325e4612ce8aecdce91e221aa23a95129edcb' into HEAD [Pipeline] echo [2022-10-25T10:10:06.118Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T10:10:06.455Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T10:10:06.455Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T10:10:06.455Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T10:10:06.455Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T10:10:06.455Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T10:10:06.455Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T10:10:06.455Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:10:06.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T10:10:06.801Z] [2022-10-25T10:10:06.801Z] 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-25T10:10:07.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T10:10:07.095Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T10:10:07.095Z] b85a868b505f: Pulling fs layer [2022-10-25T10:10:07.095Z] e2be974225ed: Pulling fs layer [2022-10-25T10:10:07.095Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T10:10:07.095Z] 988bab9f4d93: Pulling fs layer [2022-10-25T10:10:07.095Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T10:10:07.095Z] eaf3925da568: Pulling fs layer [2022-10-25T10:10:07.095Z] bab4dde63d76: Pulling fs layer [2022-10-25T10:10:07.095Z] bde34c3a00c8: Pulling fs layer [2022-10-25T10:10:07.095Z] b352a97aabf1: Pulling fs layer [2022-10-25T10:10:07.095Z] 4872d77fe225: Pulling fs layer [2022-10-25T10:10:07.095Z] 5851b861e8e6: Pulling fs layer [2022-10-25T10:10:07.095Z] eaf3925da568: Waiting [2022-10-25T10:10:07.095Z] 5851b861e8e6: Waiting [2022-10-25T10:10:07.095Z] bab4dde63d76: Waiting [2022-10-25T10:10:07.095Z] b352a97aabf1: Waiting [2022-10-25T10:10:07.095Z] 4872d77fe225: Waiting [2022-10-25T10:10:07.095Z] bde34c3a00c8: Waiting [2022-10-25T10:10:07.095Z] 1469e6f7b9e6: Waiting [2022-10-25T10:10:07.095Z] 988bab9f4d93: Waiting [2022-10-25T10:10:07.095Z] e2be974225ed: Download complete [2022-10-25T10:10:07.095Z] 988bab9f4d93: Verifying Checksum [2022-10-25T10:10:07.095Z] 988bab9f4d93: Download complete [2022-10-25T10:10:07.357Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T10:10:07.357Z] 1469e6f7b9e6: Download complete [2022-10-25T10:10:07.357Z] eaf3925da568: Verifying Checksum [2022-10-25T10:10:07.357Z] eaf3925da568: Download complete [2022-10-25T10:10:07.357Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T10:10:07.357Z] 339a4e72a1f5: Download complete [2022-10-25T10:10:07.358Z] bde34c3a00c8: Download complete [2022-10-25T10:10:07.358Z] b352a97aabf1: Download complete [2022-10-25T10:10:07.358Z] 4872d77fe225: Download complete [2022-10-25T10:10:07.358Z] 5851b861e8e6: Verifying Checksum [2022-10-25T10:10:07.358Z] 5851b861e8e6: Download complete [2022-10-25T10:10:07.358Z] b85a868b505f: Verifying Checksum [2022-10-25T10:10:07.358Z] b85a868b505f: Download complete [2022-10-25T10:10:07.617Z] bab4dde63d76: Verifying Checksum [2022-10-25T10:10:08.555Z] b85a868b505f: Pull complete [2022-10-25T10:10:08.829Z] e2be974225ed: Pull complete [2022-10-25T10:10:09.088Z] 339a4e72a1f5: Pull complete [2022-10-25T10:10:09.349Z] 988bab9f4d93: Pull complete [2022-10-25T10:10:09.609Z] 1469e6f7b9e6: Pull complete [2022-10-25T10:10:09.609Z] eaf3925da568: Pull complete [2022-10-25T10:10:11.513Z] bab4dde63d76: Pull complete [2022-10-25T10:10:11.773Z] bde34c3a00c8: Pull complete [2022-10-25T10:10:12.032Z] b352a97aabf1: Pull complete [2022-10-25T10:10:12.032Z] 4872d77fe225: Pull complete [2022-10-25T10:10:12.032Z] 5851b861e8e6: Pull complete [2022-10-25T10:10:12.032Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T10:10:12.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T10:10:12.032Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:10:12.124Z] prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container [2022-10-25T10:10:12.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T10:10:14.018Z] $ docker top 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 -eo pid,comm [2022-10-25T10:10:14.077Z] 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-25T10:10:14.077Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T10:10:14.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T10:10:14.111Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T10:10:14.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T10:10:14.224Z] $ docker exec 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent [2022-10-25T10:10:14.339Z] SSH_AUTH_SOCK=/tmp/ssh-ZS4uOBPhYsrW/agent.32 [2022-10-25T10:10:14.339Z] SSH_AGENT_PID=38 [2022-10-25T10:10:14.346Z] Running ssh-add (command line suppressed) [2022-10-25T10:10:14.452Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_11311018863047987982.key (/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_11311018863047987982.key) [2022-10-25T10:10:14.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T10:10:14.814Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T10:10:14.825Z] $ docker exec --env ******** --env ******** 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent -k [2022-10-25T10:10:14.924Z] unset SSH_AUTH_SOCK; [2022-10-25T10:10:14.924Z] unset SSH_AGENT_PID; [2022-10-25T10:10:14.924Z] echo Agent pid 38 killed; [2022-10-25T10:10:14.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T10:10:14.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T10:10:14.962Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T10:10:15.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T10:10:15.074Z] $ docker exec 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent [2022-10-25T10:10:15.186Z] SSH_AUTH_SOCK=/tmp/ssh-tNdvGRu3Fx54/agent.70 [2022-10-25T10:10:15.186Z] SSH_AGENT_PID=76 [2022-10-25T10:10:15.191Z] Running ssh-add (command line suppressed) [2022-10-25T10:10:15.285Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_8098186002033673071.key (/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_8098186002033673071.key) [2022-10-25T10:10:15.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T10:10:15.590Z] + git semver init [2022-10-25T10:10:15.850Z] 2022-10-25 10:10:15,771 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T10:10:15.850Z] 2022-10-25 10:10:15,772 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-223/.semver [2022-10-25T10:10:15.850Z] 2022-10-25 10:10:15,772 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-223/.semver [2022-10-25T10:10:15.850Z] 2022-10-25 10:10:15,773 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-223/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-223, universal_newlines=False, shell=None, istream=None) [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,958 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-223/.git/info/exclude [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,959 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-223/.semver/PR-223 with force:False [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,959 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-223/.semver/PR-223 [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,963 [execute] INFO git cat-file --batch-check [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-223/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,970 [execute] INFO git cat-file --batch [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-223/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T10:10:17.228Z] 2022-10-25 10:10:16,975 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-223/.semver/PR-223 [2022-10-25T10:10:17.228Z] 0.0.0 [Pipeline] } [2022-10-25T10:10:17.233Z] $ docker exec --env ******** --env ******** 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent -k [2022-10-25T10:10:17.332Z] unset SSH_AUTH_SOCK; [2022-10-25T10:10:17.332Z] unset SSH_AGENT_PID; [2022-10-25T10:10:17.333Z] echo Agent pid 76 killed; [2022-10-25T10:10:17.346Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T10:10:17.650Z] + git semver [Pipeline] } [2022-10-25T10:10:17.915Z] $ docker stop --time=1 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 [2022-10-25T10:10:19.240Z] $ docker rm -f 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T10:10:19.584Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T10:10:19.792Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T10:10:19.795Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-25T10:10:19.914Z] provisioning config files... [2022-10-25T10:10:19.929Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config5181873991797648791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:10:20.231Z] ---> docker-login.sh [2022-10-25T10:10:20.231Z] nexus3.edgexfoundry.org:10001 [2022-10-25T10:10:20.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:20.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:20.231Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:20.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:20.231Z] [2022-10-25T10:10:20.231Z] Login Succeeded [2022-10-25T10:10:20.231Z] nexus3.edgexfoundry.org:10002 [2022-10-25T10:10:20.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:20.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:20.490Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:20.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:20.490Z] [2022-10-25T10:10:20.490Z] Login Succeeded [2022-10-25T10:10:20.490Z] nexus3.edgexfoundry.org:10003 [2022-10-25T10:10:20.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:20.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:20.490Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:20.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:20.490Z] [2022-10-25T10:10:20.490Z] Login Succeeded [2022-10-25T10:10:20.490Z] nexus3.edgexfoundry.org:10004 [2022-10-25T10:10:20.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:20.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:20.490Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:20.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:20.490Z] [2022-10-25T10:10:20.490Z] Login Succeeded [2022-10-25T10:10:20.670Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116832 in /w/workspace/gexfoundry_device-rest-go_PR-223 [Pipeline] { [Pipeline] ws [2022-10-25T10:10:20.680Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-10-25T10:10:20.715Z] The recommended git tool is: git [2022-10-25T10:10:20.748Z] docker.io [2022-10-25T10:10:20.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:21.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:21.006Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:21.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:21.006Z] [2022-10-25T10:10:21.006Z] Login Succeeded [2022-10-25T10:10:21.006Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T10:10:21.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T10:10:21.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:21.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:21.103Z] ========================================================= [2022-10-25T10:10:21.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T10:10:21.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:10:21.434Z] + 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-25T10:10:21.435Z] Sending build context to Docker daemon 10.74MB [2022-10-25T10:10:21.435Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:10:21.435Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T10:10:21.435Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T10:10:21.435Z] 213ec9aee27d: Pulling fs layer [2022-10-25T10:10:21.435Z] 4583459ba037: Pulling fs layer [2022-10-25T10:10:21.435Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T10:10:21.435Z] 53926ce57604: Pulling fs layer [2022-10-25T10:10:21.435Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T10:10:21.435Z] 30f14e443154: Pulling fs layer [2022-10-25T10:10:21.435Z] 801331c1e519: Pulling fs layer [2022-10-25T10:10:21.435Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T10:10:21.435Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T10:10:21.435Z] 801331c1e519: Waiting [2022-10-25T10:10:21.435Z] 21b2b0c7a3f4: Waiting [2022-10-25T10:10:21.435Z] 30f14e443154: Waiting [2022-10-25T10:10:21.435Z] 99cc6dd402b0: Waiting [2022-10-25T10:10:21.435Z] 7d9ed39f4882: Waiting [2022-10-25T10:10:21.435Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T10:10:21.435Z] 93c1e223e6f2: Download complete [2022-10-25T10:10:21.435Z] 4583459ba037: Download complete [2022-10-25T10:10:21.435Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T10:10:21.435Z] 21b2b0c7a3f4: Download complete [2022-10-25T10:10:21.696Z] 30f14e443154: Verifying Checksum [2022-10-25T10:10:21.696Z] 30f14e443154: Download complete [2022-10-25T10:10:21.696Z] 213ec9aee27d: Download complete [2022-10-25T10:10:21.696Z] 801331c1e519: Download complete [2022-10-25T10:10:21.696Z] 213ec9aee27d: Pull complete [2022-10-25T10:10:21.958Z] 4583459ba037: Pull complete [2022-10-25T10:10:21.959Z] 93c1e223e6f2: Pull complete [2022-10-25T10:10:22.234Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T10:10:22.234Z] 7d9ed39f4882: Download complete [2022-10-25T10:10:22.234Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T10:10:22.234Z] 99cc6dd402b0: Download complete [2022-10-25T10:10:22.494Z] 53926ce57604: Verifying Checksum [2022-10-25T10:10:22.494Z] 53926ce57604: Download complete [2022-10-25T10:10:25.777Z] 53926ce57604: Pull complete [2022-10-25T10:10:25.777Z] 21b2b0c7a3f4: Pull complete [2022-10-25T10:10:26.035Z] 30f14e443154: Pull complete [2022-10-25T10:10:26.035Z] 801331c1e519: Pull complete [2022-10-25T10:10:26.283Z] using credential edgex-jenkins-ssh [2022-10-25T10:10:26.301Z] Cloning the remote Git repository [2022-10-25T10:10:26.346Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T10:10:26.424Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-10-25T10:10:26.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T10:10:26.590Z] > git --version # timeout=10 [2022-10-25T10:10:26.614Z] > git --version # 'git version 2.25.1' [2022-10-25T10:10:26.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T10:10:26.671Z] Verifying host key using known hosts file [2022-10-25T10:10:26.908Z] 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-25T10:10:26.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T10:10:28.567Z] 99cc6dd402b0: Pull complete [2022-10-25T10:10:29.502Z] 7d9ed39f4882: Pull complete [2022-10-25T10:10:29.502Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T10:10:29.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T10:10:29.502Z] ---> 1dedd983c030 [2022-10-25T10:10:29.502Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:10:28.906Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T10:10:28.929Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T10:10:30.625Z] Merging remotes/origin/main commit 280325e4612ce8aecdce91e221aa23a95129edcb into PR head commit 73143a36111513d6c8c6c63e03c3b52992ea2f11 [2022-10-25T10:10:29.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T10:10:29.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T10:10:29.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T10:10:29.955Z] Verifying host key using known hosts file [2022-10-25T10:10:29.963Z] 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-25T10:10:29.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T10:10:30.641Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T10:10:30.661Z] > git checkout -f 73143a36111513d6c8c6c63e03c3b52992ea2f11 # timeout=10 [2022-10-25T10:10:30.744Z] > git remote # timeout=10 [2022-10-25T10:10:30.777Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T10:10:30.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T10:10:30.802Z] Verifying host key using known hosts file [2022-10-25T10:10:30.806Z] 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-25T10:10:30.816Z] > git merge 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 [2022-10-25T10:10:30.881Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T10:10:30.913Z] Merge succeeded, producing dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 [2022-10-25T10:10:30.913Z] Checking out Revision dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 (PR-223) [2022-10-25T10:10:30.912Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T10:10:30.934Z] > git checkout -f dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 # timeout=10 [2022-10-25T10:10:34.492Z] Commit message: "Merge commit '280325e4612ce8aecdce91e221aa23a95129edcb' into HEAD" [2022-10-25T10:10:34.526Z] First time build. Skipping changelog. [2022-10-25T10:10:34.812Z] ---> Running in 6de96379c368 [2022-10-25T10:10:34.812Z] Removing intermediate container 6de96379c368 [2022-10-25T10:10:34.812Z] ---> 93c28accd19f [2022-10-25T10:10:34.812Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:10:34.812Z] ---> Running in 3c4fc59d25b2 [2022-10-25T10:10:34.812Z] Removing intermediate container 3c4fc59d25b2 [2022-10-25T10:10:34.812Z] ---> cc38bcacbf61 [2022-10-25T10:10:34.812Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T10:10:35.073Z] ---> Running in 4e55a4556175 [2022-10-25T10:10:35.073Z] Removing intermediate container 4e55a4556175 [2022-10-25T10:10:35.073Z] ---> 9dcaf074ffae [2022-10-25T10:10:35.073Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T10:10:35.073Z] ---> Running in babfab2455db [2022-10-25T10:10:35.073Z] Removing intermediate container babfab2455db [2022-10-25T10:10:35.073Z] ---> 3a54b3e3cfd1 [2022-10-25T10:10:35.073Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:10:35.330Z] ---> Running in 3d6c034ed20e [2022-10-25T10:10:35.388Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T10:10:35.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T10:10:35.388Z] Dload Upload Total Spent Left Speed [2022-10-25T10:10:35.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k [2022-10-25T10:10:34.493Z] > git rev-list --no-walk 0d43708587b36b8540078d7785646ad9ef1cb500 # timeout=10 [Pipeline] sh [2022-10-25T10:10:35.897Z] Removing intermediate container 3d6c034ed20e [2022-10-25T10:10:35.897Z] ---> a0bbc1563ced [2022-10-25T10:10:35.897Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T10:10:35.897Z] ---> Running in eace1ae7c781 [2022-10-25T10:10:36.043Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T10:10:36.157Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T10:10:36.371Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-10-25T10:10:36.371Z] /etc/docker/daemon.json [2022-10-25T10:10:36.371Z] { [2022-10-25T10:10:36.371Z] "registry-mirrors": [ [2022-10-25T10:10:36.371Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T10:10:36.371Z] ], [2022-10-25T10:10:36.371Z] "bip": "10.250.0.254/24", [2022-10-25T10:10:36.371Z] "hosts": [ [2022-10-25T10:10:36.371Z] "tcp://0.0.0.0:5555", [2022-10-25T10:10:36.371Z] "unix:///var/run/docker.sock" [2022-10-25T10:10:36.371Z] ], [2022-10-25T10:10:36.371Z] "mtu": 1458, [2022-10-25T10:10:36.371Z] "selinux-enabled": true, [2022-10-25T10:10:36.371Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T10:10:36.371Z] } [Pipeline] sh [2022-10-25T10:10:36.701Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T10:10:37.034Z] + sudo service docker restart [2022-10-25T10:10:37.091Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T10:10:37.348Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T10:10:37.348Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T10:10:37.348Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T10:10:37.606Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T10:10:37.606Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T10:10:37.606Z] OK: 216 MiB in 55 packages [2022-10-25T10:10:38.168Z] Removing intermediate container eace1ae7c781 [2022-10-25T10:10:38.168Z] ---> 8a51bf65eb91 [2022-10-25T10:10:38.168Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T10:10:38.168Z] ---> Running in 24a7bc44e50d [2022-10-25T10:10:38.168Z] Removing intermediate container 24a7bc44e50d [2022-10-25T10:10:38.168Z] ---> 65c4ed4c2c57 [2022-10-25T10:10:38.168Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T10:10:38.426Z] ---> 2a73245b9edc [2022-10-25T10:10:38.426Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:10:38.426Z] ---> Running in 9e9b7308f251 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T10:10:55.309Z] provisioning config files... [2022-10-25T10:10:55.340Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3482164124624778896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:10:55.711Z] ---> docker-login.sh [2022-10-25T10:10:55.711Z] nexus3.edgexfoundry.org:10001 [2022-10-25T10:10:56.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:56.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:56.694Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:56.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:56.694Z] [2022-10-25T10:10:56.694Z] Login Succeeded [2022-10-25T10:10:56.694Z] nexus3.edgexfoundry.org:10002 [2022-10-25T10:10:56.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:57.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:57.246Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:57.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:57.246Z] [2022-10-25T10:10:57.246Z] Login Succeeded [2022-10-25T10:10:57.246Z] nexus3.edgexfoundry.org:10003 [2022-10-25T10:10:57.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:57.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:57.516Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:57.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:57.516Z] [2022-10-25T10:10:57.516Z] Login Succeeded [2022-10-25T10:10:57.516Z] nexus3.edgexfoundry.org:10004 [2022-10-25T10:10:57.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:58.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:58.070Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:58.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:58.070Z] [2022-10-25T10:10:58.070Z] Login Succeeded [2022-10-25T10:10:58.070Z] docker.io [2022-10-25T10:10:58.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T10:10:58.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T10:10:58.640Z] Configure a credential helper to remove this warning. See [2022-10-25T10:10:58.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T10:10:58.640Z] [2022-10-25T10:10:58.640Z] Login Succeeded [2022-10-25T10:10:58.640Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T10:10:58.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T10:10:58.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:58.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T10:10:58.860Z] ========================================================= [2022-10-25T10:10:58.860Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T10:10:58.860Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:10:59.225Z] + 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-25T10:10:59.225Z] Sending build context to Docker daemon 127.5kB [2022-10-25T10:10:59.495Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:10:59.495Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T10:10:59.772Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T10:10:59.772Z] 9b18e9b68314: Pulling fs layer [2022-10-25T10:10:59.772Z] d32db5db7311: Pulling fs layer [2022-10-25T10:10:59.772Z] d0c4b47475fc: Pulling fs layer [2022-10-25T10:10:59.772Z] 5831b945b038: Pulling fs layer [2022-10-25T10:10:59.772Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T10:10:59.772Z] e10730c5d714: Pulling fs layer [2022-10-25T10:10:59.772Z] 5dd5c2283517: Pulling fs layer [2022-10-25T10:10:59.772Z] d5ac0230b979: Pulling fs layer [2022-10-25T10:10:59.772Z] e10730c5d714: Waiting [2022-10-25T10:10:59.772Z] 5831b945b038: Waiting [2022-10-25T10:10:59.772Z] 5dd5c2283517: Waiting [2022-10-25T10:10:59.772Z] d5ac0230b979: Waiting [2022-10-25T10:10:59.772Z] 86bbec2aaacd: Waiting [2022-10-25T10:10:59.772Z] d0c4b47475fc: Verifying Checksum [2022-10-25T10:10:59.772Z] d0c4b47475fc: Download complete [2022-10-25T10:10:59.772Z] d32db5db7311: Verifying Checksum [2022-10-25T10:10:59.772Z] d32db5db7311: Download complete [2022-10-25T10:10:59.772Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T10:10:59.772Z] 86bbec2aaacd: Download complete [2022-10-25T10:10:59.772Z] e10730c5d714: Verifying Checksum [2022-10-25T10:10:59.772Z] e10730c5d714: Download complete [2022-10-25T10:10:59.772Z] 9b18e9b68314: Download complete [2022-10-25T10:11:00.751Z] 9b18e9b68314: Pull complete [2022-10-25T10:11:01.024Z] d5ac0230b979: Verifying Checksum [2022-10-25T10:11:01.024Z] d5ac0230b979: Download complete [2022-10-25T10:11:01.750Z] d32db5db7311: Pull complete [2022-10-25T10:11:02.360Z] d0c4b47475fc: Pull complete [2022-10-25T10:11:02.954Z] 5dd5c2283517: Verifying Checksum [2022-10-25T10:11:02.954Z] 5dd5c2283517: Download complete [2022-10-25T10:11:03.552Z] 5831b945b038: Verifying Checksum [2022-10-25T10:11:03.552Z] 5831b945b038: Download complete [2022-10-25T10:11:04.962Z] Removing intermediate container 9e9b7308f251 [2022-10-25T10:11:04.962Z] ---> ba35d1c012c6 [2022-10-25T10:11:04.962Z] Step 12/13 : COPY . . [2022-10-25T10:11:04.962Z] ---> 09d4a9f62f23 [2022-10-25T10:11:04.962Z] Step 13/13 : RUN $MAKE [2022-10-25T10:11:04.962Z] ---> Running in 231f3892fcaa [2022-10-25T10:11:04.962Z] noop [2022-10-25T10:11:04.962Z] Removing intermediate container 231f3892fcaa [2022-10-25T10:11:04.962Z] ---> 41590d83e38d [2022-10-25T10:11:04.962Z] Successfully built 41590d83e38d [2022-10-25T10:11:04.962Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:11:05.277Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T10:11:05.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:11:05.340Z] prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container [2022-10-25T10:11:05.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T10:11:06.084Z] $ docker top faf3b230caeef3b76942817d7b1e45b837c66630ccf51708a61e87940afd7ac1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:11:06.415Z] + go version [2022-10-25T10:11:06.415Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T10:11:06.432Z] $ docker stop --time=1 faf3b230caeef3b76942817d7b1e45b837c66630ccf51708a61e87940afd7ac1 [2022-10-25T10:11:07.681Z] $ docker rm -f faf3b230caeef3b76942817d7b1e45b837c66630ccf51708a61e87940afd7ac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:11:08.063Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T10:11:08.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:11:08.125Z] prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container [2022-10-25T10:11:08.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T10:11:08.487Z] $ docker top 6f7df240e64483aaa150ed7c974ab99b9c84935bcba8e1a6ad6ff3e1fb1a36fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:11:08.813Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-223 [Pipeline] fileExists [Pipeline] sh [2022-10-25T10:11:09.104Z] + make test [2022-10-25T10:11:09.105Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T10:11:09.363Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T10:11:18.507Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T10:11:18.507Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-10-25T10:11:19.086Z] 5831b945b038: Pull complete [2022-10-25T10:11:19.086Z] 86bbec2aaacd: Pull complete [2022-10-25T10:11:19.086Z] e10730c5d714: Pull complete [2022-10-25T10:11:23.356Z] 5dd5c2283517: Pull complete [2022-10-25T10:11:25.064Z] 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-25T10:11:25.064Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T10:11:25.947Z] d5ac0230b979: Pull complete [2022-10-25T10:11:25.947Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T10:11:25.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T10:11:25.947Z] ---> 59b3b1a385d4 [2022-10-25T10:11:25.947Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:11:27.367Z] ---> Running in 2d5f6e7ad382 [2022-10-25T10:11:27.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T10:11:27.587Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T10:11:27.587Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T10:11:27.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T10:11:27.617Z] $ docker stop --time=1 6f7df240e64483aaa150ed7c974ab99b9c84935bcba8e1a6ad6ff3e1fb1a36fb [2022-10-25T10:11:27.637Z] Removing intermediate container 2d5f6e7ad382 [2022-10-25T10:11:27.637Z] ---> 29285ec01c4e [2022-10-25T10:11:27.637Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:11:27.910Z] ---> Running in 5dfcde6cca84 [2022-10-25T10:11:28.180Z] Removing intermediate container 5dfcde6cca84 [2022-10-25T10:11:28.180Z] ---> 716e038fa006 [2022-10-25T10:11:28.180Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T10:11:28.180Z] ---> Running in 7a189286fef4 [2022-10-25T10:11:28.449Z] Removing intermediate container 7a189286fef4 [2022-10-25T10:11:28.449Z] ---> 42e0ea60a23d [2022-10-25T10:11:28.449Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T10:11:28.729Z] ---> Running in 6ac6758016c2 [2022-10-25T10:11:28.999Z] Removing intermediate container 6ac6758016c2 [2022-10-25T10:11:28.999Z] ---> b2a933dbf4c1 [2022-10-25T10:11:28.999Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:11:28.999Z] ---> Running in 626b6a607447 [2022-10-25T10:11:30.209Z] $ docker rm -f 6f7df240e64483aaa150ed7c974ab99b9c84935bcba8e1a6ad6ff3e1fb1a36fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T10:11:30.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T10:11:30.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T10:11:30.963Z] Removing intermediate container 626b6a607447 [2022-10-25T10:11:30.963Z] ---> 48a073d168a0 [2022-10-25T10:11:30.963Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T10:11:30.963Z] ---> Running in b551ebc2496b [2022-10-25T10:11:31.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T10:11:31.391Z] + ls -al . [2022-10-25T10:11:31.391Z] total 184 [2022-10-25T10:11:31.391Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 10:11 . [2022-10-25T10:11:31.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 .. [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 10:09 .dockerignore [2022-10-25T10:11:31.391Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:11 .git [2022-10-25T10:11:31.391Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 .github [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 10:09 .gitignore [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:09 .golangci.yml [2022-10-25T10:11:31.391Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:10 .semver [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 10:09 Attribution.txt [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 10:09 CHANGELOG.md [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 10:09 Dockerfile [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:09 GOVERNANCE.md [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:09 Jenkinsfile [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:09 LICENSE [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 10:09 Makefile [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 10:09 OWNERS.md [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 10:09 README.md [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION [2022-10-25T10:11:31.391Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 bin [2022-10-25T10:11:31.391Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 cmd [2022-10-25T10:11:31.391Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 10:11 coverage.out [2022-10-25T10:11:31.391Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 driver [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 10:09 go.mod [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 10:09 go.sum [2022-10-25T10:11:31.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 snap [2022-10-25T10:11:31.391Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:11:31.689Z] + 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=7e30031deb7a9794e2086a484ec2f597982a89ac --label arch=amd64 --label version=0.0.0 . [2022-10-25T10:11:31.689Z] Sending build context to Docker daemon 10.76MB [2022-10-25T10:11:31.689Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:11:31.689Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T10:11:31.689Z] ---> 41590d83e38d [2022-10-25T10:11:31.689Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:11:31.930Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T10:11:31.948Z] ---> Running in 4c034ddd25c8 [2022-10-25T10:11:31.948Z] Removing intermediate container 4c034ddd25c8 [2022-10-25T10:11:31.948Z] ---> d4b64412ea40 [2022-10-25T10:11:31.948Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:11:31.948Z] ---> Running in 7f571a4d4a4e [2022-10-25T10:11:31.948Z] Removing intermediate container 7f571a4d4a4e [2022-10-25T10:11:31.948Z] ---> d2c762a9cb4c [2022-10-25T10:11:31.948Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T10:11:32.206Z] ---> Running in 4a9534e4f90e [2022-10-25T10:11:32.206Z] Removing intermediate container 4a9534e4f90e [2022-10-25T10:11:32.206Z] ---> ae44b2798251 [2022-10-25T10:11:32.206Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T10:11:32.206Z] ---> Running in bc9b8378d8dd [2022-10-25T10:11:32.465Z] Removing intermediate container bc9b8378d8dd [2022-10-25T10:11:32.465Z] ---> fbf45f1a7c4d [2022-10-25T10:11:32.465Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:11:32.465Z] ---> Running in 1367df7ec2a0 [2022-10-25T10:11:32.897Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T10:11:33.031Z] Removing intermediate container 1367df7ec2a0 [2022-10-25T10:11:33.031Z] ---> 1dc49c66ec25 [2022-10-25T10:11:33.031Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T10:11:33.031Z] ---> Running in c91730347f17 [2022-10-25T10:11:33.288Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:33.863Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T10:11:34.132Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T10:11:34.132Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T10:11:34.222Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:34.222Z] OK: 216 MiB in 55 packages [2022-10-25T10:11:34.404Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T10:11:34.404Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T10:11:34.404Z] OK: 226 MiB in 55 packages [2022-10-25T10:11:34.788Z] Removing intermediate container c91730347f17 [2022-10-25T10:11:34.788Z] ---> 0bbbf1e0d088 [2022-10-25T10:11:34.788Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T10:11:34.788Z] ---> Running in fc54ce74d323 [2022-10-25T10:11:34.788Z] Removing intermediate container fc54ce74d323 [2022-10-25T10:11:34.788Z] ---> 6276531a06ec [2022-10-25T10:11:34.788Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T10:11:34.788Z] ---> 66fcf678465d [2022-10-25T10:11:34.788Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:11:34.788Z] ---> Running in a0a9496ca865 [2022-10-25T10:11:35.355Z] Removing intermediate container a0a9496ca865 [2022-10-25T10:11:35.355Z] ---> a86fc8d41300 [2022-10-25T10:11:35.355Z] Step 12/26 : COPY . . [2022-10-25T10:11:35.369Z] Removing intermediate container b551ebc2496b [2022-10-25T10:11:35.369Z] ---> d5a6062e647b [2022-10-25T10:11:35.369Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T10:11:35.637Z] ---> Running in 8c92d4b6056e [2022-10-25T10:11:35.905Z] Removing intermediate container 8c92d4b6056e [2022-10-25T10:11:35.905Z] ---> 678638631ece [2022-10-25T10:11:35.905Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T10:11:35.921Z] ---> 0f134e18bb81 [2022-10-25T10:11:35.921Z] Step 13/26 : RUN $MAKE [2022-10-25T10:11:35.921Z] ---> Running in 08c04b0cd415 [2022-10-25T10:11:36.179Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T10:11:36.495Z] ---> 7b3b7bfa3eaf [2022-10-25T10:11:36.495Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:11:36.495Z] ---> Running in bce29fb08107 [2022-10-25T10:11:58.093Z] Removing intermediate container 08c04b0cd415 [2022-10-25T10:11:58.093Z] ---> 0f84f231e7a2 [2022-10-25T10:11:58.093Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T10:11:58.093Z] 3.16: Pulling from library/alpine [2022-10-25T10:11:58.093Z] 213ec9aee27d: Already exists [2022-10-25T10:11:58.093Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T10:11:58.093Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T10:11:58.093Z] ---> 9c6f07244728 [2022-10-25T10:11:58.093Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T10:11:58.093Z] ---> Running in adcc36cff37b [2022-10-25T10:11:58.093Z] Removing intermediate container adcc36cff37b [2022-10-25T10:11:58.093Z] ---> 0b88efb9cbaf [2022-10-25T10:11:58.093Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T10:11:58.093Z] ---> Running in 5bf73dcc62d6 [2022-10-25T10:11:58.093Z] Removing intermediate container 5bf73dcc62d6 [2022-10-25T10:11:58.093Z] ---> af2fc2505d3a [2022-10-25T10:11:58.093Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T10:11:58.093Z] ---> Running in 85528c173694 [2022-10-25T10:11:58.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:58.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T10:11:58.093Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T10:11:58.093Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T10:11:58.093Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T10:11:58.093Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T10:11:58.093Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T10:11:58.093Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T10:11:58.093Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T10:11:58.093Z] OK: 8 MiB in 20 packages [2022-10-25T10:11:58.093Z] Removing intermediate container 85528c173694 [2022-10-25T10:11:58.093Z] ---> b51b596e331f [2022-10-25T10:11:58.093Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T10:11:58.093Z] ---> b2a1dd71f0ce [2022-10-25T10:11:58.093Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T10:11:58.352Z] ---> e2eaec0fc0e5 [2022-10-25T10:11:58.352Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T10:11:58.352Z] ---> 7e0a796c2356 [2022-10-25T10:11:58.352Z] Step 21/26 : EXPOSE 59986 [2022-10-25T10:11:58.352Z] ---> Running in 5a7e0611e3a3 [2022-10-25T10:11:58.639Z] Removing intermediate container 5a7e0611e3a3 [2022-10-25T10:11:58.639Z] ---> 9b02d1c775d2 [2022-10-25T10:11:58.639Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T10:11:58.639Z] ---> Running in d33c01438ad5 [2022-10-25T10:11:58.639Z] Removing intermediate container d33c01438ad5 [2022-10-25T10:11:58.639Z] ---> 893fb6e7497b [2022-10-25T10:11:58.639Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T10:11:58.639Z] ---> Running in 41d13b201137 [2022-10-25T10:11:58.898Z] Removing intermediate container 41d13b201137 [2022-10-25T10:11:58.898Z] ---> 5b2655468946 [2022-10-25T10:11:58.898Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T10:11:58.898Z] ---> Running in 1c13fec52277 [2022-10-25T10:11:59.157Z] Removing intermediate container 1c13fec52277 [2022-10-25T10:11:59.157Z] ---> 28634823f324 [2022-10-25T10:11:59.157Z] Step 25/26 : LABEL git_sha=7e30031deb7a9794e2086a484ec2f597982a89ac [2022-10-25T10:11:59.157Z] ---> Running in 04e14bc98117 [2022-10-25T10:11:59.157Z] Removing intermediate container 04e14bc98117 [2022-10-25T10:11:59.157Z] ---> bf3309f7d765 [2022-10-25T10:11:59.157Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T10:11:59.157Z] ---> Running in 53c9d891fcf0 [2022-10-25T10:11:59.416Z] Removing intermediate container 53c9d891fcf0 [2022-10-25T10:11:59.416Z] ---> 765522b14069 [2022-10-25T10:11:59.416Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T10:11:59.416Z] Successfully built 765522b14069 [2022-10-25T10:11:59.416Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-25T10:11:59.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:11:59.893Z] [2022-10-25T10:11:59.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:12:00.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:12:00.208Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T10:12:00.208Z] 5eb5b503b376: Pulling fs layer [2022-10-25T10:12:00.208Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T10:12:00.208Z] ec43610c2a17: Pulling fs layer [2022-10-25T10:12:00.208Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T10:12:00.208Z] 33b1e0a273af: Pulling fs layer [2022-10-25T10:12:00.208Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T10:12:00.208Z] 2f39f015ded8: Pulling fs layer [2022-10-25T10:12:00.208Z] 33b1e0a273af: Waiting [2022-10-25T10:12:00.208Z] 5d3b04190fa2: Waiting [2022-10-25T10:12:00.208Z] 3a2ae6a8a46f: Waiting [2022-10-25T10:12:00.208Z] 2f39f015ded8: Waiting [2022-10-25T10:12:00.208Z] 5c69ac0246d0: Download complete [2022-10-25T10:12:00.209Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T10:12:00.209Z] 3a2ae6a8a46f: Download complete [2022-10-25T10:12:00.468Z] 33b1e0a273af: Verifying Checksum [2022-10-25T10:12:00.468Z] 33b1e0a273af: Download complete [2022-10-25T10:12:00.468Z] 5d3b04190fa2: Download complete [2022-10-25T10:12:00.468Z] ec43610c2a17: Verifying Checksum [2022-10-25T10:12:00.468Z] ec43610c2a17: Download complete [2022-10-25T10:12:00.468Z] 5eb5b503b376: Download complete [2022-10-25T10:12:01.430Z] 2f39f015ded8: Verifying Checksum [2022-10-25T10:12:01.430Z] 2f39f015ded8: Download complete [2022-10-25T10:12:01.701Z] 5eb5b503b376: Pull complete [2022-10-25T10:12:01.960Z] 5c69ac0246d0: Pull complete [2022-10-25T10:12:02.220Z] ec43610c2a17: Pull complete [2022-10-25T10:12:02.220Z] 3a2ae6a8a46f: Pull complete [2022-10-25T10:12:02.479Z] 33b1e0a273af: Pull complete [2022-10-25T10:12:02.479Z] 5d3b04190fa2: Pull complete [2022-10-25T10:12:06.665Z] 2f39f015ded8: Pull complete [2022-10-25T10:12:06.665Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T10:12:06.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:12:06.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:12:06.756Z] prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container [2022-10-25T10:12:06.795Z] $ 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/gexfoundry_device-rest-go_PR-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T10:12:11.091Z] $ docker top 0705b71fadf6a321942fa62f36603062b7e46c675b9640f54e0d75e7a10363cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:12:11.464Z] ---> job-cost.sh [2022-10-25T10:12:11.464Z] lf-activate-venv: SKIPPING [2022-10-25T10:12:11.464Z] INFO: No Stack... [2022-10-25T10:12:11.723Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T10:12:11.982Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T10:12:12.278Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-223/archives/cost.csv [2022-10-25T10:12:12.278Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T10:12:12.291Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [2022-10-25T10:12:12.297Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] did not exist. Created. [2022-10-25T10:12:12.297Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T10:12:12.606Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T10:12:12.629Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T10:12:12.635Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T10:12:12.665Z] $ docker stop --time=1 0705b71fadf6a321942fa62f36603062b7e46c675b9640f54e0d75e7a10363cc [2022-10-25T10:12:13.809Z] $ docker rm -f 0705b71fadf6a321942fa62f36603062b7e46c675b9640f54e0d75e7a10363cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T10:12:32.955Z] Removing intermediate container bce29fb08107 [2022-10-25T10:12:32.955Z] ---> a9e7e9635e36 [2022-10-25T10:12:32.955Z] Step 12/13 : COPY . . [2022-10-25T10:12:32.955Z] ---> 5f3eb40ef094 [2022-10-25T10:12:32.955Z] Step 13/13 : RUN $MAKE [2022-10-25T10:12:32.955Z] ---> Running in 77b2228bc8ab [2022-10-25T10:12:32.955Z] noop [2022-10-25T10:12:32.955Z] Removing intermediate container 77b2228bc8ab [2022-10-25T10:12:32.955Z] ---> 0287cd08a73f [2022-10-25T10:12:33.223Z] Successfully built 0287cd08a73f [2022-10-25T10:12:33.223Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:12:33.579Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T10:12:33.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:12:33.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-116832 does not seem to be running inside a container [2022-10-25T10:12:33.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T10:12:35.079Z] $ docker top 1581600c162be434166a29a7c6be0252dbad3e48c5663eaa11b78ff6fb731858 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:12:35.940Z] + go version [2022-10-25T10:12:35.940Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T10:12:35.955Z] $ docker stop --time=1 1581600c162be434166a29a7c6be0252dbad3e48c5663eaa11b78ff6fb731858 [2022-10-25T10:12:37.621Z] $ docker rm -f 1581600c162be434166a29a7c6be0252dbad3e48c5663eaa11b78ff6fb731858 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:12:38.176Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T10:12:38.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:12:38.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-116832 does not seem to be running inside a container [2022-10-25T10:12:38.416Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T10:12:39.672Z] $ docker top 97c93f846823b6800ec9656ce18c0978742d40d75761c32daffdf01e5d777941 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:12:40.559Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-25T10:12:41.218Z] + make test [2022-10-25T10:12:41.218Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T10:12:43.168Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T10:14:19.832Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T10:14:19.832Z] ok github.com/edgexfoundry/device-rest-go/driver 0.077s coverage: 55.2% of statements [2022-10-25T10:14:19.832Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T10:14:19.832Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T10:14:41.934Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T10:14:41.934Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T10:14:41.934Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T10:14:41.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T10:14:41.957Z] $ docker stop --time=1 97c93f846823b6800ec9656ce18c0978742d40d75761c32daffdf01e5d777941 [2022-10-25T10:14:43.760Z] $ docker rm -f 97c93f846823b6800ec9656ce18c0978742d40d75761c32daffdf01e5d777941 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T10:14:44.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T10:14:44.794Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T10:14:45.234Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T10:14:45.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T10:14:45.948Z] + ls -al . [2022-10-25T10:14:45.948Z] total 180 [2022-10-25T10:14:45.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:12 . [2022-10-25T10:14:45.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 .. [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 10:10 .dockerignore [2022-10-25T10:14:45.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:10 .git [2022-10-25T10:14:45.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 .github [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 10:10 .gitignore [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:10 .golangci.yml [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 10:10 Attribution.txt [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 10:10 CHANGELOG.md [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 10:10 Dockerfile [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:10 GOVERNANCE.md [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:10 Jenkinsfile [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:10 LICENSE [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 10:10 Makefile [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 10:10 OWNERS.md [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 10:10 README.md [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION [2022-10-25T10:14:45.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 bin [2022-10-25T10:14:45.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 cmd [2022-10-25T10:14:45.948Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 10:14 coverage.out [2022-10-25T10:14:45.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 driver [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 10:10 go.mod [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 10:10 go.sum [2022-10-25T10:14:45.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 snap [2022-10-25T10:14:45.948Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:14:46.276Z] + 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=dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 --label arch=arm64 --label version=0.0.0 . [2022-10-25T10:14:46.277Z] Sending build context to Docker daemon 137.7kB [2022-10-25T10:14:46.545Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T10:14:46.545Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T10:14:46.545Z] ---> 0287cd08a73f [2022-10-25T10:14:46.545Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T10:14:46.545Z] ---> Running in 4463808ded1b [2022-10-25T10:14:46.812Z] Removing intermediate container 4463808ded1b [2022-10-25T10:14:46.812Z] ---> c5a556f91da2 [2022-10-25T10:14:46.812Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T10:14:46.812Z] ---> Running in c8cc337ae40e [2022-10-25T10:14:47.398Z] Removing intermediate container c8cc337ae40e [2022-10-25T10:14:47.398Z] ---> 48f4f55624b8 [2022-10-25T10:14:47.398Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T10:14:47.398Z] ---> Running in 7b6e32b271db [2022-10-25T10:14:47.666Z] Removing intermediate container 7b6e32b271db [2022-10-25T10:14:47.666Z] ---> d2a7f49d190e [2022-10-25T10:14:47.666Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T10:14:47.666Z] ---> Running in 96f6b6e5dfba [2022-10-25T10:14:47.936Z] Removing intermediate container 96f6b6e5dfba [2022-10-25T10:14:47.936Z] ---> 9470809265f5 [2022-10-25T10:14:47.936Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T10:14:47.936Z] ---> Running in 704141f37773 [2022-10-25T10:14:49.876Z] Removing intermediate container 704141f37773 [2022-10-25T10:14:49.876Z] ---> c67b1fc17859 [2022-10-25T10:14:49.876Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T10:14:49.876Z] ---> Running in 03dd5f1cb727 [2022-10-25T10:14:50.458Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T10:14:51.427Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T10:14:52.388Z] OK: 226 MiB in 55 packages [2022-10-25T10:14:53.350Z] Removing intermediate container 03dd5f1cb727 [2022-10-25T10:14:53.350Z] ---> 4827bffa0c20 [2022-10-25T10:14:53.350Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T10:14:53.350Z] ---> Running in ed8328fbe6ba [2022-10-25T10:14:53.617Z] Removing intermediate container ed8328fbe6ba [2022-10-25T10:14:53.617Z] ---> cd028015570f [2022-10-25T10:14:53.617Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T10:14:55.026Z] ---> 07f9939a475a [2022-10-25T10:14:55.026Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T10:14:55.026Z] ---> Running in aa2974169e49 [2022-10-25T10:14:56.980Z] Removing intermediate container aa2974169e49 [2022-10-25T10:14:56.980Z] ---> 9376e986370c [2022-10-25T10:14:56.980Z] Step 12/26 : COPY . . [2022-10-25T10:14:57.566Z] ---> 991e71054b69 [2022-10-25T10:14:57.566Z] Step 13/26 : RUN $MAKE [2022-10-25T10:14:57.834Z] ---> Running in e20c2cfe43f4 [2022-10-25T10:14:58.798Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T10:17:35.562Z] Removing intermediate container e20c2cfe43f4 [2022-10-25T10:17:35.562Z] ---> 03f2e6772307 [2022-10-25T10:17:35.562Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T10:17:35.562Z] 3.16: Pulling from library/alpine [2022-10-25T10:17:35.562Z] 9b18e9b68314: Already exists [2022-10-25T10:17:35.562Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T10:17:35.562Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T10:17:35.562Z] ---> a6215f271958 [2022-10-25T10:17:35.562Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T10:17:35.562Z] ---> Running in 60011a1a422a [2022-10-25T10:17:35.562Z] Removing intermediate container 60011a1a422a [2022-10-25T10:17:35.562Z] ---> 2a8948756be2 [2022-10-25T10:17:35.562Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T10:17:35.562Z] ---> Running in f832f96bfb29 [2022-10-25T10:17:35.562Z] Removing intermediate container f832f96bfb29 [2022-10-25T10:17:35.562Z] ---> bb48caa8885d [2022-10-25T10:17:35.562Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T10:17:35.562Z] ---> Running in 682e29439784 [2022-10-25T10:17:35.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T10:17:35.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T10:17:35.562Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T10:17:35.562Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T10:17:35.562Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T10:17:35.562Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T10:17:35.562Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T10:17:35.562Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T10:17:35.562Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T10:17:35.562Z] OK: 8 MiB in 20 packages [2022-10-25T10:17:35.562Z] Removing intermediate container 682e29439784 [2022-10-25T10:17:35.562Z] ---> 0e40c82b952c [2022-10-25T10:17:35.562Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T10:17:35.562Z] ---> 4d87c7fae4e9 [2022-10-25T10:17:35.562Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T10:17:35.562Z] ---> 877c0dda1ba4 [2022-10-25T10:17:35.562Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T10:17:35.562Z] ---> a9eb2495dedb [2022-10-25T10:17:35.562Z] Step 21/26 : EXPOSE 59986 [2022-10-25T10:17:35.562Z] ---> Running in ac874ed30682 [2022-10-25T10:17:35.562Z] Removing intermediate container ac874ed30682 [2022-10-25T10:17:35.562Z] ---> 8db4ba03c55f [2022-10-25T10:17:35.562Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T10:17:35.562Z] ---> Running in 300a750054c6 [2022-10-25T10:17:35.562Z] Removing intermediate container 300a750054c6 [2022-10-25T10:17:35.562Z] ---> 926a6e351e97 [2022-10-25T10:17:35.562Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T10:17:35.562Z] ---> Running in 9e05e435d77c [2022-10-25T10:17:35.562Z] Removing intermediate container 9e05e435d77c [2022-10-25T10:17:35.562Z] ---> a40d8d3b5ad8 [2022-10-25T10:17:35.562Z] Step 24/26 : LABEL arch=arm64 [2022-10-25T10:17:35.562Z] ---> Running in de5dd82de8a5 [2022-10-25T10:17:35.562Z] Removing intermediate container de5dd82de8a5 [2022-10-25T10:17:35.562Z] ---> a717b6e8454f [2022-10-25T10:17:35.562Z] Step 25/26 : LABEL git_sha=dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 [2022-10-25T10:17:35.562Z] ---> Running in f1e4578695b0 [2022-10-25T10:17:35.562Z] Removing intermediate container f1e4578695b0 [2022-10-25T10:17:35.562Z] ---> dc8501aa6305 [2022-10-25T10:17:35.562Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T10:17:35.562Z] ---> Running in 4d290e8f54ed [2022-10-25T10:17:35.562Z] Removing intermediate container 4d290e8f54ed [2022-10-25T10:17:35.562Z] ---> 82f180fa8059 [2022-10-25T10:17:35.562Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T10:17:35.562Z] Successfully built 82f180fa8059 [2022-10-25T10:17:35.562Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:17:35.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T10:17:35.998Z] [2022-10-25T10:17:35.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:17:36.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T10:17:36.335Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T10:17:36.335Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T10:17:36.335Z] 04944245beec: Pulling fs layer [2022-10-25T10:17:36.335Z] 699f458cf7ca: Pulling fs layer [2022-10-25T10:17:36.335Z] 765212b225bb: Pulling fs layer [2022-10-25T10:17:36.335Z] f23df028b6ca: Pulling fs layer [2022-10-25T10:17:36.335Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T10:17:36.335Z] 765212b225bb: Waiting [2022-10-25T10:17:36.335Z] f23df028b6ca: Waiting [2022-10-25T10:17:36.335Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T10:17:36.335Z] d65c8cfc05b1: Waiting [2022-10-25T10:17:36.335Z] 2437ff75d9bd: Waiting [2022-10-25T10:17:36.608Z] 04944245beec: Verifying Checksum [2022-10-25T10:17:36.608Z] 04944245beec: Download complete [2022-10-25T10:17:36.608Z] 765212b225bb: Verifying Checksum [2022-10-25T10:17:36.608Z] 765212b225bb: Download complete [2022-10-25T10:17:36.608Z] f23df028b6ca: Verifying Checksum [2022-10-25T10:17:36.608Z] f23df028b6ca: Download complete [2022-10-25T10:17:36.608Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T10:17:36.608Z] d65c8cfc05b1: Download complete [2022-10-25T10:17:36.883Z] 699f458cf7ca: Verifying Checksum [2022-10-25T10:17:36.883Z] 699f458cf7ca: Download complete [2022-10-25T10:17:37.153Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T10:17:37.153Z] 8998bd30e6a1: Download complete [2022-10-25T10:17:39.746Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T10:17:39.746Z] 2437ff75d9bd: Download complete [2022-10-25T10:17:41.712Z] 8998bd30e6a1: Pull complete [2022-10-25T10:17:41.979Z] 04944245beec: Pull complete [2022-10-25T10:17:43.391Z] 699f458cf7ca: Pull complete [2022-10-25T10:17:43.391Z] 765212b225bb: Pull complete [2022-10-25T10:17:44.353Z] f23df028b6ca: Pull complete [2022-10-25T10:17:44.619Z] d65c8cfc05b1: Pull complete [2022-10-25T10:17:59.602Z] 2437ff75d9bd: Pull complete [2022-10-25T10:17:59.602Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T10:17:59.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T10:17:59.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:17:59.774Z] prd-ubuntu20.04-docker-arm64-4c-16g-116832 does not seem to be running inside a container [2022-10-25T10:17:59.833Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T10:18:02.703Z] $ docker top aa7414b7fc671e850676c707ac42ec71126571d6baa224019f9a1d88246c4345 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:03.561Z] ---> job-cost.sh [2022-10-25T10:18:03.561Z] lf-activate-venv: SKIPPING [2022-10-25T10:18:03.561Z] INFO: No Stack... [2022-10-25T10:18:03.826Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T10:18:04.784Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T10:18:05.103Z] + + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-10-25T10:18:05.103Z] cut -d, -f6 [Pipeline] lock [2022-10-25T10:18:05.407Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [2022-10-25T10:18:05.412Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] did not exist. Created. [2022-10-25T10:18:05.412Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T10:18:05.750Z] /w/workspace/device-rest-go/2@tmp/durable-ee233e90/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T10:18:06.095Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T10:18:06.387Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T10:18:06.429Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T10:18:06.435Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T10:18:06.446Z] $ docker stop --time=1 aa7414b7fc671e850676c707ac42ec71126571d6baa224019f9a1d88246c4345 [2022-10-25T10:18:07.924Z] $ docker rm -f aa7414b7fc671e850676c707ac42ec71126571d6baa224019f9a1d88246c4345 [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-25T10:18:08.303Z] provisioning config files... [2022-10-25T10:18:08.309Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config3259539085625878212tmp [Pipeline] { [Pipeline] sh [2022-10-25T10:18:08.598Z] + set +x [2022-10-25T10:18:08.598Z] + curl -s https://codecov.io/bash [2022-10-25T10:18:08.598Z] + bash -s -- [2022-10-25T10:18:08.598Z] [2022-10-25T10:18:08.598Z] _____ _ [2022-10-25T10:18:08.598Z] / ____| | | [2022-10-25T10:18:08.598Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T10:18:08.598Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T10:18:08.598Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T10:18:08.598Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T10:18:08.599Z] Bash-1.0.6 [2022-10-25T10:18:08.599Z] [2022-10-25T10:18:08.599Z] [2022-10-25T10:18:08.599Z] ==> git version 2.25.1 found [2022-10-25T10:18:08.599Z] ==> 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-25T10:18:08.599Z] Release-Date: 2020-01-08 [2022-10-25T10:18:08.599Z] 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-25T10:18:08.599Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T10:18:08.599Z] ==> Jenkins CI detected. [2022-10-25T10:18:08.599Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-223 [2022-10-25T10:18:08.599Z] project root: . [2022-10-25T10:18:08.599Z] --> token set from env [2022-10-25T10:18:08.599Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T10:18:08.599Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T10:18:08.599Z] ==> Python coveragepy not found [2022-10-25T10:18:08.599Z] ==> Searching for coverage reports in: [2022-10-25T10:18:08.599Z] + . [2022-10-25T10:18:08.599Z] -> Found 1 reports [2022-10-25T10:18:08.599Z] ==> Detecting git/mercurial file structure [2022-10-25T10:18:08.599Z] ==> Reading reports [2022-10-25T10:18:08.599Z] + ./coverage.out bytes=9355 [2022-10-25T10:18:08.599Z] ==> Appending adjustments [2022-10-25T10:18:08.599Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T10:18:08.857Z] + Found adjustments [2022-10-25T10:18:08.857Z] ==> Gzipping contents [2022-10-25T10:18:08.857Z] 4.0K /tmp/codecov.BK2Rrg.gz [2022-10-25T10:18:08.857Z] ==> Uploading reports [2022-10-25T10:18:08.857Z] url: https://codecov.io [2022-10-25T10:18:08.857Z] query: branch=PR-223&commit=7e30031deb7a9794e2086a484ec2f597982a89ac&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-223%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=223&job=&cmd_args= [2022-10-25T10:18:08.857Z] -> Pinging Codecov [2022-10-25T10:18:08.857Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-223&commit=7e30031deb7a9794e2086a484ec2f597982a89ac&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-223%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=223&job=&cmd_args= [2022-10-25T10:18:09.116Z] -> Uploading to [2022-10-25T10:18:09.116Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/7e30031deb7a9794e2086a484ec2f597982a89ac/0edc51e3-aee4-48c5-aa93-3afdd3df1844.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T101808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=486a1c2655a44adbcd2c9a4fae4f262d2a9b5a67b7452b90c3eb6d9fb4268bda [2022-10-25T10:18:09.116Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T10:18:09.116Z] Dload Upload Total Spent Left Speed [2022-10-25T10:18:09.116Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 8236 --:--:-- --:--:-- --:--:-- 8276 [2022-10-25T10:18:09.374Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] } [2022-10-25T10:18:09.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-25T10:18:10.005Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-223/archives ] [2022-10-25T10:18:10.005Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-223/archives [2022-10-25T10:18:10.005Z] total 16 [2022-10-25T10:18:10.005Z] drwxr-xr-x 3 root root 4096 Oct 25 10:12 . [2022-10-25T10:18:10.005Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 10:12 .. [2022-10-25T10:18:10.005Z] drwxr-xr-x 2 root root 4096 Oct 25 10:12 cost [2022-10-25T10:18:10.005Z] -rw-r--r-- 1 root root 86 Oct 25 10:12 cost.csv [2022-10-25T10:18:10.005Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-223/archives [2022-10-25T10:18:10.005Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-223/archives [2022-10-25T10:18:10.005Z] total 16 [2022-10-25T10:18:10.005Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:12 . [2022-10-25T10:18:10.005Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 10:12 .. [2022-10-25T10:18:10.005Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 10:12 cost [2022-10-25T10:18:10.005Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:10.297Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:11.155Z] ---> package-listing.sh [2022-10-25T10:18:11.155Z] ++ facter osfamily [2022-10-25T10:18:11.155Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T10:18:11.413Z] + OS_FAMILY=debian [2022-10-25T10:18:11.413Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-223 [2022-10-25T10:18:11.413Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T10:18:11.413Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T10:18:11.413Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T10:18:11.413Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T10:18:11.413Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-223 ']' [2022-10-25T10:18:11.413Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T10:18:11.413Z] + case "${OS_FAMILY}" in [2022-10-25T10:18:11.413Z] + dpkg -l [2022-10-25T10:18:11.413Z] + grep '^ii' [2022-10-25T10:18:11.413Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T10:18:11.413Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T10:18:11.413Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T10:18:11.413Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-223 ']' [2022-10-25T10:18:11.413Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-223/archives/ [2022-10-25T10:18:11.413Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-223/archives/ [Pipeline] echo [2022-10-25T10:18:11.427Z] 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/gexfoundry_device-rest-go_PR-223/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T10:18:11.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T10:18:12.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T10:18:12.257Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T10:18:12.321Z] prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container [2022-10-25T10:18:12.364Z] $ 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/gexfoundry_device-rest-go_PR-223/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T10:18:12.547Z] $ docker top 45404afa2d192c0b76f4dd1777a4953d9454fa4f62134ca3b52a9c5e76e0f650 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T10:18:12.876Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T10:18:13.160Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T10:18:13.443Z] + ls /var/log/sa-host [2022-10-25T10:18:13.443Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T10:18:13.501Z] provisioning config files... [2022-10-25T10:18:13.509Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config17368720235232981704tmp [Pipeline] { [Pipeline] echo [2022-10-25T10:18:13.519Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:13.801Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T10:18:13.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:14.114Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T10:18:14.123Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:14.401Z] ---> sudo-logs.sh [2022-10-25T10:18:14.401Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T10:18:14.422Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:14.707Z] ---> job-cost.sh [2022-10-25T10:18:14.707Z] lf-activate-venv: SKIPPING [2022-10-25T10:18:14.707Z] DEBUG: total: 0.2199999988079071 [2022-10-25T10:18:14.707Z] INFO: Retrieving Stack Cost... [2022-10-25T10:18:14.966Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T10:18:15.225Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T10:18:15.236Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T10:18:15.516Z] ---> logs-deploy.sh [2022-10-25T10:18:15.516Z] lf-activate-venv: SKIPPING [2022-10-25T10:18:15.516Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-223/2 [2022-10-25T10:18:15.516Z] INFO: archiving workspace using pattern(s): [2022-10-25T10:18:16.447Z] Archives upload complete. [2022-10-25T10:18:16.447Z] INFO: archiving logs to Nexus