Pull request #539 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bed44a886ce8c636cec739d0fc78fac9fb0ae35a+c80097c4a9a507998513a772aabe6c68a90454ef (7792b30a977573112ae4e4e0124b67bfae512635) 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-ssh6096160479039021140.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10528911985711268970.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-mqtt-go/branches/PR-539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3656274943152877780.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-mqtt-go/branches/PR-539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8187056193528907274.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14441108471308957290.key > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-539/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-mqtt-go/branches/PR-539/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5395368048542152528.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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-mqtt-go, buildSnap:false] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-mqtt 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-5411 in /w/workspace/gexfoundry_device-mqtt-go_PR-539 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-539 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c80097c4a9a507998513a772aabe6c68a90454ef into PR head commit bed44a886ce8c636cec739d0fc78fac9fb0ae35a > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bed44a886ce8c636cec739d0fc78fac9fb0ae35a # timeout=10 Merge succeeded, producing bed44a886ce8c636cec739d0fc78fac9fb0ae35a Checking out Revision bed44a886ce8c636cec739d0fc78fac9fb0ae35a (PR-539) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:59:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:08 ========================================================= 01:59:08 EdgeX Global Pipelines Version Info 01:59:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bed44a886ce8c636cec739d0fc78fac9fb0ae35a # timeout=10 01:59:09 ------------------- 01:59:09 stable info: 01:59:09 ------------------- 01:59:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:59:09 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 01:59:09 Message: update stable to v1.0.245 01:59:09 ------------------- 01:59:09 experimental info: 01:59:09 ------------------- 01:59:09 Commited By: **** collab-it+edgex@linuxfoundation.org 01:59:09 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 01:59:09 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:59:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-539 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-539 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-539 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bed44a886ce8c636cec739d0fc78fac9fb0ae35a [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bed44a8 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:11 provisioning config files... 01:59:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/config1823935605359667536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:11 ---> docker-login.sh 01:59:11 nexus3.edgexfoundry.org:10001 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 nexus3.edgexfoundry.org:10002 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 nexus3.edgexfoundry.org:10003 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 nexus3.edgexfoundry.org:10004 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 docker.io 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 ---> docker-login.sh ends [Pipeline] } 01:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:59:13 + git rev-list -1 --merges bed44a886ce8c636cec739d0fc78fac9fb0ae35a~1..bed44a886ce8c636cec739d0fc78fac9fb0ae35a [Pipeline] echo 01:59:13 -----------> git rev-list -1 --merges bed44a886ce8c636cec739d0fc78fac9fb0ae35a~1..bed44a886ce8c636cec739d0fc78fac9fb0ae35a bed44a886ce8c636cec739d0fc78fac9fb0ae35a [false] [Pipeline] sh 01:59:14 + git log --format=format:%s -1 bed44a886ce8c636cec739d0fc78fac9fb0ae35a [Pipeline] echo 01:59:14 ========================================================= 01:59:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:59:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:14 + git log --format=format:%s -1 bed44a886ce8c636cec739d0fc78fac9fb0ae35a [Pipeline] echo 01:59:14 [semverPrep] GIT_COMMIT: bed44a886ce8c636cec739d0fc78fac9fb0ae35a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:59:14 [semverPrep] This is not a build commit. [Pipeline] sh 01:59:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:14 + grep -v github /etc/ssh/ssh_known_hosts 01:59:14 + [ -e /tmp/ssh_known_hosts ] 01:59:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:59:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:59:14 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:15 01:59:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:15 0.1.4: Pulling from edgex-devops/py-git-semver 01:59:15 b85a868b505f: Pulling fs layer 01:59:15 e2be974225ed: Pulling fs layer 01:59:15 339a4e72a1f5: Pulling fs layer 01:59:15 988bab9f4d93: Pulling fs layer 01:59:15 1469e6f7b9e6: Pulling fs layer 01:59:15 eaf3925da568: Pulling fs layer 01:59:15 bab4dde63d76: Pulling fs layer 01:59:15 bde34c3a00c8: Pulling fs layer 01:59:15 b352a97aabf1: Pulling fs layer 01:59:15 4872d77fe225: Pulling fs layer 01:59:15 5851b861e8e6: Pulling fs layer 01:59:15 eaf3925da568: Waiting 01:59:15 bde34c3a00c8: Waiting 01:59:15 bab4dde63d76: Waiting 01:59:15 b352a97aabf1: Waiting 01:59:15 988bab9f4d93: Waiting 01:59:15 1469e6f7b9e6: Waiting 01:59:15 4872d77fe225: Waiting 01:59:15 5851b861e8e6: Waiting 01:59:15 e2be974225ed: Download complete 01:59:15 988bab9f4d93: Verifying Checksum 01:59:15 988bab9f4d93: Download complete 01:59:16 1469e6f7b9e6: Verifying Checksum 01:59:16 1469e6f7b9e6: Download complete 01:59:16 339a4e72a1f5: Verifying Checksum 01:59:16 339a4e72a1f5: Download complete 01:59:16 eaf3925da568: Verifying Checksum 01:59:16 eaf3925da568: Download complete 01:59:16 bde34c3a00c8: Verifying Checksum 01:59:16 bde34c3a00c8: Download complete 01:59:16 b352a97aabf1: Verifying Checksum 01:59:16 b352a97aabf1: Download complete 01:59:16 4872d77fe225: Download complete 01:59:16 5851b861e8e6: Verifying Checksum 01:59:16 5851b861e8e6: Download complete 01:59:16 b85a868b505f: Verifying Checksum 01:59:16 b85a868b505f: Download complete 01:59:16 bab4dde63d76: Verifying Checksum 01:59:16 bab4dde63d76: Download complete 01:59:17 b85a868b505f: Pull complete 01:59:17 e2be974225ed: Pull complete 01:59:17 339a4e72a1f5: Pull complete 01:59:17 988bab9f4d93: Pull complete 01:59:18 1469e6f7b9e6: Pull complete 01:59:18 eaf3925da568: Pull complete 01:59:19 bab4dde63d76: Pull complete 01:59:19 bde34c3a00c8: Pull complete 01:59:19 b352a97aabf1: Pull complete 01:59:19 4872d77fe225: Pull complete 01:59:20 5851b861e8e6: Pull complete 01:59:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:59:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:20 prd-ubuntu20.04-docker-8c-8g-5411 does not seem to be running inside a container 01:59:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-539 -v /w/workspace/gexfoundry_device-mqtt-go_PR-539:/w/workspace/gexfoundry_device-mqtt-go_PR-539:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:22 $ docker top 0faa620daf5343723987116212df665e8c59eb7a3af27db776db65bf68d2e468 -eo pid,comm 01:59:22 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). 01:59:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:22 [ssh-agent] Looking for ssh-agent implementation... 01:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:22 $ docker exec 0faa620daf5343723987116212df665e8c59eb7a3af27db776db65bf68d2e468 ssh-agent 01:59:22 SSH_AUTH_SOCK=/tmp/ssh-5egiklA4LkUO/agent.32 01:59:22 SSH_AGENT_PID=38 01:59:22 Running ssh-add (command line suppressed) 01:59:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/private_key_5892128376042042509.key (/w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/private_key_5892128376042042509.key) 01:59:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:23 + git tag --points-at HEAD [Pipeline] } 01:59:23 $ docker exec --env ******** --env ******** 0faa620daf5343723987116212df665e8c59eb7a3af27db776db65bf68d2e468 ssh-agent -k 01:59:23 unset SSH_AUTH_SOCK; 01:59:23 unset SSH_AGENT_PID; 01:59:23 echo Agent pid 38 killed; 01:59:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:59:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:23 [ssh-agent] Looking for ssh-agent implementation... 01:59:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:23 $ docker exec 0faa620daf5343723987116212df665e8c59eb7a3af27db776db65bf68d2e468 ssh-agent 01:59:23 SSH_AUTH_SOCK=/tmp/ssh-dCsbwphJb9Ly/agent.71 01:59:23 SSH_AGENT_PID=77 01:59:23 Running ssh-add (command line suppressed) 01:59:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/private_key_15879247049595934925.key (/w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/private_key_15879247049595934925.key) 01:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:24 + git semver init 01:59:24 2023-03-23 01:59:24,208 [run_init] DEBUG init version:0.0.0 force:False 01:59:24 2023-03-23 01:59:24,209 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver 01:59:24 2023-03-23 01:59:24,209 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver 01:59:24 2023-03-23 01:59:24,209 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-539, universal_newlines=False, shell=None, istream=None) 01:59:25 2023-03-23 01:59:24,923 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-539/.git/info/exclude 01:59:25 2023-03-23 01:59:24,923 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver/PR-539 with force:False 01:59:25 2023-03-23 01:59:24,923 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver/PR-539 01:59:25 2023-03-23 01:59:24,927 [execute] INFO git cat-file --batch-check 01:59:25 2023-03-23 01:59:24,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver, universal_newlines=False, shell=None, istream=) 01:59:25 2023-03-23 01:59:24,933 [execute] INFO git cat-file --batch 01:59:25 2023-03-23 01:59:24,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver, universal_newlines=False, shell=None, istream=) 01:59:25 2023-03-23 01:59:24,938 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-539/.semver/PR-539 01:59:25 0.0.0 [Pipeline] } 01:59:25 $ docker exec --env ******** --env ******** 0faa620daf5343723987116212df665e8c59eb7a3af27db776db65bf68d2e468 ssh-agent -k 01:59:25 unset SSH_AUTH_SOCK; 01:59:25 unset SSH_AGENT_PID; 01:59:25 echo Agent pid 77 killed; 01:59:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:25 + git semver [Pipeline] } 01:59:26 $ docker stop --time=1 0faa620daf5343723987116212df665e8c59eb7a3af27db776db65bf68d2e468 01:59:27 $ docker rm -f --volumes 0faa620daf5343723987116212df665e8c59eb7a3af27db776db65bf68d2e468 [Pipeline] // withDockerContainer [Pipeline] sh 01:59:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:28 Stashed 1 file(s) [Pipeline] echo 01:59:28 [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 01:59:28 provisioning config files... 01:59:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/config7221597002766698935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:29 ---> docker-login.sh 01:59:29 nexus3.edgexfoundry.org:10001 01:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:29 Configure a credential helper to remove this warning. See 01:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:29 01:59:29 Login Succeeded 01:59:29 nexus3.edgexfoundry.org:10002 01:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:29 Configure a credential helper to remove this warning. See 01:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:29 01:59:29 Login Succeeded 01:59:29 nexus3.edgexfoundry.org:10003 01:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:29 Configure a credential helper to remove this warning. See 01:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:29 01:59:29 Login Succeeded 01:59:29 nexus3.edgexfoundry.org:10004 01:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:29 Configure a credential helper to remove this warning. See 01:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:29 01:59:29 Login Succeeded 01:59:29 docker.io 01:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:29 Configure a credential helper to remove this warning. See 01:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:29 01:59:29 Login Succeeded 01:59:29 ---> docker-login.sh ends [Pipeline] } 01:59:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:29 ========================================================= 01:59:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:59:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:59:30 Sending build context to Docker daemon 6.424MB 01:59:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:59:30 Step 2/12 : FROM ${BASE} AS builder 01:59:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:30 63b65145d645: Pulling fs layer 01:59:30 a2d21d5440eb: Pulling fs layer 01:59:30 935e6c44a52c: Pulling fs layer 01:59:30 94cc34f8dd06: Pulling fs layer 01:59:30 30dea6a524f1: Pulling fs layer 01:59:30 a2aff8979fd8: Pulling fs layer 01:59:30 6808be2612f2: Pulling fs layer 01:59:30 f25807f1079a: Pulling fs layer 01:59:30 94cc34f8dd06: Waiting 01:59:30 30dea6a524f1: Waiting 01:59:30 6808be2612f2: Waiting 01:59:30 f25807f1079a: Waiting 01:59:30 a2aff8979fd8: Waiting 01:59:30 a2d21d5440eb: Verifying Checksum 01:59:30 a2d21d5440eb: Download complete 01:59:30 94cc34f8dd06: Download complete 01:59:30 30dea6a524f1: Download complete 01:59:30 63b65145d645: Download complete 01:59:30 a2aff8979fd8: Verifying Checksum 01:59:30 a2aff8979fd8: Download complete 01:59:30 63b65145d645: Pull complete 01:59:30 a2d21d5440eb: Pull complete 01:59:31 f25807f1079a: Verifying Checksum 01:59:31 f25807f1079a: Download complete 01:59:31 935e6c44a52c: Verifying Checksum 01:59:31 935e6c44a52c: Download complete 01:59:31 6808be2612f2: Download complete 01:59:34 935e6c44a52c: Pull complete 01:59:34 94cc34f8dd06: Pull complete 01:59:34 30dea6a524f1: Pull complete 01:59:34 a2aff8979fd8: Pull complete 01:59:36 6808be2612f2: Pull complete 01:59:37 f25807f1079a: Pull complete 01:59:37 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 01:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:59:37 ---> 3b553350e43f 01:59:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:59:40 ---> Running in 6ab4093299f2 01:59:40 Removing intermediate container 6ab4093299f2 01:59:40 ---> aabbf7b757f2 01:59:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:40 ---> Running in 8bc03e0c3420 01:59:40 Removing intermediate container 8bc03e0c3420 01:59:40 ---> e7ca9c3850b5 01:59:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:40 ---> Running in 085ab92912a8 01:59:40 Removing intermediate container 085ab92912a8 01:59:40 ---> 4b3cb7607ddf 01:59:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:59:40 ---> Running in f36793825d88 01:59:40 Removing intermediate container f36793825d88 01:59:40 ---> e97e8876b32f 01:59:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:40 ---> Running in 9e678e86c97a 01:59:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:59:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:59:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:59:40 (2/4) Installing libedit (20221030.3.1-r0) 01:59:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:59:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:59:40 Executing busybox-1.35.0-r29.trigger 01:59:40 OK: 269 MiB in 57 packages 01:59:41 Removing intermediate container 9e678e86c97a 01:59:41 ---> 6cfa26380f03 01:59:41 Step 8/12 : WORKDIR /device-mqtt-go 01:59:41 ---> Running in 09b758d02658 01:59:41 Removing intermediate container 09b758d02658 01:59:41 ---> 262986350550 01:59:41 Step 9/12 : COPY go.mod vendor* ./ 01:59:41 ---> b686e5228eee 01:59:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:41 ---> Running in db7eb138c7f9 01:59:43 Still waiting to schedule task 01:59:43 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:20 Removing intermediate container db7eb138c7f9 02:00:20 ---> 40553f3b7c6f 02:00:20 Step 11/12 : COPY . . 02:00:20 ---> 8b35757a70d1 02:00:20 Step 12/12 : RUN $MAKE 02:00:20 ---> Running in 0622772b4826 02:00:20 noop 02:00:20 Removing intermediate container 0622772b4826 02:00:20 ---> 3247e1a50637 02:00:20 Successfully built 3247e1a50637 02:00:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:20 + docker inspect -f . ci-base-image-x86_64 02:00:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:20 prd-ubuntu20.04-docker-8c-8g-5411 does not seem to be running inside a container 02:00:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-539 -v /w/workspace/gexfoundry_device-mqtt-go_PR-539:/w/workspace/gexfoundry_device-mqtt-go_PR-539:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-539@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 ******** ci-base-image-x86_64 cat 02:00:21 $ docker top a471ca76c16c334bf5173df93a265a5b9485d44acacbeab3858c50814d8112db -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:21 + go version 02:00:21 go version go1.20.2 linux/amd64 [Pipeline] } 02:00:21 $ docker stop --time=1 a471ca76c16c334bf5173df93a265a5b9485d44acacbeab3858c50814d8112db 02:00:22 $ docker rm -f --volumes a471ca76c16c334bf5173df93a265a5b9485d44acacbeab3858c50814d8112db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:23 + docker inspect -f . ci-base-image-x86_64 02:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:23 prd-ubuntu20.04-docker-8c-8g-5411 does not seem to be running inside a container 02:00:23 $ 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-mqtt-go_PR-539 -v /w/workspace/gexfoundry_device-mqtt-go_PR-539:/w/workspace/gexfoundry_device-mqtt-go_PR-539:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-539@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 ******** ci-base-image-x86_64 cat 02:00:23 $ docker top 2b3c363a5cc67c5cf899c40ccf650ceb35ff1a7e1fe6f9c33b1bfe7cb0f24c34 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:24 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-539 [Pipeline] fileExists [Pipeline] sh 02:00:24 + make test 02:00:24 go test ./... -coverprofile=coverage.out ./... 02:00:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:00:38 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:00:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:00:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.2% of statements 02:00:44 go vet ./... 02:00:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:46 ./bin/test-attribution-txt.sh [Pipeline] echo 02:00:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:00:46 $ docker stop --time=1 2b3c363a5cc67c5cf899c40ccf650ceb35ff1a7e1fe6f9c33b1bfe7cb0f24c34 02:00:48 $ docker rm -f --volumes 2b3c363a5cc67c5cf899c40ccf650ceb35ff1a7e1fe6f9c33b1bfe7cb0f24c34 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:00:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:50 + ls -al . 02:00:50 total 180 02:00:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 02:00 . 02:00:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 01:59 .. 02:00:50 -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 01:59 .dockerignore 02:00:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 01:59 .git 02:00:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 01:59 .github 02:00:50 -rw-rw-r-- 1 jenkins jenkins 329 Mar 23 01:59 .gitignore 02:00:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 01:59 .golangci.yml 02:00:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 01:59 .semver 02:00:50 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 23 01:59 Attribution.txt 02:00:50 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 23 01:59 CHANGELOG.md 02:00:50 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 23 01:59 Dockerfile 02:00:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 01:59 GOVERNANCE.md 02:00:50 -rw-rw-r-- 1 jenkins jenkins 678 Mar 23 01:59 Jenkinsfile 02:00:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 01:59 LICENSE 02:00:50 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 23 01:59 Makefile 02:00:50 -rw-rw-r-- 1 jenkins jenkins 620 Mar 23 01:59 OWNERS.md 02:00:50 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 23 01:59 README.md 02:00:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 01:59 VERSION 02:00:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 01:59 bin 02:00:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 01:59 cmd 02:00:50 -rw-r--r-- 1 jenkins jenkins 18047 Mar 23 02:00 coverage.out 02:00:50 -rw-rw-r-- 1 jenkins jenkins 3378 Mar 23 01:59 go.mod 02:00:50 -rw-rw-r-- 1 jenkins jenkins 31326 Mar 23 01:59 go.sum 02:00:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 01:59 internal 02:00:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 01:59 mock 02:00:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 01:59 snap 02:00:50 -rw-rw-r-- 1 jenkins jenkins 227 Mar 23 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:50 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bed44a886ce8c636cec739d0fc78fac9fb0ae35a --label arch=amd64 --label version=0.0.0 . 02:00:50 Sending build context to Docker daemon 6.442MB 02:00:50 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:00:50 Step 2/24 : FROM ${BASE} AS builder 02:00:50 ---> 3247e1a50637 02:00:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:00:50 ---> Running in 7f035b25b0fb 02:00:50 Removing intermediate container 7f035b25b0fb 02:00:50 ---> e2e50d3fbb67 02:00:50 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:51 ---> Running in b8790d36c9eb 02:00:51 Removing intermediate container b8790d36c9eb 02:00:51 ---> 4d14417feedf 02:00:51 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:51 ---> Running in e81597434020 02:00:51 Removing intermediate container e81597434020 02:00:51 ---> b838dbdf1e31 02:00:51 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:00:51 ---> Running in 2129a3e0a1c6 02:00:51 Removing intermediate container 2129a3e0a1c6 02:00:51 ---> 65f49c2245a7 02:00:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:51 ---> Running in b2dafeef6cbb 02:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:51 OK: 269 MiB in 57 packages 02:00:52 Removing intermediate container b2dafeef6cbb 02:00:52 ---> 9b7c9534706b 02:00:52 Step 8/24 : WORKDIR /device-mqtt-go 02:00:52 ---> Running in f50e682fa41d 02:00:52 Removing intermediate container f50e682fa41d 02:00:52 ---> ca6dda8a6512 02:00:52 Step 9/24 : COPY go.mod vendor* ./ 02:00:52 ---> 5bd14024423e 02:00:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:52 ---> Running in 11bf5cb72ac1 02:00:53 Removing intermediate container 11bf5cb72ac1 02:00:53 ---> 6fad5a95f205 02:00:53 Step 11/24 : COPY . . 02:00:53 ---> 5f246ba244c8 02:00:53 Step 12/24 : RUN $MAKE 02:00:53 ---> Running in d64b68a14fd6 02:00:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:01:11 Removing intermediate container d64b68a14fd6 02:01:11 ---> e9629f812879 02:01:11 Step 13/24 : FROM alpine:3.17 02:01:11 3.17: Pulling from library/alpine 02:01:11 63b65145d645: Already exists 02:01:11 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 02:01:11 Status: Downloaded newer image for alpine:3.17 02:01:11 ---> b2aa39c304c2 02:01:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:01:11 ---> Running in 801c354fcc07 02:01:11 Removing intermediate container 801c354fcc07 02:01:11 ---> cfc429cace3e 02:01:11 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:01:11 ---> Running in 84747db14076 02:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:11 (1/1) Installing dumb-init (1.2.5-r2) 02:01:11 Executing busybox-1.35.0-r29.trigger 02:01:11 OK: 7 MiB in 16 packages 02:01:11 Removing intermediate container 84747db14076 02:01:11 ---> a4da95a98496 02:01:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:01:11 ---> 3f5b719ec5fa 02:01:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:01:11 ---> 6c58643dd1c6 02:01:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:01:11 ---> c4921568acf0 02:01:11 Step 19/24 : EXPOSE 59982 02:01:11 ---> Running in 1d38fc4fb791 02:01:11 Removing intermediate container 1d38fc4fb791 02:01:11 ---> 0705ab7156da 02:01:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:01:11 ---> Running in 141f3ce3c307 02:01:11 Removing intermediate container 141f3ce3c307 02:01:11 ---> fc433c5747ca 02:01:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:01:11 ---> Running in 9871dd71e30e 02:01:11 Removing intermediate container 9871dd71e30e 02:01:11 ---> 5336ae046450 02:01:11 Step 22/24 : LABEL arch=amd64 02:01:11 ---> Running in 7b67bf370e54 02:01:11 Removing intermediate container 7b67bf370e54 02:01:11 ---> bcfe0e8ab3a6 02:01:11 Step 23/24 : LABEL git_sha=bed44a886ce8c636cec739d0fc78fac9fb0ae35a 02:01:11 ---> Running in 89333c2d663a 02:01:11 Removing intermediate container 89333c2d663a 02:01:11 ---> ee6e42365468 02:01:11 Step 24/24 : LABEL version=0.0.0 02:01:11 ---> Running in 9154c5b3cc79 02:01:11 Removing intermediate container 9154c5b3cc79 02:01:11 ---> 8160864e7517 02:01:11 [Warning] One or more build-args [ARCH] were not consumed 02:01:11 Successfully built 8160864e7517 02:01:11 Successfully tagged device-mqtt: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 02:01:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:12 02:01:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:13 latest: Pulling from edgex-lftools-log-publisher 02:01:13 5eb5b503b376: Pulling fs layer 02:01:13 5c69ac0246d0: Pulling fs layer 02:01:13 ec43610c2a17: Pulling fs layer 02:01:13 3a2ae6a8a46f: Pulling fs layer 02:01:13 33b1e0a273af: Pulling fs layer 02:01:13 5d3b04190fa2: Pulling fs layer 02:01:13 2f39f015ded8: Pulling fs layer 02:01:13 33b1e0a273af: Waiting 02:01:13 3a2ae6a8a46f: Waiting 02:01:13 5d3b04190fa2: Waiting 02:01:13 2f39f015ded8: Waiting 02:01:13 5c69ac0246d0: Verifying Checksum 02:01:13 5c69ac0246d0: Download complete 02:01:13 3a2ae6a8a46f: Verifying Checksum 02:01:13 3a2ae6a8a46f: Download complete 02:01:13 33b1e0a273af: Verifying Checksum 02:01:13 33b1e0a273af: Download complete 02:01:13 ec43610c2a17: Verifying Checksum 02:01:13 ec43610c2a17: Download complete 02:01:13 5d3b04190fa2: Download complete 02:01:13 5eb5b503b376: Verifying Checksum 02:01:13 5eb5b503b376: Download complete 02:01:14 2f39f015ded8: Download complete 02:01:14 5eb5b503b376: Pull complete 02:01:14 5c69ac0246d0: Pull complete 02:01:15 ec43610c2a17: Pull complete 02:01:15 3a2ae6a8a46f: Pull complete 02:01:15 33b1e0a273af: Pull complete 02:01:15 5d3b04190fa2: Pull complete 02:01:18 2f39f015ded8: Pull complete 02:01:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:01:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:19 prd-ubuntu20.04-docker-8c-8g-5411 does not seem to be running inside a container 02:01:19 $ 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-mqtt-go_PR-539 -v /w/workspace/gexfoundry_device-mqtt-go_PR-539:/w/workspace/gexfoundry_device-mqtt-go_PR-539:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-539@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:01:21 $ docker top 2ee1ec671e2f291f7fb127ecc3777386762f05e3c1f47abf9ce13a3778727524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:22 ---> job-cost.sh 02:01:22 lf-activate-venv: SKIPPING 02:01:22 INFO: No Stack... 02:01:22 INFO: Retrieving Pricing Info for: v3-standard-8 02:01:22 INFO: Archiving Costs [Pipeline] sh 02:01:23 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-539/archives/cost.csv 02:01:23 + cut -d, -f6 [Pipeline] lock 02:01:23 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] 02:01:23 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] did not exist. Created. 02:01:23 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:23 + echo total: 0.2199999988079071 [Pipeline] stash 02:01:23 Stashed 1 file(s) [Pipeline] } 02:01:23 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:23 $ docker stop --time=1 2ee1ec671e2f291f7fb127ecc3777386762f05e3c1f47abf9ce13a3778727524 02:01:25 $ docker rm -f --volumes 2ee1ec671e2f291f7fb127ecc3777386762f05e3c1f47abf9ce13a3778727524 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:02:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5414 in /w/workspace/gexfoundry_device-mqtt-go_PR-539 [Pipeline] { [Pipeline] ws 02:02:30 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:02:30 Selected Git installation does not exist. Using Default 02:02:30 The recommended git tool is: NONE 02:02:39 using credential edgex-jenkins-ssh 02:02:39 Cloning the remote Git repository 02:02:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:02:39 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:02:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:02:40 > git --version # timeout=10 02:02:40 > git --version # 'git version 2.25.1' 02:02:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:02:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:02:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:02:42 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:02:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:02:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:02:43 Merging remotes/origin/main commit c80097c4a9a507998513a772aabe6c68a90454ef into PR head commit bed44a886ce8c636cec739d0fc78fac9fb0ae35a 02:02:43 Merge succeeded, producing bed44a886ce8c636cec739d0fc78fac9fb0ae35a 02:02:43 Checking out Revision bed44a886ce8c636cec739d0fc78fac9fb0ae35a (PR-539) 02:02:44 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:02:44 > git --version # timeout=10 02:02:44 > git --version # 'git version 2.25.1' 02:02:44 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 02:02:43 > git config core.sparsecheckout # timeout=10 02:02:43 > git checkout -f bed44a886ce8c636cec739d0fc78fac9fb0ae35a # timeout=10 02:02:43 > git remote # timeout=10 02:02:43 > git config --get remote.origin.url # timeout=10 02:02:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:43 > git merge c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 02:02:43 > git rev-parse HEAD^{commit} # timeout=10 02:02:43 > git config core.sparsecheckout # timeout=10 02:02:43 > git checkout -f bed44a886ce8c636cec739d0fc78fac9fb0ae35a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:02:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:02:45 % Total % Received % Xferd Average Speed Time Time Time Current 02:02:45 Dload Upload Total Spent Left Speed 02:02:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 02:02:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:02:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:02:46 + sudo tee /etc/docker/daemon.new 02:02:46 { 02:02:46 "registry-mirrors": [ 02:02:46 "https://nexus3.edgexfoundry.org:10001" 02:02:46 ], 02:02:46 "bip": "10.250.0.254/24", 02:02:46 "hosts": [ 02:02:46 "tcp://0.0.0.0:5555", 02:02:46 "unix:///var/run/docker.sock" 02:02:46 ], 02:02:46 "mtu": 1458, 02:02:46 "selinux-enabled": true, 02:02:46 "seccomp-profile": "/etc/docker/seccomp.json" 02:02:46 } [Pipeline] sh 02:02:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:02:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:05 provisioning config files... 02:03:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config18343376181698267625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:05 ---> docker-login.sh 02:03:05 nexus3.edgexfoundry.org:10001 02:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:06 Configure a credential helper to remove this warning. See 02:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:06 02:03:06 Login Succeeded 02:03:06 nexus3.edgexfoundry.org:10002 02:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:06 Configure a credential helper to remove this warning. See 02:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:06 02:03:07 Login Succeeded 02:03:07 nexus3.edgexfoundry.org:10003 02:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:07 Configure a credential helper to remove this warning. See 02:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:07 02:03:07 Login Succeeded 02:03:07 nexus3.edgexfoundry.org:10004 02:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:07 Configure a credential helper to remove this warning. See 02:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:07 02:03:07 Login Succeeded 02:03:07 docker.io 02:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:08 Configure a credential helper to remove this warning. See 02:03:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:08 02:03:08 Login Succeeded 02:03:08 ---> docker-login.sh ends [Pipeline] } 02:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:03:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:08 ========================================================= 02:03:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:03:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:03:09 Sending build context to Docker daemon 3.322MB 02:03:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:03:09 Step 2/12 : FROM ${BASE} AS builder 02:03:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:03:09 af6eaf76a39c: Pulling fs layer 02:03:09 55522c791124: Pulling fs layer 02:03:09 ce5c4a1c91eb: Pulling fs layer 02:03:09 169dfbe0d373: Pulling fs layer 02:03:09 e1ff8fa3b103: Pulling fs layer 02:03:09 52ebb69f0ebf: Pulling fs layer 02:03:09 5abe8eddf0d5: Pulling fs layer 02:03:09 169dfbe0d373: Waiting 02:03:09 e1ff8fa3b103: Waiting 02:03:09 5abe8eddf0d5: Waiting 02:03:09 52ebb69f0ebf: Waiting 02:03:10 55522c791124: Verifying Checksum 02:03:10 55522c791124: Download complete 02:03:10 169dfbe0d373: Verifying Checksum 02:03:10 169dfbe0d373: Download complete 02:03:10 e1ff8fa3b103: Verifying Checksum 02:03:10 e1ff8fa3b103: Download complete 02:03:10 af6eaf76a39c: Verifying Checksum 02:03:11 af6eaf76a39c: Pull complete 02:03:11 5abe8eddf0d5: Verifying Checksum 02:03:11 5abe8eddf0d5: Download complete 02:03:11 55522c791124: Pull complete 02:03:12 ce5c4a1c91eb: Download complete 02:03:12 52ebb69f0ebf: Verifying Checksum 02:03:12 52ebb69f0ebf: Download complete 02:03:25 ce5c4a1c91eb: Pull complete 02:03:25 169dfbe0d373: Pull complete 02:03:25 e1ff8fa3b103: Pull complete 02:03:31 52ebb69f0ebf: Pull complete 02:03:33 5abe8eddf0d5: Pull complete 02:03:33 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:03:33 ---> 6cb57ee374ae 02:03:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:03:35 ---> Running in 741125168f60 02:03:35 Removing intermediate container 741125168f60 02:03:35 ---> ab04ae2e5c61 02:03:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:35 ---> Running in 720b3e9b4ba8 02:03:35 Removing intermediate container 720b3e9b4ba8 02:03:35 ---> 6103f85139d8 02:03:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:03:35 ---> Running in 7fe09736b688 02:03:35 Removing intermediate container 7fe09736b688 02:03:35 ---> b7daed63780d 02:03:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:03:35 ---> Running in d8987701f137 02:03:36 Removing intermediate container d8987701f137 02:03:36 ---> f87e65a5377f 02:03:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:36 ---> Running in 267ad6c79983 02:03:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:03:39 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:03:39 (2/4) Installing libedit (20221030.3.1-r0) 02:03:39 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:03:39 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:03:39 Executing busybox-1.35.0-r29.trigger 02:03:39 OK: 268 MiB in 57 packages 02:03:40 Removing intermediate container 267ad6c79983 02:03:40 ---> b9d16d65bf84 02:03:40 Step 8/12 : WORKDIR /device-mqtt-go 02:03:40 ---> Running in 06d0665cd616 02:03:40 Removing intermediate container 06d0665cd616 02:03:40 ---> 117427ba3739 02:03:40 Step 9/12 : COPY go.mod vendor* ./ 02:03:41 ---> a49a24986a91 02:03:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:41 ---> Running in c28b251759b2 02:04:49 Removing intermediate container c28b251759b2 02:04:49 ---> 6387598efc00 02:04:49 Step 11/12 : COPY . . 02:04:49 ---> e0953a7d1f53 02:04:49 Step 12/12 : RUN $MAKE 02:04:49 ---> Running in 170363ee5b71 02:04:50 noop 02:04:51 Removing intermediate container 170363ee5b71 02:04:51 ---> 5fb83ea290ad 02:04:51 Successfully built 5fb83ea290ad 02:04:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:52 + docker inspect -f . ci-base-image-arm64 02:04:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:52 prd-ubuntu20.04-docker-arm64-4c-16g-5414 does not seem to be running inside a container 02:04:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 02:04:53 $ docker top de7649bc08116a0f7c41533212e144dc52c27f04756481d391ade325587ff215 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:54 + go version 02:04:54 go version go1.20.2 linux/arm64 [Pipeline] } 02:04:54 $ docker stop --time=1 de7649bc08116a0f7c41533212e144dc52c27f04756481d391ade325587ff215 02:04:56 $ docker rm -f --volumes de7649bc08116a0f7c41533212e144dc52c27f04756481d391ade325587ff215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:57 + docker inspect -f . ci-base-image-arm64 02:04:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:57 prd-ubuntu20.04-docker-arm64-4c-16g-5414 does not seem to be running inside a container 02:04:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 02:04:59 $ docker top 186ac183908c139b50b35fb58ef28e60e3d5aec6eb6c3ff8151dc6311c891f06 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:59 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:05:00 + make test 02:05:00 go test ./... -coverprofile=coverage.out ./... 02:05:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:07:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:07:33 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:07:33 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 22.2% of statements 02:07:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:07:34 go vet ./... 02:08:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:08:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:08:07 ./bin/test-attribution-txt.sh [Pipeline] echo 02:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:08:07 $ docker stop --time=1 186ac183908c139b50b35fb58ef28e60e3d5aec6eb6c3ff8151dc6311c891f06 02:08:11 $ docker rm -f --volumes 186ac183908c139b50b35fb58ef28e60e3d5aec6eb6c3ff8151dc6311c891f06 [Pipeline] // withDockerContainer [Pipeline] sh 02:08:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:08:13 Warning: overwriting stash ‘coverage-report’ 02:08:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:08:14 + ls -al . 02:08:14 total 176 02:08:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 02:05 . 02:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 02:02 .. 02:08:14 -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 02:02 .dockerignore 02:08:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 02:02 .git 02:08:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 02:02 .github 02:08:14 -rw-rw-r-- 1 jenkins jenkins 329 Mar 23 02:02 .gitignore 02:08:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 02:02 .golangci.yml 02:08:14 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 23 02:02 Attribution.txt 02:08:14 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 23 02:02 CHANGELOG.md 02:08:14 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 23 02:02 Dockerfile 02:08:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 02:02 GOVERNANCE.md 02:08:14 -rw-rw-r-- 1 jenkins jenkins 678 Mar 23 02:02 Jenkinsfile 02:08:14 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 02:02 LICENSE 02:08:14 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 23 02:02 Makefile 02:08:14 -rw-rw-r-- 1 jenkins jenkins 620 Mar 23 02:02 OWNERS.md 02:08:14 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 23 02:02 README.md 02:08:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 01:59 VERSION 02:08:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 02:02 bin 02:08:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 02:02 cmd 02:08:14 -rw-r--r-- 1 jenkins jenkins 18047 Mar 23 02:07 coverage.out 02:08:14 -rw-rw-r-- 1 jenkins jenkins 3378 Mar 23 02:02 go.mod 02:08:14 -rw-rw-r-- 1 jenkins jenkins 31326 Mar 23 02:02 go.sum 02:08:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 02:02 internal 02:08:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 02:02 mock 02:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 02:02 snap 02:08:14 -rw-rw-r-- 1 jenkins jenkins 227 Mar 23 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:14 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bed44a886ce8c636cec739d0fc78fac9fb0ae35a --label arch=arm64 --label version=0.0.0 . 02:08:15 Sending build context to Docker daemon 3.341MB 02:08:15 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:08:15 Step 2/24 : FROM ${BASE} AS builder 02:08:15 ---> 5fb83ea290ad 02:08:15 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:08:15 ---> Running in 945380f6e69a 02:08:15 Removing intermediate container 945380f6e69a 02:08:15 ---> eff2e2683ce7 02:08:15 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:08:15 ---> Running in cde95e20e0ad 02:08:16 Removing intermediate container cde95e20e0ad 02:08:16 ---> 177805326058 02:08:16 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:08:16 ---> Running in 57a6b9686447 02:08:16 Removing intermediate container 57a6b9686447 02:08:16 ---> 98533df9910e 02:08:16 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:08:16 ---> Running in 02ee4d8230b4 02:08:16 Removing intermediate container 02ee4d8230b4 02:08:16 ---> 7ac9976a5e27 02:08:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:08:17 ---> Running in 05de1799cc9d 02:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:08:20 OK: 268 MiB in 57 packages 02:08:20 Removing intermediate container 05de1799cc9d 02:08:20 ---> b6551a4da2a1 02:08:20 Step 8/24 : WORKDIR /device-mqtt-go 02:08:21 ---> Running in 308951e41249 02:08:21 Removing intermediate container 308951e41249 02:08:21 ---> 39cffd6f2d2c 02:08:21 Step 9/24 : COPY go.mod vendor* ./ 02:08:21 ---> 9f2903e20198 02:08:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:08:21 ---> Running in 37d81f3dde88 02:08:25 Removing intermediate container 37d81f3dde88 02:08:25 ---> 507872135058 02:08:25 Step 11/24 : COPY . . 02:08:25 ---> 313f5228704e 02:08:25 Step 12/24 : RUN $MAKE 02:08:25 ---> Running in 3148fb9a15ac 02:08:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:10:49 Removing intermediate container 3148fb9a15ac 02:10:49 ---> 3a2a230d9ca0 02:10:49 Step 13/24 : FROM alpine:3.17 02:10:49 3.17: Pulling from library/alpine 02:10:49 af6eaf76a39c: Already exists 02:10:49 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 02:10:49 Status: Downloaded newer image for alpine:3.17 02:10:49 ---> d74e625d9115 02:10:49 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:10:49 ---> Running in f7c92564c3d2 02:10:49 Removing intermediate container f7c92564c3d2 02:10:49 ---> 959cf7566101 02:10:49 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:10:49 ---> Running in 18966443260c 02:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:10:49 (1/1) Installing dumb-init (1.2.5-r2) 02:10:49 Executing busybox-1.35.0-r29.trigger 02:10:49 OK: 8 MiB in 16 packages 02:10:51 Removing intermediate container 18966443260c 02:10:51 ---> 057d0cd46a4c 02:10:51 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:10:53 ---> eaef1e49469a 02:10:53 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:10:53 ---> 8d852902737a 02:10:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:10:53 ---> a2f6ca2834af 02:10:53 Step 19/24 : EXPOSE 59982 02:10:53 ---> Running in 397bf8df1371 02:10:54 Removing intermediate container 397bf8df1371 02:10:54 ---> a54b15171ba7 02:10:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:10:54 ---> Running in bcfa0ba72632 02:10:54 Removing intermediate container bcfa0ba72632 02:10:54 ---> 29ee582f7e09 02:10:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:10:54 ---> Running in d3e8b4d531a3 02:10:55 Removing intermediate container d3e8b4d531a3 02:10:55 ---> 76c856937b0c 02:10:55 Step 22/24 : LABEL arch=arm64 02:10:55 ---> Running in 6b17e6f6ce4a 02:10:55 Removing intermediate container 6b17e6f6ce4a 02:10:55 ---> 1b97f6855cba 02:10:55 Step 23/24 : LABEL git_sha=bed44a886ce8c636cec739d0fc78fac9fb0ae35a 02:10:55 ---> Running in 36a2b8eb28aa 02:10:55 Removing intermediate container 36a2b8eb28aa 02:10:55 ---> 4d13d8dd3eca 02:10:55 Step 24/24 : LABEL version=0.0.0 02:10:55 ---> Running in 66e7c56d5853 02:10:56 Removing intermediate container 66e7c56d5853 02:10:56 ---> 6617969359f0 02:10:56 [Warning] One or more build-args [ARCH] were not consumed 02:10:56 Successfully built 6617969359f0 02:10:56 Successfully tagged device-mqtt-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 02:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:57 02:10:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:57 arm64: Pulling from edgex-lftools-log-publisher 02:10:57 8998bd30e6a1: Pulling fs layer 02:10:57 04944245beec: Pulling fs layer 02:10:57 699f458cf7ca: Pulling fs layer 02:10:57 765212b225bb: Pulling fs layer 02:10:57 f23df028b6ca: Pulling fs layer 02:10:57 d65c8cfc05b1: Pulling fs layer 02:10:57 2437ff75d9bd: Pulling fs layer 02:10:57 765212b225bb: Waiting 02:10:57 f23df028b6ca: Waiting 02:10:57 d65c8cfc05b1: Waiting 02:10:57 2437ff75d9bd: Waiting 02:10:57 04944245beec: Verifying Checksum 02:10:57 04944245beec: Download complete 02:10:57 765212b225bb: Verifying Checksum 02:10:57 765212b225bb: Download complete 02:10:57 f23df028b6ca: Verifying Checksum 02:10:57 f23df028b6ca: Download complete 02:10:57 d65c8cfc05b1: Verifying Checksum 02:10:57 d65c8cfc05b1: Download complete 02:10:57 699f458cf7ca: Verifying Checksum 02:10:57 699f458cf7ca: Download complete 02:10:58 8998bd30e6a1: Verifying Checksum 02:10:58 8998bd30e6a1: Download complete 02:11:00 2437ff75d9bd: Verifying Checksum 02:11:00 2437ff75d9bd: Download complete 02:11:01 8998bd30e6a1: Pull complete 02:11:04 04944245beec: Pull complete 02:11:04 699f458cf7ca: Pull complete 02:11:05 765212b225bb: Pull complete 02:11:06 f23df028b6ca: Pull complete 02:11:06 d65c8cfc05b1: Pull complete 02:11:21 2437ff75d9bd: Pull complete 02:11:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:11:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:21 prd-ubuntu20.04-docker-arm64-4c-16g-5414 does not seem to be running inside a container 02:11:21 $ 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-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:11:24 $ docker top 2162ff6398ee4fb9c5647869d8e412f50c0727503b67b3ff74456f9c87108f07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:25 ---> job-cost.sh 02:11:25 lf-activate-venv: SKIPPING 02:11:25 INFO: No Stack... 02:11:25 INFO: Retrieving Pricing Info for: v3-standard-4 02:11:26 INFO: Archiving Costs [Pipeline] sh 02:11:27 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:11:27 + cut -d, -f6 [Pipeline] lock 02:11:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] 02:11:27 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] did not exist. Created. 02:11:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:28 /w/workspace/device-mqtt-go/1@tmp/durable-43f04057/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:11:29 + echo total: 0.10999999940395355 [Pipeline] stash 02:11:29 Warning: overwriting stash ‘stack-cost’ 02:11:29 Stashed 1 file(s) [Pipeline] } 02:11:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-539-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:29 $ docker stop --time=1 2162ff6398ee4fb9c5647869d8e412f50c0727503b67b3ff74456f9c87108f07 02:11:30 $ docker rm -f --volumes 2162ff6398ee4fb9c5647869d8e412f50c0727503b67b3ff74456f9c87108f07 [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 02:11:31 provisioning config files... 02:11:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/config6407433173547121692tmp [Pipeline] { [Pipeline] sh 02:11:32 + set +x 02:11:32 + curl -s https://codecov.io/bash 02:11:32 + bash -s -- 02:11:32 02:11:32 _____ _ 02:11:32 / ____| | | 02:11:32 | | ___ __| | ___ ___ _____ __ 02:11:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:11:32 | |___| (_) | (_| | __/ (_| (_) \ V / 02:11:32 \_____\___/ \__,_|\___|\___\___/ \_/ 02:11:32 Bash-1.0.6 02:11:32 02:11:32 02:11:32 ==> git version 2.25.1 found 02:11:32 ==> 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 02:11:32 Release-Date: 2020-01-08 02:11:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:11:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:11:32 ==> Jenkins CI detected. 02:11:32 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-539 02:11:32 project root: . 02:11:32 --> token set from env 02:11:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:11:32 ==> Running gcov in . (disable via -X gcov) 02:11:32 ==> Python coveragepy not found 02:11:32 ==> Searching for coverage reports in: 02:11:32 + . 02:11:32 -> Found 1 reports 02:11:32 ==> Detecting git/mercurial file structure 02:11:32 ==> Reading reports 02:11:32 + ./coverage.out bytes=18047 02:11:32 ==> Appending adjustments 02:11:32 https://docs.codecov.io/docs/fixing-reports 02:11:32 + Found adjustments 02:11:32 ==> Gzipping contents 02:11:32 4.0K /tmp/codecov.xQlsvE.gz 02:11:32 ==> Uploading reports 02:11:32 url: https://codecov.io 02:11:32 query: branch=PR-539&commit=bed44a886ce8c636cec739d0fc78fac9fb0ae35a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=539&job=&cmd_args= 02:11:32 -> Pinging Codecov 02:11:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-539&commit=bed44a886ce8c636cec739d0fc78fac9fb0ae35a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=539&job=&cmd_args= 02:11:32 -> Uploading to 02:11:32 https://storage.googleapis.com/codecov/v4/raw/2023-03-23/7D719EC7BBE17E464838252E33014C33/bed44a886ce8c636cec739d0fc78fac9fb0ae35a/16bf4fd3-624b-4c01-900a-98568c622688.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T021132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9986717fcf06eb3543ea70e0936bd812256d1f89a1db1a0ed32313e7dc29fd3d 02:11:32 % Total % Received % Xferd Average Speed Time Time Time Current 02:11:32 Dload Upload Total Spent Left Speed 02:11:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 14257 --:--:-- --:--:-- --:--:-- 14193 100 3151 0 0 100 3151 0 10297 --:--:-- --:--:-- --:--:-- 10263 02:11:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/bed44a886ce8c636cec739d0fc78fac9fb0ae35a [Pipeline] } 02:11:32 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 02:11:34 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-539/archives ] 02:11:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-539/archives 02:11:34 total 16 02:11:34 drwxr-xr-x 3 root root 4096 Mar 23 02:01 . 02:11:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 23 02:01 .. 02:11:34 drwxr-xr-x 2 root root 4096 Mar 23 02:01 cost 02:11:34 -rw-r--r-- 1 root root 86 Mar 23 02:01 cost.csv 02:11:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-539/archives 02:11:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-539/archives 02:11:34 total 16 02:11:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 02:01 . 02:11:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 23 02:01 .. 02:11:34 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 02:01 cost 02:11:34 -rw-r--r-- 1 jenkins jenkins 86 Mar 23 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:35 ---> package-listing.sh 02:11:35 ++ facter osfamily 02:11:35 ++ tr '[:upper:]' '[:lower:]' 02:11:36 + OS_FAMILY=debian 02:11:36 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-539 02:11:36 + START_PACKAGES=/tmp/packages_start.txt 02:11:36 + END_PACKAGES=/tmp/packages_end.txt 02:11:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:36 + PACKAGES=/tmp/packages_start.txt 02:11:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-539 ']' 02:11:36 + PACKAGES=/tmp/packages_end.txt 02:11:36 + case "${OS_FAMILY}" in 02:11:36 + dpkg -l 02:11:36 + grep '^ii' 02:11:36 + '[' -f /tmp/packages_start.txt ']' 02:11:36 + '[' -f /tmp/packages_end.txt ']' 02:11:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-539 ']' 02:11:36 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-539/archives/ 02:11:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-539/archives/ [Pipeline] echo 02:11:36 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-mqtt-go_PR-539/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:37 prd-ubuntu20.04-docker-8c-8g-5411 does not seem to be running inside a container 02:11:37 $ 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-mqtt-go_PR-539/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-mqtt-go_PR-539 -v /w/workspace/gexfoundry_device-mqtt-go_PR-539:/w/workspace/gexfoundry_device-mqtt-go_PR-539:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-539@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:37 $ docker top e348368331ef970ac3daf1907e3500e5fcba0ce08aca1b705194c6260a6cef68 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:37 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:38 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:38 + ls /var/log/sa-host 02:11:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:38 provisioning config files... 02:11:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-539@tmp/config13425574553607520885tmp [Pipeline] { [Pipeline] echo 02:11:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:38 ---> create-netrc.sh [Pipeline] } 02:11:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:39 ---> python-tools-install.sh [Pipeline] echo 02:11:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:39 ---> sudo-logs.sh 02:11:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:40 ---> job-cost.sh 02:11:40 lf-activate-venv: SKIPPING 02:11:40 DEBUG: total: 0.2199999988079071 02:11:40 INFO: Retrieving Stack Cost... 02:11:40 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:40 INFO: Archiving Costs [Pipeline] echo 02:11:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:41 ---> logs-deploy.sh 02:11:41 lf-activate-venv: SKIPPING 02:11:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-539/1 02:11:41 INFO: archiving workspace using pattern(s): 02:11:42 Archives upload complete. 02:11:42 INFO: archiving logs to Nexus