Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6506aa605e312cf2eda10f01423d61b781597072 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-ssh14219337559119104895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh18033969378610247054.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14578773665476765248.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh5600109919282668538.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13656771801044503544.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.17 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: true 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3544 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh7064490184575931553.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6506aa605e312cf2eda10f01423d61b781597072 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 Commit message: "ci: gomod changes related for Go 1.17 (#335)" > git rev-list --no-walk 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:02:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:02:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:02:52 ========================================================= 20:02:52 EdgeX Global Pipelines Version Info 20:02:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:02:53 ------------------- 20:02:53 stable info: 20:02:53 ------------------- 20:02:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:02:53 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:02:53 Message: update stable to v1.0.219 20:02:53 ------------------- 20:02:53 experimental info: 20:02:53 ------------------- 20:02:53 Commited By: **** collab-it+edgex@linuxfoundation.org 20:02:53 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:02:53 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6506aa6 [Pipeline] echo 20:02:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:54 provisioning config files... 20:02:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7891003666236151256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:54 ---> docker-login.sh 20:02:54 nexus3.edgexfoundry.org:10001 20:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:55 Configure a credential helper to remove this warning. See 20:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:55 20:02:55 Login Succeeded 20:02:55 nexus3.edgexfoundry.org:10002 20:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:55 Configure a credential helper to remove this warning. See 20:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:55 20:02:55 Login Succeeded 20:02:55 nexus3.edgexfoundry.org:10003 20:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:55 Configure a credential helper to remove this warning. See 20:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:55 20:02:55 Login Succeeded 20:02:55 nexus3.edgexfoundry.org:10004 20:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:55 Configure a credential helper to remove this warning. See 20:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:55 20:02:55 Login Succeeded 20:02:55 docker.io 20:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:55 Configure a credential helper to remove this warning. See 20:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:55 20:02:55 Login Succeeded 20:02:55 ---> docker-login.sh ends [Pipeline] } 20:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:02:56 + git rev-list -1 --merges 6506aa605e312cf2eda10f01423d61b781597072~1..6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo 20:02:56 -----------> git rev-list -1 --merges 6506aa605e312cf2eda10f01423d61b781597072~1..6506aa605e312cf2eda10f01423d61b781597072 6506aa605e312cf2eda10f01423d61b781597072 [false] [Pipeline] sh 20:02:56 + git log --format=format:%s -1 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo 20:02:56 ========================================================= 20:02:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:02:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:56 + git log --format=format:%s -1 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo 20:02:56 [semverPrep] GIT_COMMIT: 6506aa605e312cf2eda10f01423d61b781597072, Commit Message: ci: gomod changes related for Go 1.17 (#335) [Pipeline] echo 20:02:56 [semverPrep] This is not a build commit. [Pipeline] sh 20:02:57 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:02:57 + grep -v github /etc/ssh/ssh_known_hosts 20:02:57 + '[' -e /tmp/ssh_known_hosts ']' 20:02:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:02:57 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:02:57 + sudo tee -a /etc/ssh/ssh_known_hosts 20:02:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:02:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:02:57 20:02:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:02:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:02:57 latest: Pulling from edgex-devops/git-semver 20:02:57 a0d0a0d46f8b: Pulling fs layer 20:02:57 3e5f54012d9b: Pulling fs layer 20:02:57 4c7163046ea9: Pulling fs layer 20:02:57 0c2d73faf560: Pulling fs layer 20:02:57 0c2d73faf560: Waiting 20:02:57 3e5f54012d9b: Verifying Checksum 20:02:57 3e5f54012d9b: Download complete 20:02:57 a0d0a0d46f8b: Verifying Checksum 20:02:57 a0d0a0d46f8b: Download complete 20:02:57 0c2d73faf560: Verifying Checksum 20:02:57 0c2d73faf560: Download complete 20:02:57 4c7163046ea9: Verifying Checksum 20:02:57 4c7163046ea9: Download complete 20:02:58 a0d0a0d46f8b: Pull complete 20:02:58 3e5f54012d9b: Pull complete 20:02:58 4c7163046ea9: Pull complete 20:02:58 0c2d73faf560: Pull complete 20:02:58 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:02:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:02:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:02:58 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:02:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:02:59 $ docker top 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:02:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:59 [ssh-agent] Looking for ssh-agent implementation... 20:02:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:59 $ docker exec 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent 20:02:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXopFJHa/agent.14 20:02:59 SSH_AGENT_PID=20 20:02:59 Running ssh-add (command line suppressed) 20:02:59 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6597326756529065959.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6597326756529065959.key) 20:02:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:00 + git tag --points-at HEAD [Pipeline] } 20:02:59 $ docker exec --env ******** --env ******** 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent -k 20:02:59 unset SSH_AUTH_SOCK; 20:02:59 unset SSH_AGENT_PID; 20:02:59 echo Agent pid 20 killed; 20:03:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:03:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:00 [ssh-agent] Looking for ssh-agent implementation... 20:03:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:00 $ docker exec 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent 20:03:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnJPELI/agent.54 20:03:00 SSH_AGENT_PID=60 20:03:00 Running ssh-add (command line suppressed) 20:03:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9179677929379193879.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9179677929379193879.key) 20:03:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:00 + git semver init 20:03:00 # -> Open(): unable to determine branch for HEAD 20:03:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:03:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:03:00 # $SEMVER_REMOTE_NAME = origin 20:03:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:03:00 # $SEMVER_USER_NAME = edgex-jenkins 20:03:00 # $SEMVER_BRANCH = main 20:03:00 # $SEMVER_TEMP = /tmp/semver-641053180 20:03:00 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 20:03:01 # '/tmp/semver-641053180' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 20:03:01 # -> Force: false 20:03:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 20:03:01 $ docker exec --env ******** --env ******** 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent -k 20:03:01 unset SSH_AUTH_SOCK; 20:03:01 unset SSH_AGENT_PID; 20:03:01 echo Agent pid 60 killed; 20:03:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:02 + git semver [Pipeline] } 20:03:02 $ docker stop --time=1 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 20:03:03 $ docker rm -f 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:03:04 Stashed 1 file(s) [Pipeline] echo 20:03:04 [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:04 provisioning config files... 20:03:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5989918141306709565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:04 ---> docker-login.sh 20:03:04 nexus3.edgexfoundry.org:10001 20:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:04 Configure a credential helper to remove this warning. See 20:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:04 20:03:04 Login Succeeded 20:03:04 nexus3.edgexfoundry.org:10002 20:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:04 Configure a credential helper to remove this warning. See 20:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:04 20:03:04 Login Succeeded 20:03:04 nexus3.edgexfoundry.org:10003 20:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:04 Configure a credential helper to remove this warning. See 20:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:04 20:03:04 Login Succeeded 20:03:04 nexus3.edgexfoundry.org:10004 20:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:04 Configure a credential helper to remove this warning. See 20:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:04 20:03:04 Login Succeeded 20:03:04 docker.io 20:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:05 Configure a credential helper to remove this warning. See 20:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:05 20:03:05 Login Succeeded 20:03:05 ---> docker-login.sh ends [Pipeline] } 20:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:03:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:05 ========================================================= 20:03:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:03:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:03:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 20:03:05 Sending build context to Docker daemon 5.721MB 20:03:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:03:05 Step 2/12 : FROM ${BASE} AS builder 20:03:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:03:05 59bf1c3509f3: Pulling fs layer 20:03:05 666ba61612fd: Pulling fs layer 20:03:05 8ed8ca486205: Pulling fs layer 20:03:05 4fe6c5a15a65: Pulling fs layer 20:03:05 22a0e8bec74d: Pulling fs layer 20:03:05 f965cba54748: Pulling fs layer 20:03:05 861ffc35075e: Pulling fs layer 20:03:05 4b385c91608e: Pulling fs layer 20:03:05 560528eb2ebb: Pulling fs layer 20:03:05 f965cba54748: Waiting 20:03:05 861ffc35075e: Waiting 20:03:05 4b385c91608e: Waiting 20:03:05 560528eb2ebb: Waiting 20:03:05 4fe6c5a15a65: Waiting 20:03:05 22a0e8bec74d: Waiting 20:03:05 8ed8ca486205: Verifying Checksum 20:03:05 8ed8ca486205: Download complete 20:03:05 666ba61612fd: Download complete 20:03:05 22a0e8bec74d: Verifying Checksum 20:03:05 22a0e8bec74d: Download complete 20:03:05 59bf1c3509f3: Verifying Checksum 20:03:05 59bf1c3509f3: Download complete 20:03:05 f965cba54748: Verifying Checksum 20:03:05 f965cba54748: Download complete 20:03:05 861ffc35075e: Verifying Checksum 20:03:05 861ffc35075e: Download complete 20:03:05 4b385c91608e: Verifying Checksum 20:03:05 4b385c91608e: Download complete 20:03:06 59bf1c3509f3: Pull complete 20:03:06 4fe6c5a15a65: Verifying Checksum 20:03:06 4fe6c5a15a65: Download complete 20:03:06 560528eb2ebb: Verifying Checksum 20:03:06 560528eb2ebb: Download complete 20:03:06 666ba61612fd: Pull complete 20:03:06 8ed8ca486205: Pull complete 20:03:10 4fe6c5a15a65: Pull complete 20:03:10 22a0e8bec74d: Pull complete 20:03:10 f965cba54748: Pull complete 20:03:10 861ffc35075e: Pull complete 20:03:10 4b385c91608e: Pull complete 20:03:13 560528eb2ebb: Pull complete 20:03:13 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:03:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:03:13 ---> dd4a08f94e63 20:03:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:03:15 ---> Running in 74d794e8a7ef 20:03:15 Removing intermediate container 74d794e8a7ef 20:03:15 ---> 8358b3ffca79 20:03:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:03:15 ---> Running in 0574e322c217 20:03:15 Removing intermediate container 0574e322c217 20:03:15 ---> 942a132d0b2b 20:03:15 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:03:15 ---> Running in b8671a568dbf 20:03:15 Removing intermediate container b8671a568dbf 20:03:15 ---> f46cfe3afe06 20:03:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:15 ---> Running in ecfbd0842644 20:03:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:03:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:03:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:03:17 (2/4) Installing libedit (20210910.3.1-r0) 20:03:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:03:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:03:17 Executing busybox-1.34.1-r3.trigger 20:03:17 OK: 224 MiB in 56 packages 20:03:17 Removing intermediate container ecfbd0842644 20:03:17 ---> b71a66f447d2 20:03:17 Step 7/12 : WORKDIR /device-mqtt-go 20:03:17 ---> Running in 153a074296f6 20:03:18 Removing intermediate container 153a074296f6 20:03:18 ---> 75da963e0aab 20:03:18 Step 8/12 : COPY go.mod vendor* ./ 20:03:18 ---> a9135aa8d66b 20:03:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:18 ---> Running in 3a0416d081f8 20:03:19 Still waiting to schedule task 20:03:19 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3543’ is offline 20:03:50 Removing intermediate container 3a0416d081f8 20:03:50 ---> 6bbe188d0b98 20:03:50 Step 10/12 : COPY . . 20:03:50 ---> e5196565d4db 20:03:50 Step 11/12 : ARG MAKE='make build' 20:03:50 ---> Running in f28b0dbcd093 20:03:50 Removing intermediate container f28b0dbcd093 20:03:50 ---> 41fdcbe336d8 20:03:50 Step 12/12 : RUN $MAKE 20:03:50 ---> Running in 00656ad0d5fa 20:03:50 noop 20:03:50 Removing intermediate container 00656ad0d5fa 20:03:50 ---> 970577528ebb 20:03:50 Successfully built 970577528ebb 20:03:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:03:50 + docker inspect -f . ci-base-image-x86_64 20:03:50 . [Pipeline] withDockerContainer 20:03:50 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:03:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:03:51 $ docker top 05d19372fd2f615aef0c474fad77bdaf22db8f43c580afafa8387b629c752df4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:51 + go version 20:03:51 go version go1.17.6 linux/amd64 [Pipeline] } 20:03:51 $ docker stop --time=1 05d19372fd2f615aef0c474fad77bdaf22db8f43c580afafa8387b629c752df4 20:03:52 $ docker rm -f 05d19372fd2f615aef0c474fad77bdaf22db8f43c580afafa8387b629c752df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:03:53 + docker inspect -f . ci-base-image-x86_64 20:03:53 . [Pipeline] withDockerContainer 20:03:53 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:03:53 $ docker top 3e4df242e780d7a8e366c931984a174ac259c3766d6590f8f4ab195c6e492d95 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:03:53 + make test 20:03:53 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:03:54 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:04:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:04:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.5% of statements 20:04:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:04:09 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:04:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:04:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:04:14 ./bin/test-attribution-txt.sh [Pipeline] echo 20:04:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:04:14 $ docker stop --time=1 3e4df242e780d7a8e366c931984a174ac259c3766d6590f8f4ab195c6e492d95 20:04:16 $ docker rm -f 3e4df242e780d7a8e366c931984a174ac259c3766d6590f8f4ab195c6e492d95 [Pipeline] // withDockerContainer [Pipeline] sh 20:04:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:04:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:04:17 + ls -al . 20:04:17 total 148 20:04:17 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 20:04 . 20:04:17 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 20:02 .. 20:04:17 -rw-rw-r--. 1 jenkins jenkins 7287 Jan 20 20:02 Attribution.txt 20:04:17 drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 20:02 bin 20:04:17 -rw-rw-r--. 1 jenkins jenkins 7447 Jan 20 20:02 CHANGELOG.md 20:04:17 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 20:02 cmd 20:04:17 -rw-r--r--. 1 jenkins jenkins 17452 Jan 20 20:04 coverage.out 20:04:17 -rw-rw-r--. 1 jenkins jenkins 1930 Jan 20 20:02 Dockerfile 20:04:17 -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 20:02 .dockerignore 20:04:17 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 20:02 .git 20:04:17 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 20:02 .github 20:04:17 -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 20:02 .gitignore 20:04:17 -rw-rw-r--. 1 jenkins jenkins 2907 Jan 20 20:02 go.mod 20:04:17 -rw-rw-r--. 1 jenkins jenkins 49409 Jan 20 20:02 go.sum 20:04:17 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 20:02 GOVERNANCE.md 20:04:17 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 20:02 internal 20:04:17 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 20:02 Jenkinsfile 20:04:17 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 20:02 LICENSE 20:04:17 -rw-rw-r--. 1 jenkins jenkins 1030 Jan 20 20:02 Makefile 20:04:17 drwxrwxr-x. 2 jenkins jenkins 23 Jan 20 20:02 mock 20:04:17 -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 20:02 OWNERS.md 20:04:17 -rw-rw-r--. 1 jenkins jenkins 2643 Jan 20 20:02 README.md 20:04:17 drwx------. 3 jenkins jenkins 57 Jan 20 20:03 .semver 20:04:17 drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 20:02 snap 20:04:17 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 20:03 VERSION 20:04:17 -rw-rw-r--. 1 jenkins jenkins 227 Jan 20 20:02 version.go [Pipeline] isUnix [Pipeline] sh 20:04:17 + 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=6506aa605e312cf2eda10f01423d61b781597072 --label arch=amd64 --label version=2.2.0-dev.8 . 20:04:17 Sending build context to Docker daemon 5.739MB 20:04:17 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:04:17 Step 2/24 : FROM ${BASE} AS builder 20:04:17 ---> 970577528ebb 20:04:17 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:17 ---> Running in 77873f29ee05 20:04:18 Removing intermediate container 77873f29ee05 20:04:18 ---> d8b8675ed84f 20:04:18 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:04:18 ---> Running in 914f80b7ece6 20:04:18 Removing intermediate container 914f80b7ece6 20:04:18 ---> 00d9e5360acd 20:04:18 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:18 ---> Running in 81e0b68f4b77 20:04:18 Removing intermediate container 81e0b68f4b77 20:04:18 ---> 219006d372e6 20:04:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:18 ---> Running in cb145e453600 20:04:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:04:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:04:20 OK: 224 MiB in 56 packages 20:04:20 Removing intermediate container cb145e453600 20:04:20 ---> 657eb2297984 20:04:20 Step 7/24 : WORKDIR /device-mqtt-go 20:04:20 ---> Running in c74457991f94 20:04:20 Removing intermediate container c74457991f94 20:04:20 ---> c850f370222f 20:04:20 Step 8/24 : COPY go.mod vendor* ./ 20:04:20 ---> 96f8205d9b11 20:04:20 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:20 ---> Running in bcab18a9cf92 20:04:21 Removing intermediate container bcab18a9cf92 20:04:21 ---> edfcaf977af2 20:04:21 Step 10/24 : COPY . . 20:04:21 ---> 28e41c73af6e 20:04:21 Step 11/24 : ARG MAKE='make build' 20:04:21 ---> Running in 6904f9444985 20:04:21 Removing intermediate container 6904f9444985 20:04:21 ---> 03f3ffbf2037 20:04:21 Step 12/24 : RUN $MAKE 20:04:21 ---> Running in e3f30922fd6b 20:04:21 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.8" -o cmd/device-mqtt ./cmd 20:04:34 Removing intermediate container e3f30922fd6b 20:04:34 ---> 70c71769bb62 20:04:34 Step 13/24 : FROM alpine:3.14 20:04:34 3.14: Pulling from library/alpine 20:04:34 97518928ae5f: Pulling fs layer 20:04:34 97518928ae5f: Verifying Checksum 20:04:34 97518928ae5f: Download complete 20:04:34 97518928ae5f: Pull complete 20:04:34 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:04:34 Status: Downloaded newer image for alpine:3.14 20:04:34 ---> 0a97eee8041e 20:04:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:04:34 ---> Running in 2a57f670896e 20:04:34 Removing intermediate container 2a57f670896e 20:04:34 ---> 115af6cd471b 20:04:34 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:04:34 ---> Running in c1d1ac571847 20:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:04:35 (1/6) Installing dumb-init (1.2.5-r1) 20:04:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:04:35 (3/6) Installing libsodium (1.0.18-r0) 20:04:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:04:35 (5/6) Installing libzmq (4.3.4-r0) 20:04:35 (6/6) Installing zeromq (4.3.4-r0) 20:04:35 Executing busybox-1.33.1-r6.trigger 20:04:35 OK: 8 MiB in 20 packages 20:04:35 Removing intermediate container c1d1ac571847 20:04:35 ---> e326b3fbe811 20:04:35 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:04:35 ---> 14b7fed81c94 20:04:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:04:35 ---> e45d6ec1a6de 20:04:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:04:35 ---> deffaf35e528 20:04:35 Step 19/24 : EXPOSE 59982 20:04:35 ---> Running in fe079c12aa03 20:04:36 Removing intermediate container fe079c12aa03 20:04:36 ---> c4eb9f9d6e8c 20:04:36 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:04:36 ---> Running in 5457f6a42daa 20:04:36 Removing intermediate container 5457f6a42daa 20:04:36 ---> 2e0e7a062336 20:04:36 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:04:36 ---> Running in 18e19580bc66 20:04:36 Removing intermediate container 18e19580bc66 20:04:36 ---> 050767ae7e24 20:04:36 Step 22/24 : LABEL arch=amd64 20:04:36 ---> Running in c828aec20bf5 20:04:36 Removing intermediate container c828aec20bf5 20:04:36 ---> 45e30b37b578 20:04:36 Step 23/24 : LABEL git_sha=6506aa605e312cf2eda10f01423d61b781597072 20:04:36 ---> Running in 28475a9c534a 20:04:36 Removing intermediate container 28475a9c534a 20:04:36 ---> a3a01d50b7ed 20:04:36 Step 24/24 : LABEL version=2.2.0-dev.8 20:04:36 ---> Running in 98b1807d2e48 20:04:36 Removing intermediate container 98b1807d2e48 20:04:36 ---> 4d9c447b6845 20:04:36 [Warning] One or more build-args [ARCH] were not consumed 20:04:36 Successfully built 4d9c447b6845 20:04:36 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:36 provisioning config files... 20:04:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8290317768310451252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:37 ---> docker-login.sh 20:04:37 nexus3.edgexfoundry.org:10001 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10002 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10003 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10004 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 docker.io 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 ---> docker-login.sh ends [Pipeline] } 20:04:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:04:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:38 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:04:38 6506aa605e312cf2eda10f01423d61b781597072 20:04:38 latest 20:04:38 2.2.0-dev.8 20:04:38 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 20:04:38 main 20:04:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:04:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] isUnix [Pipeline] sh 20:04:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072 20:04:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:04:38 27c94792b464: Preparing 20:04:38 4d32823b5837: Preparing 20:04:38 5b87b6184977: Preparing 20:04:38 96e4d72507b1: Preparing 20:04:38 1a058d5342cc: Preparing 20:04:38 1a058d5342cc: Layer already exists 20:04:38 27c94792b464: Pushed 20:04:38 4d32823b5837: Pushed 20:04:38 96e4d72507b1: Pushed 20:04:39 5b87b6184977: Pushed 20:04:39 6506aa605e312cf2eda10f01423d61b781597072: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:04:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 20:04:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:04:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:04:40 27c94792b464: Preparing 20:04:40 4d32823b5837: Preparing 20:04:40 5b87b6184977: Preparing 20:04:40 96e4d72507b1: Preparing 20:04:40 1a058d5342cc: Preparing 20:04:40 1a058d5342cc: Layer already exists 20:04:40 96e4d72507b1: Layer already exists 20:04:40 5b87b6184977: Layer already exists 20:04:40 4d32823b5837: Layer already exists 20:04:40 27c94792b464: Layer already exists 20:04:40 latest: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:04:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 20:04:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.8 20:04:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:04:40 27c94792b464: Preparing 20:04:40 4d32823b5837: Preparing 20:04:40 5b87b6184977: Preparing 20:04:40 96e4d72507b1: Preparing 20:04:40 1a058d5342cc: Preparing 20:04:40 5b87b6184977: Layer already exists 20:04:40 96e4d72507b1: Layer already exists 20:04:40 1a058d5342cc: Layer already exists 20:04:40 27c94792b464: Layer already exists 20:04:40 4d32823b5837: Layer already exists 20:04:40 2.2.0-dev.8: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:04:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 20:04:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 20:04:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:04:41 27c94792b464: Preparing 20:04:41 4d32823b5837: Preparing 20:04:41 5b87b6184977: Preparing 20:04:41 96e4d72507b1: Preparing 20:04:41 1a058d5342cc: Preparing 20:04:41 1a058d5342cc: Layer already exists 20:04:41 96e4d72507b1: Layer already exists 20:04:41 4d32823b5837: Layer already exists 20:04:41 27c94792b464: Layer already exists 20:04:41 5b87b6184977: Layer already exists 20:04:41 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:04:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 20:04:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 20:04:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:04:42 27c94792b464: Preparing 20:04:42 4d32823b5837: Preparing 20:04:42 5b87b6184977: Preparing 20:04:42 96e4d72507b1: Preparing 20:04:42 1a058d5342cc: Preparing 20:04:42 96e4d72507b1: Layer already exists 20:04:42 5b87b6184977: Layer already exists 20:04:42 1a058d5342cc: Layer already exists 20:04:42 4d32823b5837: Layer already exists 20:04:42 27c94792b464: Layer already exists 20:04:42 main: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:04:42 ===================================================== [Pipeline] echo 20:04:42 taggedImages: 20:04:42 - nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072 20:04:42 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:04:42 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.8 20:04:42 - nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 20:04:42 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:42 20:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:42 latest: Pulling from edgex-lftools-log-publisher 20:04:42 b4d181a07f80: Pulling fs layer 20:04:42 a1111a8f2ec3: Pulling fs layer 20:04:42 ed53099fbce6: Pulling fs layer 20:04:42 dc539afda2c1: Pulling fs layer 20:04:42 77bc0d833cb6: Pulling fs layer 20:04:42 9065ff56babe: Pulling fs layer 20:04:42 d287ab97295c: Pulling fs layer 20:04:42 77bc0d833cb6: Waiting 20:04:42 9065ff56babe: Waiting 20:04:42 d287ab97295c: Waiting 20:04:42 dc539afda2c1: Waiting 20:04:42 a1111a8f2ec3: Verifying Checksum 20:04:42 a1111a8f2ec3: Download complete 20:04:42 dc539afda2c1: Verifying Checksum 20:04:42 dc539afda2c1: Download complete 20:04:42 ed53099fbce6: Verifying Checksum 20:04:42 ed53099fbce6: Download complete 20:04:42 9065ff56babe: Verifying Checksum 20:04:42 9065ff56babe: Download complete 20:04:42 77bc0d833cb6: Verifying Checksum 20:04:42 77bc0d833cb6: Download complete 20:04:43 b4d181a07f80: Verifying Checksum 20:04:43 b4d181a07f80: Download complete 20:04:43 d287ab97295c: Verifying Checksum 20:04:43 d287ab97295c: Download complete 20:04:44 b4d181a07f80: Pull complete 20:04:44 a1111a8f2ec3: Pull complete 20:04:45 ed53099fbce6: Pull complete 20:04:45 dc539afda2c1: Pull complete 20:04:45 77bc0d833cb6: Pull complete 20:04:45 9065ff56babe: Pull complete 20:04:51 d287ab97295c: Pull complete 20:04:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:04:51 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:04:53 $ docker top 7308b4cd261ef96114b9d5fc91c4325a94283b1985beccb230fc4f89fe647331 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:54 ---> job-cost.sh 20:04:54 lf-activate-venv: SKIPPING 20:04:54 INFO: No Stack... 20:04:54 INFO: Retrieving Pricing Info for: v3-standard-2 20:04:55 INFO: Archiving Costs [Pipeline] sh 20:04:55 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 20:04:55 + cut -d, -f6 [Pipeline] lock 20:04:55 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] 20:04:55 Resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] did not exist. Created. 20:04:55 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:04:55 + echo total: 0.05999999865889549 [Pipeline] stash 20:04:55 Stashed 1 file(s) [Pipeline] } 20:04:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 20:04:55 $ docker stop --time=1 7308b4cd261ef96114b9d5fc91c4325a94283b1985beccb230fc4f89fe647331 20:04:56 $ docker rm -f 7308b4cd261ef96114b9d5fc91c4325a94283b1985beccb230fc4f89fe647331 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:05:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3546 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:05:29 Running in /w/workspace/device-mqtt-go/29 [Pipeline] { [Pipeline] checkout 20:05:29 Selected Git installation does not exist. Using Default 20:05:29 The recommended git tool is: NONE 20:05:34 using credential edgex-jenkins-ssh 20:05:34 Cloning the remote Git repository 20:05:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:05:34 > git init /w/workspace/device-mqtt-go/29 # timeout=10 20:05:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:05:34 > git --version # timeout=10 20:05:35 > git --version # 'git version 2.17.1' 20:05:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:05:36 Avoid second fetch 20:05:36 Checking out Revision 6506aa605e312cf2eda10f01423d61b781597072 (main) 20:05:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:05:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:05:36 > git config core.sparsecheckout # timeout=10 20:05:36 > git checkout -f 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 20:05:40 Commit message: "ci: gomod changes related for Go 1.17 (#335)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:05:41 % Total % Received % Xferd Average Speed Time Time Time Current 20:05:41 Dload Upload Total Spent Left Speed 20:05:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 20:05:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:05:42 + sudo tee /etc/docker/daemon.new 20:05:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:05:42 { 20:05:42 "registry-mirrors": [ 20:05:42 "https://nexus3.edgexfoundry.org:10001" 20:05:42 ], 20:05:42 "bip": "10.250.0.254/24", 20:05:42 "hosts": [ 20:05:42 "tcp://0.0.0.0:5555", 20:05:42 "unix:///var/run/docker.sock" 20:05:42 ], 20:05:42 "mtu": 1458, 20:05:42 "selinux-enabled": true, 20:05:42 "seccomp-profile": "/etc/docker/seccomp.json" 20:05:42 } [Pipeline] sh 20:05:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:05:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:01 provisioning config files... 20:06:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config6742251917629397042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:01 ---> docker-login.sh 20:06:01 nexus3.edgexfoundry.org:10001 20:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:02 Configure a credential helper to remove this warning. See 20:06:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:02 20:06:02 Login Succeeded 20:06:02 nexus3.edgexfoundry.org:10002 20:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:03 Configure a credential helper to remove this warning. See 20:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:03 20:06:03 Login Succeeded 20:06:03 nexus3.edgexfoundry.org:10003 20:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:03 Configure a credential helper to remove this warning. See 20:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:03 20:06:03 Login Succeeded 20:06:03 nexus3.edgexfoundry.org:10004 20:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:03 Configure a credential helper to remove this warning. See 20:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:03 20:06:03 Login Succeeded 20:06:03 docker.io 20:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:04 Configure a credential helper to remove this warning. See 20:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:04 20:06:04 Login Succeeded 20:06:04 ---> docker-login.sh ends [Pipeline] } 20:06:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:06:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:05 ========================================================= 20:06:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:06:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:06:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:06:06 Sending build context to Docker daemon 2.973MB 20:06:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:06:06 Step 2/12 : FROM ${BASE} AS builder 20:06:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:06:06 9b3977197b4f: Pulling fs layer 20:06:06 1a89e8eeedd5: Pulling fs layer 20:06:06 94645a83ff95: Pulling fs layer 20:06:06 3f3a8bcf1eab: Pulling fs layer 20:06:06 0c92f367c5e7: Pulling fs layer 20:06:06 4b8299f9d1f4: Pulling fs layer 20:06:06 9a6b49a46696: Pulling fs layer 20:06:06 cf05db05a679: Pulling fs layer 20:06:06 0c92f367c5e7: Waiting 20:06:06 4b8299f9d1f4: Waiting 20:06:06 9a6b49a46696: Waiting 20:06:06 cf05db05a679: Waiting 20:06:06 3f3a8bcf1eab: Waiting 20:06:06 94645a83ff95: Verifying Checksum 20:06:06 94645a83ff95: Download complete 20:06:06 1a89e8eeedd5: Verifying Checksum 20:06:06 1a89e8eeedd5: Download complete 20:06:06 0c92f367c5e7: Verifying Checksum 20:06:06 0c92f367c5e7: Download complete 20:06:06 4b8299f9d1f4: Verifying Checksum 20:06:06 4b8299f9d1f4: Download complete 20:06:06 9a6b49a46696: Verifying Checksum 20:06:06 9a6b49a46696: Download complete 20:06:06 9b3977197b4f: Download complete 20:06:07 9b3977197b4f: Pull complete 20:06:07 1a89e8eeedd5: Pull complete 20:06:08 94645a83ff95: Pull complete 20:06:08 cf05db05a679: Verifying Checksum 20:06:08 cf05db05a679: Download complete 20:06:09 3f3a8bcf1eab: Verifying Checksum 20:06:09 3f3a8bcf1eab: Download complete 20:06:21 3f3a8bcf1eab: Pull complete 20:06:21 0c92f367c5e7: Pull complete 20:06:21 4b8299f9d1f4: Pull complete 20:06:21 9a6b49a46696: Pull complete 20:06:28 cf05db05a679: Pull complete 20:06:28 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:06:28 ---> 0ccda1f7e2ee 20:06:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:29 ---> Running in f3fb95842a91 20:06:29 Removing intermediate container f3fb95842a91 20:06:29 ---> cda6fdd1cc5b 20:06:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:06:29 ---> Running in 486d635d4272 20:06:30 Removing intermediate container 486d635d4272 20:06:30 ---> a221d483d996 20:06:30 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:30 ---> Running in c60d4a9809ab 20:06:32 Removing intermediate container c60d4a9809ab 20:06:32 ---> ae3d1c0c622b 20:06:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:32 ---> Running in af75919adc18 20:06:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:06:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:06:34 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:06:35 (2/4) Installing libedit (20210910.3.1-r0) 20:06:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:06:35 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:06:35 Executing busybox-1.34.1-r3.trigger 20:06:35 OK: 224 MiB in 56 packages 20:06:36 Removing intermediate container af75919adc18 20:06:36 ---> 6ea32b9cfbe1 20:06:36 Step 7/12 : WORKDIR /device-mqtt-go 20:06:36 ---> Running in a94b3072c454 20:06:37 Removing intermediate container a94b3072c454 20:06:37 ---> 53af9be8274d 20:06:37 Step 8/12 : COPY go.mod vendor* ./ 20:06:37 ---> ced0696f51b0 20:06:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:37 ---> Running in b57e13959ad4 20:07:59 Removing intermediate container b57e13959ad4 20:07:59 ---> a1e03e330332 20:07:59 Step 10/12 : COPY . . 20:07:59 ---> 1fbb948ce6bc 20:07:59 Step 11/12 : ARG MAKE='make build' 20:07:59 ---> Running in b3abd8d5e267 20:07:59 Removing intermediate container b3abd8d5e267 20:07:59 ---> d63ef2d6e5e9 20:07:59 Step 12/12 : RUN $MAKE 20:07:59 ---> Running in ec84b40048e4 20:07:59 noop 20:07:59 Removing intermediate container ec84b40048e4 20:07:59 ---> b2fe4fc0d801 20:07:59 Successfully built b2fe4fc0d801 20:07:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:08:00 + docker inspect -f . ci-base-image-arm64 20:08:00 . [Pipeline] withDockerContainer 20:08:00 prd-ubuntu18.04-docker-arm64-4c-16g-3546 does not seem to be running inside a container 20:08:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@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 ******** ci-base-image-arm64 cat 20:08:01 $ docker top b96a7657686a277728269c3ba371aed612355ffc505527533c6164bc3ae764ed -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:02 + go version 20:08:02 go version go1.17.6 linux/arm64 [Pipeline] } 20:08:02 $ docker stop --time=1 b96a7657686a277728269c3ba371aed612355ffc505527533c6164bc3ae764ed 20:08:04 $ docker rm -f b96a7657686a277728269c3ba371aed612355ffc505527533c6164bc3ae764ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:05 + docker inspect -f . ci-base-image-arm64 20:08:05 . [Pipeline] withDockerContainer 20:08:05 prd-ubuntu18.04-docker-arm64-4c-16g-3546 does not seem to be running inside a container 20:08:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@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 ******** ci-base-image-arm64 cat 20:08:06 $ docker top 7c71ce6c79c67efe626e98f0d106ac8a644ea8234a957385c908ceb0018e3bf9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:08:07 + make test 20:08:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:08:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:09:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:09:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.5% of statements 20:09:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:09:05 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:09:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:09:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:09:24 ./bin/test-attribution-txt.sh [Pipeline] echo 20:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:09:24 $ docker stop --time=1 7c71ce6c79c67efe626e98f0d106ac8a644ea8234a957385c908ceb0018e3bf9 20:09:26 $ docker rm -f 7c71ce6c79c67efe626e98f0d106ac8a644ea8234a957385c908ceb0018e3bf9 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:09:27 Warning: overwriting stash ‘coverage-report’ 20:09:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:09:28 + ls -al . 20:09:28 total 180 20:09:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 20:09 . 20:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 20:05 .. 20:09:28 -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 20:05 .dockerignore 20:09:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 20:05 .git 20:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 20:05 .github 20:09:28 -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 20:05 .gitignore 20:09:28 -rw-rw-r-- 1 jenkins jenkins 7287 Jan 20 20:05 Attribution.txt 20:09:28 -rw-rw-r-- 1 jenkins jenkins 7447 Jan 20 20:05 CHANGELOG.md 20:09:28 -rw-rw-r-- 1 jenkins jenkins 1930 Jan 20 20:05 Dockerfile 20:09:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 20:05 GOVERNANCE.md 20:09:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 20:05 Jenkinsfile 20:09:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 20:05 LICENSE 20:09:28 -rw-rw-r-- 1 jenkins jenkins 1030 Jan 20 20:05 Makefile 20:09:28 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 20:05 OWNERS.md 20:09:28 -rw-rw-r-- 1 jenkins jenkins 2643 Jan 20 20:05 README.md 20:09:28 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 20:03 VERSION 20:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 20:05 bin 20:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 20:05 cmd 20:09:28 -rw-r--r-- 1 jenkins jenkins 17452 Jan 20 20:09 coverage.out 20:09:28 -rw-rw-r-- 1 jenkins jenkins 2907 Jan 20 20:05 go.mod 20:09:28 -rw-rw-r-- 1 jenkins jenkins 49409 Jan 20 20:05 go.sum 20:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 20:05 internal 20:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 20:05 mock 20:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 20:05 snap 20:09:28 -rw-rw-r-- 1 jenkins jenkins 227 Jan 20 20:05 version.go [Pipeline] isUnix [Pipeline] sh 20:09:28 + 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=6506aa605e312cf2eda10f01423d61b781597072 --label arch=arm64 --label version=2.2.0-dev.8 . 20:09:28 Sending build context to Docker daemon 2.992MB 20:09:28 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:09:28 Step 2/24 : FROM ${BASE} AS builder 20:09:28 ---> b2fe4fc0d801 20:09:28 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:29 ---> Running in 5750a1524e06 20:09:29 Removing intermediate container 5750a1524e06 20:09:29 ---> 008548e530f9 20:09:29 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:09:29 ---> Running in e6e132578a87 20:09:30 Removing intermediate container e6e132578a87 20:09:30 ---> 3a77ae2cbb50 20:09:30 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:30 ---> Running in c50f40e8dcf8 20:09:32 Removing intermediate container c50f40e8dcf8 20:09:32 ---> 0d7fef370866 20:09:32 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:32 ---> Running in 83fd1daff28c 20:09:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:09:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:09:34 OK: 224 MiB in 56 packages 20:09:35 Removing intermediate container 83fd1daff28c 20:09:35 ---> b25f53e40d39 20:09:35 Step 7/24 : WORKDIR /device-mqtt-go 20:09:35 ---> Running in 6144dbf9eb6c 20:09:36 Removing intermediate container 6144dbf9eb6c 20:09:36 ---> 3ac872ae17b4 20:09:36 Step 8/24 : COPY go.mod vendor* ./ 20:09:37 ---> 82fce5373101 20:09:37 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:37 ---> Running in a4d87250646f 20:09:38 Removing intermediate container a4d87250646f 20:09:38 ---> b7ceaba2705b 20:09:38 Step 10/24 : COPY . . 20:09:39 ---> c12f23af5adf 20:09:39 Step 11/24 : ARG MAKE='make build' 20:09:39 ---> Running in 58f53d2bb9fc 20:09:40 Removing intermediate container 58f53d2bb9fc 20:09:40 ---> a9d4e167e518 20:09:40 Step 12/24 : RUN $MAKE 20:09:40 ---> Running in b3cc6011380a 20:09:41 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.8" -o cmd/device-mqtt ./cmd 20:10:28 Removing intermediate container b3cc6011380a 20:10:28 ---> 20ac95933d70 20:10:28 Step 13/24 : FROM alpine:3.14 20:10:28 3.14: Pulling from library/alpine 20:10:28 be307f383ecc: Pulling fs layer 20:10:28 be307f383ecc: Verifying Checksum 20:10:28 be307f383ecc: Pull complete 20:10:28 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:10:28 Status: Downloaded newer image for alpine:3.14 20:10:28 ---> 5b8b7b635229 20:10:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:10:28 ---> Running in 4544ca8501c2 20:10:28 Removing intermediate container 4544ca8501c2 20:10:28 ---> 90abe38dcd94 20:10:28 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:10:28 ---> Running in 3cb84773aabb 20:10:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:10:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:10:29 (1/6) Installing dumb-init (1.2.5-r1) 20:10:29 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:10:29 (3/6) Installing libsodium (1.0.18-r0) 20:10:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:10:29 (5/6) Installing libzmq (4.3.4-r0) 20:10:29 (6/6) Installing zeromq (4.3.4-r0) 20:10:29 Executing busybox-1.33.1-r6.trigger 20:10:29 OK: 8 MiB in 20 packages 20:10:30 Removing intermediate container 3cb84773aabb 20:10:30 ---> ec10bc9fde32 20:10:30 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:10:31 ---> 7cc4a7db0c23 20:10:31 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:10:32 ---> bd02511c20e4 20:10:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:10:33 ---> 4cdf28261b67 20:10:33 Step 19/24 : EXPOSE 59982 20:10:33 ---> Running in bfd97e73f40a 20:10:33 Removing intermediate container bfd97e73f40a 20:10:33 ---> 0905bc30121f 20:10:33 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:10:33 ---> Running in 05163e1ab7d3 20:10:33 Removing intermediate container 05163e1ab7d3 20:10:33 ---> 7c7313b825a9 20:10:33 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:10:33 ---> Running in d7ccc350d9df 20:10:34 Removing intermediate container d7ccc350d9df 20:10:34 ---> ed293cba0b99 20:10:34 Step 22/24 : LABEL arch=arm64 20:10:34 ---> Running in 1a0a18e78ca8 20:10:34 Removing intermediate container 1a0a18e78ca8 20:10:34 ---> d689a84ed664 20:10:34 Step 23/24 : LABEL git_sha=6506aa605e312cf2eda10f01423d61b781597072 20:10:35 ---> Running in 65cbbc0e2263 20:10:35 Removing intermediate container 65cbbc0e2263 20:10:35 ---> 6917022336b6 20:10:35 Step 24/24 : LABEL version=2.2.0-dev.8 20:10:35 ---> Running in a4bdfe0405a2 20:10:35 Removing intermediate container a4bdfe0405a2 20:10:35 ---> 7d2af091c30d 20:10:35 [Warning] One or more build-args [ARCH] were not consumed 20:10:35 Successfully built 7d2af091c30d 20:10:35 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:36 provisioning config files... 20:10:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config6307738841242655759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:36 ---> docker-login.sh 20:10:36 nexus3.edgexfoundry.org:10001 20:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:36 Configure a credential helper to remove this warning. See 20:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:36 20:10:36 Login Succeeded 20:10:36 nexus3.edgexfoundry.org:10002 20:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:37 Configure a credential helper to remove this warning. See 20:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:37 20:10:37 Login Succeeded 20:10:37 nexus3.edgexfoundry.org:10003 20:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:37 Configure a credential helper to remove this warning. See 20:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:37 20:10:37 Login Succeeded 20:10:37 nexus3.edgexfoundry.org:10004 20:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:38 Configure a credential helper to remove this warning. See 20:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:38 20:10:38 Login Succeeded 20:10:38 docker.io 20:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:39 Configure a credential helper to remove this warning. See 20:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:39 20:10:39 Login Succeeded 20:10:39 ---> docker-login.sh ends [Pipeline] } 20:10:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:10:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:10:39 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:10:39 6506aa605e312cf2eda10f01423d61b781597072 20:10:39 latest 20:10:39 2.2.0-dev.8 20:10:39 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 20:10:39 main 20:10:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] isUnix [Pipeline] sh 20:10:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072 20:10:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:10:40 1483fe83d642: Preparing 20:10:40 59f99d2e8cbb: Preparing 20:10:40 94d00c28d8e1: Preparing 20:10:40 3291e58236d0: Preparing 20:10:40 62170e181a92: Preparing 20:10:40 62170e181a92: Layer already exists 20:10:40 59f99d2e8cbb: Pushed 20:10:40 1483fe83d642: Pushed 20:10:41 3291e58236d0: Pushed 20:10:43 94d00c28d8e1: Pushed 20:10:43 6506aa605e312cf2eda10f01423d61b781597072: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:10:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:10:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:10:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:10:43 1483fe83d642: Preparing 20:10:43 59f99d2e8cbb: Preparing 20:10:43 94d00c28d8e1: Preparing 20:10:43 3291e58236d0: Preparing 20:10:43 62170e181a92: Preparing 20:10:43 59f99d2e8cbb: Layer already exists 20:10:43 3291e58236d0: Layer already exists 20:10:43 1483fe83d642: Layer already exists 20:10:43 94d00c28d8e1: Layer already exists 20:10:43 62170e181a92: Layer already exists 20:10:44 latest: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:10:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 20:10:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.8 20:10:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:10:44 1483fe83d642: Preparing 20:10:44 59f99d2e8cbb: Preparing 20:10:44 94d00c28d8e1: Preparing 20:10:44 3291e58236d0: Preparing 20:10:44 62170e181a92: Preparing 20:10:44 59f99d2e8cbb: Layer already exists 20:10:44 1483fe83d642: Layer already exists 20:10:44 62170e181a92: Layer already exists 20:10:44 3291e58236d0: Layer already exists 20:10:44 94d00c28d8e1: Layer already exists 20:10:45 2.2.0-dev.8: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:10:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 20:10:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 20:10:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:10:45 1483fe83d642: Preparing 20:10:45 59f99d2e8cbb: Preparing 20:10:45 94d00c28d8e1: Preparing 20:10:45 3291e58236d0: Preparing 20:10:45 62170e181a92: Preparing 20:10:46 3291e58236d0: Layer already exists 20:10:46 94d00c28d8e1: Layer already exists 20:10:46 62170e181a92: Layer already exists 20:10:46 1483fe83d642: Layer already exists 20:10:46 59f99d2e8cbb: Layer already exists 20:10:46 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:10:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 20:10:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 20:10:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:10:46 1483fe83d642: Preparing 20:10:46 59f99d2e8cbb: Preparing 20:10:46 94d00c28d8e1: Preparing 20:10:46 3291e58236d0: Preparing 20:10:46 62170e181a92: Preparing 20:10:46 94d00c28d8e1: Layer already exists 20:10:46 1483fe83d642: Layer already exists 20:10:46 59f99d2e8cbb: Layer already exists 20:10:46 62170e181a92: Layer already exists 20:10:46 3291e58236d0: Layer already exists 20:10:47 main: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:10:47 ===================================================== [Pipeline] echo 20:10:47 taggedImages: 20:10:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072 20:10:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:10:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.8 20:10:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 20:10:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:47 20:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:48 arm64: Pulling from edgex-lftools-log-publisher 20:10:48 448f6bf000e3: Pulling fs layer 20:10:48 f757da607395: Pulling fs layer 20:10:48 05883995daec: Pulling fs layer 20:10:48 8603b9c90790: Pulling fs layer 20:10:48 1560dd03e051: Pulling fs layer 20:10:48 27f5ce0e4adf: Pulling fs layer 20:10:48 c2d8d7efcc4b: Pulling fs layer 20:10:48 8603b9c90790: Waiting 20:10:48 1560dd03e051: Waiting 20:10:48 27f5ce0e4adf: Waiting 20:10:48 c2d8d7efcc4b: Waiting 20:10:48 f757da607395: Verifying Checksum 20:10:48 f757da607395: Download complete 20:10:48 8603b9c90790: Verifying Checksum 20:10:48 8603b9c90790: Download complete 20:10:48 1560dd03e051: Verifying Checksum 20:10:48 1560dd03e051: Download complete 20:10:48 27f5ce0e4adf: Download complete 20:10:48 05883995daec: Verifying Checksum 20:10:48 05883995daec: Download complete 20:10:48 448f6bf000e3: Download complete 20:10:51 c2d8d7efcc4b: Verifying Checksum 20:10:51 c2d8d7efcc4b: Download complete 20:10:52 448f6bf000e3: Pull complete 20:10:53 f757da607395: Pull complete 20:10:54 05883995daec: Pull complete 20:10:54 8603b9c90790: Pull complete 20:10:55 1560dd03e051: Pull complete 20:10:55 27f5ce0e4adf: Pull complete 20:11:11 c2d8d7efcc4b: Pull complete 20:11:11 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:11:11 prd-ubuntu18.04-docker-arm64-4c-16g-3546 does not seem to be running inside a container 20:11:11 $ 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/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:11:14 $ docker top 240df900631e8676f338b96f76d3f8a42356359c6877978fbb5da9acc0867ca9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:15 ---> job-cost.sh 20:11:15 lf-activate-venv: SKIPPING 20:11:15 INFO: No Stack... 20:11:15 INFO: Retrieving Pricing Info for: v3-standard-4 20:11:16 INFO: Archiving Costs [Pipeline] sh 20:11:16 + cat /w/workspace/device-mqtt-go/29/archives/cost.csv 20:11:16 + cut -d, -f6 [Pipeline] lock 20:11:17 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] 20:11:17 Resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] did not exist. Created. 20:11:17 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:17 /w/workspace/device-mqtt-go/29@tmp/durable-9b4de237/script.sh: 1: /w/workspace/device-mqtt-go/29@tmp/durable-9b4de237/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:11:18 + echo total: 0.10999999940395355 [Pipeline] stash 20:11:18 Warning: overwriting stash ‘stack-cost’ 20:11:18 Stashed 1 file(s) [Pipeline] } 20:11:18 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:18 $ docker stop --time=1 240df900631e8676f338b96f76d3f8a42356359c6877978fbb5da9acc0867ca9 20:11:20 $ docker rm -f 240df900631e8676f338b96f76d3f8a42356359c6877978fbb5da9acc0867ca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:11:20 provisioning config files... 20:11:20 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9023762749030026263tmp [Pipeline] { [Pipeline] sh 20:11:20 + set +x 20:11:20 + curl -s https://codecov.io/bash 20:11:20 + bash -s -- 20:11:20 20:11:20 _____ _ 20:11:20 / ____| | | 20:11:20 | | ___ __| | ___ ___ _____ __ 20:11:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:11:20 | |___| (_) | (_| | __/ (_| (_) \ V / 20:11:20 \_____\___/ \__,_|\___|\___\___/ \_/ 20:11:20 Bash-1.0.6 20:11:20 20:11:20 20:11:20 ==> git version 2.24.4 found 20:11:20 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:11:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:11:20 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:11:20 ==> Jenkins CI detected. 20:11:20 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 20:11:20 project root: . 20:11:20 --> token set from env 20:11:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:11:20 ==> Running gcov in . (disable via -X gcov) 20:11:20 ==> Python coveragepy not found 20:11:20 ==> Searching for coverage reports in: 20:11:20 + . 20:11:20 -> Found 1 reports 20:11:20 ==> Detecting git/mercurial file structure 20:11:20 ==> Reading reports 20:11:20 + ./coverage.out bytes=17452 20:11:20 ==> Appending adjustments 20:11:20 https://docs.codecov.io/docs/fixing-reports 20:11:21 + Found adjustments 20:11:21 ==> Gzipping contents 20:11:21 4.0K /tmp/codecov.swEFT5.gz 20:11:21 ==> Uploading reports 20:11:21 url: https://codecov.io 20:11:21 query: branch=main&commit=6506aa605e312cf2eda10f01423d61b781597072&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:11:21 -> Pinging Codecov 20:11:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=6506aa605e312cf2eda10f01423d61b781597072&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:11:21 -> Uploading to 20:11:21 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/7D719EC7BBE17E464838252E33014C33/6506aa605e312cf2eda10f01423d61b781597072/e6a78e9a-b442-41a1-bc47-562a2057b71e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T201121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=867b193de27409db05168b91d31e696f22329f1451a8c9ca8f272c761d6566a3 20:11:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:11:21 Dload Upload Total Spent Left Speed 20:11:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 10576 --:--:-- --:--:-- --:--:-- 10550 100 3218 0 0 100 3218 0 10569 --:--:-- --:--:-- --:--:-- 10550 20:11:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] } 20:11:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:11:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:11:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:11:22 20:11:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:11:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:11:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:11:22 188c0c94c7c5: Pulling fs layer 20:11:22 0ef7d3d256c8: Pulling fs layer 20:11:22 de9db76c5a1d: Pulling fs layer 20:11:22 0eba1c9be4d2: Pulling fs layer 20:11:22 0d57e429df01: Pulling fs layer 20:11:22 4e4be7b47b0d: Pulling fs layer 20:11:22 e1f770b5df2f: Pulling fs layer 20:11:22 85a0685a4137: Pulling fs layer 20:11:22 4e4be7b47b0d: Waiting 20:11:22 0eba1c9be4d2: Waiting 20:11:22 e1f770b5df2f: Waiting 20:11:22 85a0685a4137: Waiting 20:11:22 0d57e429df01: Waiting 20:11:22 de9db76c5a1d: Verifying Checksum 20:11:22 de9db76c5a1d: Download complete 20:11:22 0ef7d3d256c8: Verifying Checksum 20:11:22 0ef7d3d256c8: Download complete 20:11:22 0d57e429df01: Verifying Checksum 20:11:22 0d57e429df01: Download complete 20:11:22 188c0c94c7c5: Verifying Checksum 20:11:22 4e4be7b47b0d: Verifying Checksum 20:11:22 4e4be7b47b0d: Download complete 20:11:22 e1f770b5df2f: Verifying Checksum 20:11:22 e1f770b5df2f: Download complete 20:11:23 0eba1c9be4d2: Verifying Checksum 20:11:23 0eba1c9be4d2: Download complete 20:11:23 188c0c94c7c5: Pull complete 20:11:23 85a0685a4137: Verifying Checksum 20:11:23 85a0685a4137: Download complete 20:11:23 0ef7d3d256c8: Pull complete 20:11:23 de9db76c5a1d: Pull complete 20:11:26 0eba1c9be4d2: Pull complete 20:11:26 0d57e429df01: Pull complete 20:11:26 4e4be7b47b0d: Pull complete 20:11:27 e1f770b5df2f: Pull complete 20:11:30 85a0685a4137: Pull complete 20:11:30 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:11:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:11:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:11:30 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:11:32 $ docker top 313f6db821b84d2bb585fcde96b390dfcd649e47d3e9d98e38cd79a3affd096f -eo pid,comm [Pipeline] { [Pipeline] echo 20:11:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:11:33 + set -o pipefail 20:11:33 + snyk monitor '--org=edgex-jenkins' 20:11:37 20:11:37 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 20:11:37 20:11:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/86308c25-6cab-4b7b-92c7-d99948e474fb 20:11:37 20:11:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:11:37 20:11:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:11:37 20:11:37 [Pipeline] } 20:11:37 $ docker stop --time=1 313f6db821b84d2bb585fcde96b390dfcd649e47d3e9d98e38cd79a3affd096f 20:11:39 $ docker rm -f 313f6db821b84d2bb585fcde96b390dfcd649e47d3e9d98e38cd79a3affd096f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:40 + git log --format=format:%s -1 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] sh 20:11:40 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:11:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:11:41 . [Pipeline] withDockerContainer 20:11:41 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:11:41 $ docker top b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:11:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:11:41 [ssh-agent] Looking for ssh-agent implementation... 20:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:11:41 $ docker exec b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 ssh-agent 20:11:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXagfaMh/agent.14 20:11:41 SSH_AGENT_PID=20 20:11:41 Running ssh-add (command line suppressed) 20:11:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5579883274383767920.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5579883274383767920.key) 20:11:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:11:42 + git semver tag 20:11:42 # -> Open(): unable to determine branch for HEAD 20:11:42 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:11:42 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:11:42 # $SEMVER_REMOTE_NAME = origin 20:11:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:11:42 # $SEMVER_USER_NAME = edgex-jenkins 20:11:42 # $SEMVER_BRANCH = main 20:11:42 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:11:42 # 6506aa605e312cf2eda10f01423d61b781597072 HEAD 20:11:42 # -> Force: false 20:11:42 # 1ab8984ac7fa1494c7fa1d260db618212711ed66 refs/tags/v2.2.0-dev.8 [Pipeline] } 20:11:42 $ docker exec --env ******** --env ******** b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 ssh-agent -k 20:11:42 unset SSH_AUTH_SOCK; 20:11:42 unset SSH_AGENT_PID; 20:11:42 echo Agent pid 20 killed; 20:11:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:11:42 + git semver [Pipeline] } 20:11:42 $ docker stop --time=1 b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 20:11:43 $ docker rm -f b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:11:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:11:44 20:11:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:11:44 0.23.1-centos7: Pulling from edgex-lftools 20:11:44 ab5ef0e58194: Pulling fs layer 20:11:44 9712f1f96733: Pulling fs layer 20:11:44 63f879dbbcfc: Pulling fs layer 20:11:44 0d9ebad4ef96: Pulling fs layer 20:11:44 e9a5061849ea: Pulling fs layer 20:11:44 d747dcd14b5f: Pulling fs layer 20:11:44 2de7ff778b66: Pulling fs layer 20:11:44 0d9ebad4ef96: Waiting 20:11:44 e9a5061849ea: Waiting 20:11:44 d747dcd14b5f: Waiting 20:11:44 2de7ff778b66: Waiting 20:11:44 9712f1f96733: Verifying Checksum 20:11:44 9712f1f96733: Download complete 20:11:45 0d9ebad4ef96: Verifying Checksum 20:11:45 0d9ebad4ef96: Download complete 20:11:45 63f879dbbcfc: Verifying Checksum 20:11:45 63f879dbbcfc: Download complete 20:11:45 d747dcd14b5f: Verifying Checksum 20:11:45 d747dcd14b5f: Download complete 20:11:45 ab5ef0e58194: Verifying Checksum 20:11:45 ab5ef0e58194: Download complete 20:11:45 e9a5061849ea: Verifying Checksum 20:11:45 e9a5061849ea: Download complete 20:11:45 2de7ff778b66: Verifying Checksum 20:11:45 2de7ff778b66: Download complete 20:11:47 ab5ef0e58194: Pull complete 20:11:48 9712f1f96733: Pull complete 20:11:48 63f879dbbcfc: Pull complete 20:11:53 0d9ebad4ef96: Pull complete 20:11:53 e9a5061849ea: Pull complete 20:11:53 d747dcd14b5f: Pull complete 20:11:54 2de7ff778b66: Pull complete 20:11:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:11:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:11:54 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:11:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:11:57 $ docker top b056b1e4ba6a4cbadd9e3e91fed0099ad82ae1f6f7486e59127acec43856d823 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:11:57 provisioning config files... 20:11:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7038555852377379971tmp 20:11:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1186088946383864244tmp 20:11:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7749823629895429160tmp [Pipeline] { [Pipeline] echo 20:11:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:11:58 ---> sigul-configuration.sh 20:11:58 gpg: directory `/root/.gnupg' created 20:11:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:11:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:11:58 gpg: keyring `/root/.gnupg/secring.gpg' created 20:11:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:11:58 gpg: CAST5 encrypted data 20:11:58 gpg: encrypted with 1 passphrase 20:11:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:11:58 + mkdir /home/jenkins 20:11:58 + mkdir /home/jenkins/sigul [Pipeline] sh 20:11:58 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:11:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:11:58 ---> sigul-install.sh 20:11:58 Sigul already installed; skipping installation. [Pipeline] sh 20:11:59 + git tag --list 20:11:59 0.7.1 20:11:59 v1.0.0 20:11:59 v1.1.0 20:11:59 v1.1.1 20:11:59 v1.2.2 20:11:59 v1.3.0 20:11:59 v1.3.1 20:11:59 v2.0.0 20:11:59 v2.0.1-dev.1 20:11:59 v2.0.1-dev.10 20:11:59 v2.0.1-dev.11 20:11:59 v2.0.1-dev.12 20:11:59 v2.0.1-dev.13 20:11:59 v2.0.1-dev.14 20:11:59 v2.0.1-dev.15 20:11:59 v2.0.1-dev.16 20:11:59 v2.0.1-dev.17 20:11:59 v2.0.1-dev.2 20:11:59 v2.0.1-dev.3 20:11:59 v2.0.1-dev.4 20:11:59 v2.0.1-dev.5 20:11:59 v2.0.1-dev.6 20:11:59 v2.0.1-dev.7 20:11:59 v2.0.1-dev.8 20:11:59 v2.0.1-dev.9 20:11:59 v2.1.0 20:11:59 v2.2.0-dev.1 20:11:59 v2.2.0-dev.2 20:11:59 v2.2.0-dev.3 20:11:59 v2.2.0-dev.4 20:11:59 v2.2.0-dev.5 20:11:59 v2.2.0-dev.6 20:11:59 v2.2.0-dev.7 20:11:59 v2.2.0-dev.8 [Pipeline] sh 20:11:59 + lftools sign git-tag v2.2.0-dev.8 20:12:00 Signing Git tag with Sigul... 20:12:00 Signing v2.2.0-dev.8 [Pipeline] echo 20:12:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:12:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:12:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:12:00 $ docker stop --time=1 b056b1e4ba6a4cbadd9e3e91fed0099ad82ae1f6f7486e59127acec43856d823 20:12:01 $ docker rm -f b056b1e4ba6a4cbadd9e3e91fed0099ad82ae1f6f7486e59127acec43856d823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:12:02 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:12:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:12:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:12:02 . [Pipeline] withDockerContainer 20:12:02 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:12:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:12:03 $ docker top 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:12:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:03 [ssh-agent] Looking for ssh-agent implementation... 20:12:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:03 $ docker exec 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 ssh-agent 20:12:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlFcana/agent.14 20:12:03 SSH_AGENT_PID=21 20:12:03 Running ssh-add (command line suppressed) 20:12:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2786632631663378889.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2786632631663378889.key) 20:12:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:03 + git semver bump pre 20:12:03 # -> Open(): unable to determine branch for HEAD 20:12:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:12:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:12:03 # $SEMVER_REMOTE_NAME = origin 20:12:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:12:03 # $SEMVER_USER_NAME = edgex-jenkins 20:12:03 # $SEMVER_BRANCH = main 20:12:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:12:03 2.2.0-dev.9 [Pipeline] } 20:12:03 $ docker exec --env ******** --env ******** 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 ssh-agent -k 20:12:03 unset SSH_AUTH_SOCK; 20:12:03 unset SSH_AGENT_PID; 20:12:03 echo Agent pid 21 killed; 20:12:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:12:04 + git semver [Pipeline] } 20:12:04 $ docker stop --time=1 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 20:12:05 $ docker rm -f 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 [Pipeline] // withDockerContainer [Pipeline] sh 20:12:05 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:12:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:12:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:12:05 . [Pipeline] withDockerContainer 20:12:06 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:12:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:12:06 $ docker top b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:06 [ssh-agent] Looking for ssh-agent implementation... 20:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:06 $ docker exec b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 ssh-agent 20:12:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLaghma/agent.13 20:12:06 SSH_AGENT_PID=19 20:12:06 Running ssh-add (command line suppressed) 20:12:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7260837283470641607.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7260837283470641607.key) 20:12:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:07 + git semver push 20:12:07 # -> Open(): unable to determine branch for HEAD 20:12:07 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:12:07 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:12:07 # $SEMVER_REMOTE_NAME = origin 20:12:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:12:07 # $SEMVER_USER_NAME = edgex-jenkins 20:12:07 # $SEMVER_BRANCH = main 20:12:07 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 20:12:09 $ docker exec --env ******** --env ******** b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 ssh-agent -k 20:12:09 unset SSH_AUTH_SOCK; 20:12:09 unset SSH_AGENT_PID; 20:12:09 echo Agent pid 19 killed; 20:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:12:09 + git semver [Pipeline] } 20:12:09 $ docker stop --time=1 b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 20:12:10 $ docker rm -f b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:12:11 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' 20:12:11 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:12:11 total 8 20:12:11 drwxr-xr-x. 3 root root 34 Jan 20 20:04 . 20:12:11 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 20:11 .. 20:12:11 drwxr-xr-x. 2 root root 6 Jan 20 20:04 cost 20:12:11 -rw-r--r--. 1 root root 84 Jan 20 20:04 cost.csv 20:12:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:12:11 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:12:11 total 8 20:12:11 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 20:04 . 20:12:11 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 20:11 .. 20:12:11 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 20:04 cost 20:12:11 -rw-r--r--. 1 jenkins jenkins 84 Jan 20 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:12:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:12:12 ---> package-listing.sh 20:12:12 ++ facter osfamily 20:12:12 ++ tr '[:upper:]' '[:lower:]' 20:12:12 + OS_FAMILY=redhat 20:12:12 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 20:12:12 + START_PACKAGES=/tmp/packages_start.txt 20:12:12 + END_PACKAGES=/tmp/packages_end.txt 20:12:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:12:12 + PACKAGES=/tmp/packages_start.txt 20:12:12 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:12:12 + PACKAGES=/tmp/packages_end.txt 20:12:12 + case "${OS_FAMILY}" in 20:12:12 + rpm -qa 20:12:12 + sort 20:12:12 + '[' -f /tmp/packages_start.txt ']' 20:12:12 + '[' -f /tmp/packages_end.txt ']' 20:12:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:12:12 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:12:12 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 20:12:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 20:12:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:12:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:12:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:13 . [Pipeline] withDockerContainer 20:12:13 prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container 20:12:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:12:14 $ docker top 70c021b377b7af3ed8d8903c800ff63a3dbe7ab52550cb4cd7d655326e9e4230 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:14 + touch /tmp/pre-build-complete [Pipeline] sh 20:12:14 + mkdir -p /var/log/sysstat [Pipeline] sh 20:12:14 + ls /var/log/sa-host 20:12:14 + sadf -c /var/log/sa-host/sa17 20:12:14 file_magic: OK 20:12:14 HZ: Using current value: 100 20:12:14 file_header: OK 20:12:14 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:12:14 Statistics: 20:12:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:12:14 File successfully converted to sysstat format version 12.0.3 20:12:14 + sadf -c /var/log/sa-host/sa20 20:12:14 file_magic: OK 20:12:14 HZ: Using current value: 100 20:12:14 file_header: OK 20:12:14 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:12:14 Statistics: 20:12:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:12:14 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:15 provisioning config files... 20:12:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config500214218337202083tmp [Pipeline] { [Pipeline] echo 20:12:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:12:15 ---> create-netrc.sh [Pipeline] } 20:12:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:12:15 ---> python-tools-install.sh [Pipeline] echo 20:12:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:12:15 ---> sudo-logs.sh 20:12:15 Archiving 'sudo' log.. 20:12:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-3544.novalocal: Name or service not known 20:12:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-3544.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:12:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:12:16 ---> job-cost.sh 20:12:16 lf-activate-venv: SKIPPING 20:12:16 DEBUG: total: 0.05999999865889549 20:12:16 INFO: Retrieving Stack Cost... 20:12:16 INFO: Retrieving Pricing Info for: v3-standard-2 20:12:17 INFO: Archiving Costs [Pipeline] echo 20:12:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:12:17 ---> logs-deploy.sh 20:12:17 lf-activate-venv: SKIPPING 20:12:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/29 20:12:17 INFO: archiving workspace using pattern(s): 20:12:17 Archives upload complete. 20:12:18 INFO: archiving logs to Nexus