Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 280325e4612ce8aecdce91e221aa23a95129edcb Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12979694589213379537.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9743056122446474334.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1388765479306107874.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4621302082018905391.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11179521190872972082.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116049 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 280325e4612ce8aecdce91e221aa23a95129edcb (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 Commit message: "Merge pull request #221 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.46" > git rev-list --no-walk 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:08:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:08:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:08:32 ========================================================= 08:08:32 EdgeX Global Pipelines Version Info 08:08:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:08:33 ------------------- 08:08:33 stable info: 08:08:33 ------------------- 08:08:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:08:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 08:08:33 Message: update stable to v1.0.243 08:08:34 ------------------- 08:08:34 experimental info: 08:08:34 ------------------- 08:08:34 Commited By: **** collab-it+edgex@linuxfoundation.org 08:08:34 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 08:08:34 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 280325e [Pipeline] echo 08:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:08:34 provisioning config files... 08:08:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17070933150576704644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:08:35 ---> docker-login.sh 08:08:35 nexus3.edgexfoundry.org:10001 08:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:35 Configure a credential helper to remove this warning. See 08:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:35 08:08:35 Login Succeeded 08:08:35 nexus3.edgexfoundry.org:10002 08:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:35 Configure a credential helper to remove this warning. See 08:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:35 08:08:35 Login Succeeded 08:08:35 nexus3.edgexfoundry.org:10003 08:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:35 Configure a credential helper to remove this warning. See 08:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:35 08:08:35 Login Succeeded 08:08:35 nexus3.edgexfoundry.org:10004 08:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:35 Configure a credential helper to remove this warning. See 08:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:35 08:08:35 Login Succeeded 08:08:35 docker.io 08:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:36 Configure a credential helper to remove this warning. See 08:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:36 08:08:36 Login Succeeded 08:08:36 ---> docker-login.sh ends [Pipeline] } 08:08:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:08:36 + git rev-list -1 --merges 280325e4612ce8aecdce91e221aa23a95129edcb~1..280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo 08:08:36 -----------> git rev-list -1 --merges 280325e4612ce8aecdce91e221aa23a95129edcb~1..280325e4612ce8aecdce91e221aa23a95129edcb 280325e4612ce8aecdce91e221aa23a95129edcb 08:08:36 280325e4612ce8aecdce91e221aa23a95129edcb [false] [Pipeline] sh 08:08:37 + git log --format=format:%s -1 280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo 08:08:37 ========================================================= 08:08:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:08:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:37 + git log --format=format:%s -1 280325e4612ce8aecdce91e221aa23a95129edcb [Pipeline] echo 08:08:37 [semverPrep] GIT_COMMIT: 280325e4612ce8aecdce91e221aa23a95129edcb, Commit Message: Merge pull request #221 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.46 [Pipeline] echo 08:08:37 [semverPrep] This is not a build commit. [Pipeline] sh 08:08:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:08:37 + grep -v github /etc/ssh/ssh_known_hosts 08:08:37 + [ -e /tmp/ssh_known_hosts ] 08:08:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:08:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:08:37 sudo tee -a /etc/ssh/ssh_known_hosts 08:08:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:08:38 08:08:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:08:38 0.1.4: Pulling from edgex-devops/py-git-semver 08:08:38 b85a868b505f: Pulling fs layer 08:08:38 e2be974225ed: Pulling fs layer 08:08:38 339a4e72a1f5: Pulling fs layer 08:08:38 988bab9f4d93: Pulling fs layer 08:08:38 1469e6f7b9e6: Pulling fs layer 08:08:38 eaf3925da568: Pulling fs layer 08:08:38 bab4dde63d76: Pulling fs layer 08:08:38 bde34c3a00c8: Pulling fs layer 08:08:38 b352a97aabf1: Pulling fs layer 08:08:38 4872d77fe225: Pulling fs layer 08:08:38 5851b861e8e6: Pulling fs layer 08:08:38 988bab9f4d93: Waiting 08:08:38 1469e6f7b9e6: Waiting 08:08:38 eaf3925da568: Waiting 08:08:38 bab4dde63d76: Waiting 08:08:38 bde34c3a00c8: Waiting 08:08:38 b352a97aabf1: Waiting 08:08:38 4872d77fe225: Waiting 08:08:38 5851b861e8e6: Waiting 08:08:38 e2be974225ed: Download complete 08:08:38 988bab9f4d93: Verifying Checksum 08:08:38 988bab9f4d93: Download complete 08:08:38 1469e6f7b9e6: Verifying Checksum 08:08:38 1469e6f7b9e6: Download complete 08:08:38 eaf3925da568: Download complete 08:08:38 339a4e72a1f5: Verifying Checksum 08:08:38 339a4e72a1f5: Download complete 08:08:38 bde34c3a00c8: Verifying Checksum 08:08:38 bde34c3a00c8: Download complete 08:08:38 b352a97aabf1: Verifying Checksum 08:08:38 b352a97aabf1: Download complete 08:08:38 4872d77fe225: Verifying Checksum 08:08:38 4872d77fe225: Download complete 08:08:38 5851b861e8e6: Download complete 08:08:38 b85a868b505f: Download complete 08:08:39 bab4dde63d76: Verifying Checksum 08:08:39 bab4dde63d76: Download complete 08:08:40 b85a868b505f: Pull complete 08:08:40 e2be974225ed: Pull complete 08:08:40 339a4e72a1f5: Pull complete 08:08:40 988bab9f4d93: Pull complete 08:08:41 1469e6f7b9e6: Pull complete 08:08:41 eaf3925da568: Pull complete 08:08:43 bab4dde63d76: Pull complete 08:08:43 bde34c3a00c8: Pull complete 08:08:43 b352a97aabf1: Pull complete 08:08:43 4872d77fe225: Pull complete 08:08:43 5851b861e8e6: Pull complete 08:08:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:08:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:08:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:43 prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container 08:08:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:08:46 $ docker top d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f -eo pid,comm 08:08:46 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). 08:08:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:08:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:08:46 [ssh-agent] Looking for ssh-agent implementation... 08:08:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:08:46 $ docker exec d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent 08:08:46 SSH_AUTH_SOCK=/tmp/ssh-fdEN1yyMxmu4/agent.32 08:08:46 SSH_AGENT_PID=38 08:08:46 Running ssh-add (command line suppressed) 08:08:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17176503112365944150.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17176503112365944150.key) 08:08:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:08:47 + git tag --points-at HEAD [Pipeline] } 08:08:47 $ docker exec --env ******** --env ******** d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent -k 08:08:47 unset SSH_AUTH_SOCK; 08:08:47 unset SSH_AGENT_PID; 08:08:47 echo Agent pid 38 killed; 08:08:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:08:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:08:47 [ssh-agent] Looking for ssh-agent implementation... 08:08:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:08:47 $ docker exec d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent 08:08:47 SSH_AUTH_SOCK=/tmp/ssh-k1nuoWE7mHVG/agent.69 08:08:47 SSH_AGENT_PID=75 08:08:47 Running ssh-add (command line suppressed) 08:08:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10654077259391631391.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10654077259391631391.key) 08:08:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:08:48 + git semver init 08:08:48 2022-10-25 08:08:48,263 [run_init] DEBUG init version:0.0.0 force:False 08:08:48 2022-10-25 08:08:48,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 08:08:48 2022-10-25 08:08:48,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:08:48 2022-10-25 08:08:48,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 08:08:50 2022-10-25 08:08:49,775 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 08:08:50 2022-10-25 08:08:49,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 08:08:50 2022-10-25 08:08:49,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:08:50 2022-10-25 08:08:49,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:08:50 2.3.0-dev.21 [Pipeline] } 08:08:50 $ docker exec --env ******** --env ******** d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f ssh-agent -k 08:08:50 unset SSH_AUTH_SOCK; 08:08:50 unset SSH_AGENT_PID; 08:08:50 echo Agent pid 75 killed; 08:08:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:08:50 + git semver [Pipeline] } 08:08:51 $ docker stop --time=1 d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f 08:08:52 $ docker rm -f d9a2bc4da859ce663935ac1ce24dace18617118680ea03c0d61dbed63d593d4f [Pipeline] // withDockerContainer [Pipeline] sh 08:08:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:08:53 Stashed 1 file(s) [Pipeline] echo 08:08:53 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:08:53 provisioning config files... 08:08:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4790297976947997599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:08:53 ---> docker-login.sh 08:08:53 nexus3.edgexfoundry.org:10001 08:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:53 Configure a credential helper to remove this warning. See 08:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:53 08:08:53 Login Succeeded 08:08:53 nexus3.edgexfoundry.org:10002 08:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:53 Configure a credential helper to remove this warning. See 08:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:53 08:08:53 Login Succeeded 08:08:53 nexus3.edgexfoundry.org:10003 08:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:53 Configure a credential helper to remove this warning. See 08:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:53 08:08:53 Login Succeeded 08:08:53 nexus3.edgexfoundry.org:10004 08:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:53 Configure a credential helper to remove this warning. See 08:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:53 08:08:53 Login Succeeded 08:08:53 docker.io 08:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:54 Configure a credential helper to remove this warning. See 08:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:54 08:08:54 Login Succeeded 08:08:54 ---> docker-login.sh ends [Pipeline] } 08:08:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:08:54 ========================================================= 08:08:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:08:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:54 + 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 . 08:08:54 Sending build context to Docker daemon 10.74MB 08:08:54 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 08:08:54 Step 2/13 : FROM ${BASE} AS builder 08:08:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:08:54 213ec9aee27d: Pulling fs layer 08:08:54 4583459ba037: Pulling fs layer 08:08:54 93c1e223e6f2: Pulling fs layer 08:08:54 53926ce57604: Pulling fs layer 08:08:54 21b2b0c7a3f4: Pulling fs layer 08:08:54 30f14e443154: Pulling fs layer 08:08:54 801331c1e519: Pulling fs layer 08:08:54 99cc6dd402b0: Pulling fs layer 08:08:54 7d9ed39f4882: Pulling fs layer 08:08:54 21b2b0c7a3f4: Waiting 08:08:54 30f14e443154: Waiting 08:08:54 801331c1e519: Waiting 08:08:54 99cc6dd402b0: Waiting 08:08:54 7d9ed39f4882: Waiting 08:08:54 53926ce57604: Waiting 08:08:54 93c1e223e6f2: Verifying Checksum 08:08:54 93c1e223e6f2: Download complete 08:08:54 4583459ba037: Verifying Checksum 08:08:54 4583459ba037: Download complete 08:08:54 30f14e443154: Verifying Checksum 08:08:54 30f14e443154: Download complete 08:08:54 213ec9aee27d: Verifying Checksum 08:08:54 213ec9aee27d: Download complete 08:08:54 801331c1e519: Verifying Checksum 08:08:54 801331c1e519: Download complete 08:08:54 213ec9aee27d: Pull complete 08:08:55 4583459ba037: Pull complete 08:08:55 93c1e223e6f2: Pull complete 08:08:55 7d9ed39f4882: Verifying Checksum 08:08:55 7d9ed39f4882: Download complete 08:08:55 53926ce57604: Verifying Checksum 08:08:55 53926ce57604: Download complete 08:08:55 99cc6dd402b0: Verifying Checksum 08:08:55 99cc6dd402b0: Download complete 08:08:59 53926ce57604: Pull complete 08:08:59 21b2b0c7a3f4: Pull complete 08:09:00 30f14e443154: Pull complete 08:09:00 801331c1e519: Pull complete 08:09:02 99cc6dd402b0: Pull complete 08:09:03 7d9ed39f4882: Pull complete 08:09:03 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 08:09:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:09:03 ---> 1dedd983c030 08:09:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:09:08 Still waiting to schedule task 08:09:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:09:08 ---> Running in 2519e68686bd 08:09:08 Removing intermediate container 2519e68686bd 08:09:08 ---> b25a8ef57327 08:09:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:09:08 ---> Running in 72fdafa1d6ff 08:09:08 Removing intermediate container 72fdafa1d6ff 08:09:08 ---> 190e594ee5ff 08:09:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:09:08 ---> Running in 5f0fddd3080c 08:09:08 Removing intermediate container 5f0fddd3080c 08:09:08 ---> 3794e2cce1fb 08:09:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:09:08 ---> Running in 50ff84ba9dba 08:09:08 Removing intermediate container 50ff84ba9dba 08:09:08 ---> 4fb99042ef59 08:09:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:09:08 ---> Running in 44aa66f4d4d6 08:09:09 Removing intermediate container 44aa66f4d4d6 08:09:09 ---> 517ac7f217f4 08:09:09 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:09:09 ---> Running in ec142900dcc7 08:09:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:09:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:09:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:09:10 (2/4) Installing libedit (20210910.3.1-r0) 08:09:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:09:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:09:10 Executing busybox-1.35.0-r17.trigger 08:09:10 OK: 216 MiB in 55 packages 08:09:12 Removing intermediate container ec142900dcc7 08:09:12 ---> 386a44bf422c 08:09:12 Step 9/13 : WORKDIR /device-rest-go 08:09:12 ---> Running in 7c6472492912 08:09:13 Removing intermediate container 7c6472492912 08:09:13 ---> c69a322f498d 08:09:13 Step 10/13 : COPY go.mod vendor* ./ 08:09:13 ---> e8da9962d616 08:09:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:09:14 ---> Running in 846634c1c71e 08:09:52 Removing intermediate container 846634c1c71e 08:09:52 ---> 53e2a99be3dd 08:09:52 Step 12/13 : COPY . . 08:09:52 ---> 542748b6fe87 08:09:52 Step 13/13 : RUN $MAKE 08:09:52 ---> Running in f9a68eb6238a 08:09:52 noop 08:09:52 Removing intermediate container f9a68eb6238a 08:09:52 ---> 7574dc5059c1 08:09:52 Successfully built 7574dc5059c1 08:09:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:53 + docker inspect -f . ci-base-image-x86_64 08:09:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:09:53 prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container 08:09:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:09:53 $ docker top 80b6b2a7bb0e608a72eaa60695ba255edeaf1480f027a05c45fcfb3b35bf2797 -eo pid,comm [Pipeline] { [Pipeline] sh 08:09:54 + go version 08:09:54 go version go1.18.7 linux/amd64 [Pipeline] } 08:09:54 $ docker stop --time=1 80b6b2a7bb0e608a72eaa60695ba255edeaf1480f027a05c45fcfb3b35bf2797 08:09:55 $ docker rm -f 80b6b2a7bb0e608a72eaa60695ba255edeaf1480f027a05c45fcfb3b35bf2797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:56 + docker inspect -f . ci-base-image-x86_64 08:09:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:09:56 prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container 08:09:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:09:57 $ docker top 3ae5b2af0757c1c1757d41070987ebb0c02c99142bd28ead7de01a316e280dda -eo pid,comm [Pipeline] { [Pipeline] sh 08:09:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 08:09:57 + make test 08:09:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:09:58 ? github.com/edgexfoundry/device-rest-go [no test files] 08:10:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:10:08 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 08:10:14 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." 08:10:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:10:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:10:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:10:18 ./bin/test-attribution-txt.sh [Pipeline] echo 08:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:10:18 $ docker stop --time=1 3ae5b2af0757c1c1757d41070987ebb0c02c99142bd28ead7de01a316e280dda 08:10:21 $ docker rm -f 3ae5b2af0757c1c1757d41070987ebb0c02c99142bd28ead7de01a316e280dda [Pipeline] // withDockerContainer [Pipeline] sh 08:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:10:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:10:22 + ls -al . 08:10:22 total 184 08:10:22 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 08:09 . 08:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:08 .. 08:10:22 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 08:08 .dockerignore 08:10:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:10 .git 08:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:08 .github 08:10:22 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 08:08 .gitignore 08:10:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 08:08 .golangci.yml 08:10:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:08 .semver 08:10:22 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 08:08 Attribution.txt 08:10:22 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 08:08 CHANGELOG.md 08:10:22 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 08:08 Dockerfile 08:10:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:08 GOVERNANCE.md 08:10:22 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 08:08 Jenkinsfile 08:10:22 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 08:08 LICENSE 08:10:22 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 08:08 Makefile 08:10:22 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 08:08 OWNERS.md 08:10:22 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 08:08 README.md 08:10:22 -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 08:08 VERSION 08:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:08 bin 08:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:08 cmd 08:10:22 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 08:10 coverage.out 08:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:08 driver 08:10:22 -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 08:08 go.mod 08:10:22 -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 08:08 go.sum 08:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:08 snap 08:10:22 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 08:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:22 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=280325e4612ce8aecdce91e221aa23a95129edcb --label arch=amd64 --label version=2.3.0-dev.21 . 08:10:22 Sending build context to Docker daemon 10.75MB 08:10:22 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 08:10:22 Step 2/26 : FROM ${BASE} AS builder 08:10:22 ---> 7574dc5059c1 08:10:22 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:10:23 ---> Running in a55684278704 08:10:23 Removing intermediate container a55684278704 08:10:23 ---> 248fccc0c835 08:10:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:10:23 ---> Running in 3ee70e92a270 08:10:23 Removing intermediate container 3ee70e92a270 08:10:23 ---> 62460c24179f 08:10:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:10:23 ---> Running in a95ec03953e3 08:10:23 Removing intermediate container a95ec03953e3 08:10:23 ---> 9969e48cad85 08:10:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:10:23 ---> Running in c8c766cf55c5 08:10:23 Removing intermediate container c8c766cf55c5 08:10:23 ---> d8c300d88ecc 08:10:23 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:10:23 ---> Running in 7cd4c2a0dc1d Aborted by Eric Ball 08:10:23 Sending interrupt signal to process 08:10:23 Terminated [Pipeline] // node [Pipeline] } 08:10:23 script returned exit code 143 [Pipeline] // stage [Pipeline] } 08:10:23 Failed in branch arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:24 08:10:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:24 latest: Pulling from edgex-lftools-log-publisher 08:10:24 5eb5b503b376: Pulling fs layer 08:10:24 5c69ac0246d0: Pulling fs layer 08:10:24 ec43610c2a17: Pulling fs layer 08:10:24 3a2ae6a8a46f: Pulling fs layer 08:10:24 33b1e0a273af: Pulling fs layer 08:10:24 5d3b04190fa2: Pulling fs layer 08:10:24 2f39f015ded8: Pulling fs layer 08:10:24 3a2ae6a8a46f: Waiting 08:10:24 33b1e0a273af: Waiting 08:10:24 2f39f015ded8: Waiting 08:10:24 5d3b04190fa2: Waiting 08:10:24 5c69ac0246d0: Verifying Checksum 08:10:24 5c69ac0246d0: Download complete 08:10:24 3a2ae6a8a46f: Verifying Checksum 08:10:24 3a2ae6a8a46f: Download complete 08:10:24 33b1e0a273af: Verifying Checksum 08:10:24 33b1e0a273af: Download complete 08:10:24 5d3b04190fa2: Verifying Checksum 08:10:24 5d3b04190fa2: Download complete 08:10:24 ec43610c2a17: Verifying Checksum 08:10:24 ec43610c2a17: Download complete 08:10:25 5eb5b503b376: Verifying Checksum 08:10:25 5eb5b503b376: Download complete 08:10:25 2f39f015ded8: Verifying Checksum 08:10:25 2f39f015ded8: Download complete 08:10:26 5eb5b503b376: Pull complete 08:10:26 5c69ac0246d0: Pull complete 08:10:27 ec43610c2a17: Pull complete 08:10:27 3a2ae6a8a46f: Pull complete 08:10:27 33b1e0a273af: Pull complete 08:10:27 5d3b04190fa2: Pull complete 08:10:31 2f39f015ded8: Pull complete 08:10:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:31 prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container 08:10:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:10:37 $ docker top 87989bd3cf507726d21118091867f679e648882781bae330a1dd7f0d21b6a6d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:37 ---> job-cost.sh 08:10:37 lf-activate-venv: SKIPPING 08:10:37 INFO: No Stack... 08:10:37 INFO: Retrieving Pricing Info for: v3-standard-8 08:10:38 INFO: Archiving Costs [Pipeline] sh 08:10:38 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 08:10:38 + cut -d, -f6 [Pipeline] lock 08:10:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] 08:10:38 Resource [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] did not exist. Created. 08:10:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh Click here to forcibly terminate running steps 08:10:38 + echo total: 0.2199999988079071 [Pipeline] stash 08:10:38 Stashed 1 file(s) [Pipeline] } 08:10:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } 08:10:38 $ docker stop --time=1 87989bd3cf507726d21118091867f679e648882781bae330a1dd7f0d21b6a6d5 08:10:40 $ docker rm -f 87989bd3cf507726d21118091867f679e648882781bae330a1dd7f0d21b6a6d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:10:40 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:10:40 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 08:10:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:10:40 total 16 08:10:40 drwxr-xr-x 3 root root 4096 Oct 25 08:10 . 08:10:40 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:10 .. 08:10:40 drwxr-xr-x 2 root root 4096 Oct 25 08:10 cost 08:10:40 -rw-r--r-- 1 root root 85 Oct 25 08:10 cost.csv 08:10:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 08:10:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:10:40 total 16 08:10:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:10 . 08:10:40 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:10 .. 08:10:40 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 08:10 cost 08:10:40 -rw-r--r-- 1 jenkins jenkins 85 Oct 25 08:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:10:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:10:41 ---> package-listing.sh 08:10:41 ++ facter osfamily 08:10:41 ++ tr '[:upper:]' '[:lower:]' 08:10:42 + OS_FAMILY=debian 08:10:42 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 08:10:42 + START_PACKAGES=/tmp/packages_start.txt 08:10:42 + END_PACKAGES=/tmp/packages_end.txt 08:10:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:10:42 + PACKAGES=/tmp/packages_start.txt 08:10:42 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:10:42 + PACKAGES=/tmp/packages_end.txt 08:10:42 + case "${OS_FAMILY}" in 08:10:42 + dpkg -l 08:10:42 + grep '^ii' 08:10:42 + '[' -f /tmp/packages_start.txt ']' 08:10:42 + '[' -f /tmp/packages_end.txt ']' 08:10:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:10:42 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:10:42 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 08:10:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 08:10:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:10:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:43 prd-ubuntu20.04-docker-8c-8g-116049 does not seem to be running inside a container 08:10:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:10:44 $ docker top cccfc755be94b3d749d4bf2db9495ff69bd174d32528bd75fdf5429db795d9bd -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:44 + touch /tmp/pre-build-complete [Pipeline] sh 08:10:44 + mkdir -p /var/log/sysstat [Pipeline] sh 08:10:44 + ls /var/log/sa-host 08:10:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:10:45 provisioning config files... 08:10:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3731048440927220952tmp [Pipeline] { [Pipeline] echo 08:10:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:10:45 ---> create-netrc.sh [Pipeline] } 08:10:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:10:45 ---> python-tools-install.sh [Pipeline] echo 08:10:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:10:46 ---> sudo-logs.sh 08:10:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:10:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:10:46 ---> job-cost.sh 08:10:46 lf-activate-venv: SKIPPING 08:10:46 DEBUG: total: 0.2199999988079071 08:10:46 INFO: Retrieving Stack Cost... 08:10:46 INFO: Retrieving Pricing Info for: v3-standard-8 08:10:46 INFO: Archiving Costs [Pipeline] echo 08:10:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:10:47 ---> logs-deploy.sh 08:10:47 lf-activate-venv: SKIPPING 08:10:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/65 08:10:47 INFO: archiving workspace using pattern(s): 08:10:48 Archives upload complete. 08:10:48 INFO: archiving logs to Nexus