Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cac5c8aff02eeff20ea0733b686feb688efb88bb 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-ssh11032173496458311016.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh14180562586893199188.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7473396255235945194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh2085409266627382118.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh802148752899274912.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23624 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision cac5c8aff02eeff20ea0733b686feb688efb88bb (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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 Commit message: "feat(snap): use updated environment variable injection (#365)" > git rev-list --no-walk 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:41:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:41:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:41:55 ========================================================= 15:41:55 EdgeX Global Pipelines Version Info 15:41:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:41:56 ------------------- 15:41:56 stable info: 15:41:56 ------------------- 15:41:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:41:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:41:56 Message: update stable to v1.0.221 15:41:57 ------------------- 15:41:57 experimental info: 15:41:57 ------------------- 15:41:57 Commited By: Emilio Reyes emilio.reyes@intel.com 15:41:57 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:41:57 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cac5c8a [Pipeline] echo 15:41:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:57 provisioning config files... 15:41:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config132280718875797514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:58 ---> docker-login.sh 15:41:58 nexus3.edgexfoundry.org:10001 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 nexus3.edgexfoundry.org:10002 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 nexus3.edgexfoundry.org:10003 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 nexus3.edgexfoundry.org:10004 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 docker.io 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:59 Configure a credential helper to remove this warning. See 15:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:59 15:41:59 Login Succeeded 15:41:59 ---> docker-login.sh ends [Pipeline] } 15:41:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:41:59 + git rev-list -1 --merges cac5c8aff02eeff20ea0733b686feb688efb88bb~1..cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo 15:42:00 -----------> git rev-list -1 --merges cac5c8aff02eeff20ea0733b686feb688efb88bb~1..cac5c8aff02eeff20ea0733b686feb688efb88bb cac5c8aff02eeff20ea0733b686feb688efb88bb [false] [Pipeline] sh 15:42:00 + git log --format=format:%s -1 cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo 15:42:00 ========================================================= 15:42:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:42:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:00 + git log --format=format:%s -1 cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo 15:42:00 [semverPrep] GIT_COMMIT: cac5c8aff02eeff20ea0733b686feb688efb88bb, Commit Message: feat(snap): use updated environment variable injection (#365) [Pipeline] echo 15:42:00 [semverPrep] This is not a build commit. [Pipeline] sh 15:42:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:42:01 + grep -v github /etc/ssh/ssh_known_hosts 15:42:01 + [ -e /tmp/ssh_known_hosts ] 15:42:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:42:01 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:42:01 sudo tee -a /etc/ssh/ssh_known_hosts 15:42:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:42:01 15:42:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:42:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:42:01 latest: Pulling from edgex-devops/git-semver 15:42:01 a0d0a0d46f8b: Pulling fs layer 15:42:01 3e5f54012d9b: Pulling fs layer 15:42:01 4c7163046ea9: Pulling fs layer 15:42:01 0c2d73faf560: Pulling fs layer 15:42:01 0c2d73faf560: Waiting 15:42:01 3e5f54012d9b: Verifying Checksum 15:42:01 3e5f54012d9b: Download complete 15:42:01 a0d0a0d46f8b: Download complete 15:42:01 0c2d73faf560: Verifying Checksum 15:42:01 0c2d73faf560: Download complete 15:42:02 4c7163046ea9: Verifying Checksum 15:42:02 4c7163046ea9: Download complete 15:42:02 a0d0a0d46f8b: Pull complete 15:42:02 3e5f54012d9b: Pull complete 15:42:02 4c7163046ea9: Pull complete 15:42:02 0c2d73faf560: Pull complete 15:42:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:42:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:42:02 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 15:42: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:42:03 $ docker top c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:42:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:03 [ssh-agent] Looking for ssh-agent implementation... 15:42:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:04 $ docker exec c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent 15:42:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOGppbc/agent.14 15:42:04 SSH_AGENT_PID=20 15:42:04 Running ssh-add (command line suppressed) 15:42:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1014928601548869083.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1014928601548869083.key) 15:42:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:04 + git tag --points-at HEAD [Pipeline] } 15:42:04 $ docker exec --env ******** --env ******** c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent -k 15:42:04 unset SSH_AUTH_SOCK; 15:42:04 unset SSH_AGENT_PID; 15:42:04 echo Agent pid 20 killed; 15:42:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:42:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:04 [ssh-agent] Looking for ssh-agent implementation... 15:42:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:04 $ docker exec c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent 15:42:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPafOEf/agent.53 15:42:05 SSH_AGENT_PID=59 15:42:05 Running ssh-add (command line suppressed) 15:42:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7803685135009585291.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7803685135009585291.key) 15:42:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:05 + git semver init 15:42:05 # -> Open(): unable to determine branch for HEAD 15:42:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 15:42:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 15:42:05 # $SEMVER_REMOTE_NAME = origin 15:42:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:42:05 # $SEMVER_USER_NAME = edgex-jenkins 15:42:05 # $SEMVER_BRANCH = main 15:42:05 # $SEMVER_TEMP = /tmp/semver-610821073 15:42:05 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 15:42:06 # '/tmp/semver-610821073' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 15:42:06 # -> Force: false 15:42:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 15:42:06 $ docker exec --env ******** --env ******** c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent -k 15:42:06 unset SSH_AUTH_SOCK; 15:42:06 unset SSH_AGENT_PID; 15:42:06 echo Agent pid 59 killed; 15:42:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:42:06 + git semver [Pipeline] } 15:42:06 $ docker stop --time=1 c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 15:42:08 $ docker rm -f c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 [Pipeline] // withDockerContainer [Pipeline] sh 15:42:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:42:09 Stashed 1 file(s) [Pipeline] echo 15:42:09 [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [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 15:42:09 provisioning config files... 15:42:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3724105352448676372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:09 ---> docker-login.sh 15:42:09 nexus3.edgexfoundry.org:10001 15:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:09 Configure a credential helper to remove this warning. See 15:42:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:09 15:42:09 Login Succeeded 15:42:09 nexus3.edgexfoundry.org:10002 15:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10003 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10004 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 docker.io 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 ---> docker-login.sh ends [Pipeline] } 15:42:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:11 ========================================================= 15:42:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:42:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:42:11 + 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 . 15:42:11 Sending build context to Docker daemon 5.817MB 15:42:11 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:42:11 Step 2/12 : FROM ${BASE} AS builder 15:42:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:42:11 59bf1c3509f3: Pulling fs layer 15:42:11 666ba61612fd: Pulling fs layer 15:42:11 8ed8ca486205: Pulling fs layer 15:42:11 4fe6c5a15a65: Pulling fs layer 15:42:11 22a0e8bec74d: Pulling fs layer 15:42:11 ca2b28591e48: Pulling fs layer 15:42:11 a51346096db8: Pulling fs layer 15:42:11 daebc70d1ce1: Pulling fs layer 15:42:11 0e18a0eac166: Pulling fs layer 15:42:11 a51346096db8: Waiting 15:42:11 0e18a0eac166: Waiting 15:42:11 daebc70d1ce1: Waiting 15:42:11 4fe6c5a15a65: Waiting 15:42:11 ca2b28591e48: Waiting 15:42:11 8ed8ca486205: Verifying Checksum 15:42:11 8ed8ca486205: Download complete 15:42:11 666ba61612fd: Verifying Checksum 15:42:11 666ba61612fd: Download complete 15:42:11 22a0e8bec74d: Verifying Checksum 15:42:11 22a0e8bec74d: Download complete 15:42:11 ca2b28591e48: Download complete 15:42:11 59bf1c3509f3: Verifying Checksum 15:42:11 59bf1c3509f3: Download complete 15:42:11 a51346096db8: Download complete 15:42:11 daebc70d1ce1: Verifying Checksum 15:42:11 daebc70d1ce1: Download complete 15:42:11 59bf1c3509f3: Pull complete 15:42:11 666ba61612fd: Pull complete 15:42:12 8ed8ca486205: Pull complete 15:42:12 0e18a0eac166: Verifying Checksum 15:42:12 0e18a0eac166: Download complete 15:42:12 4fe6c5a15a65: Verifying Checksum 15:42:12 4fe6c5a15a65: Download complete 15:42:16 4fe6c5a15a65: Pull complete 15:42:16 22a0e8bec74d: Pull complete 15:42:16 ca2b28591e48: Pull complete 15:42:16 a51346096db8: Pull complete 15:42:17 daebc70d1ce1: Pull complete 15:42:19 0e18a0eac166: Pull complete 15:42:19 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:42:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:42:19 ---> f018257e8ee9 15:42:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:42:21 ---> Running in f9d6f2298a4c 15:42:21 Removing intermediate container f9d6f2298a4c 15:42:21 ---> ae21a680676c 15:42:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:42:21 ---> Running in 469dcb01e8de 15:42:21 Removing intermediate container 469dcb01e8de 15:42:21 ---> b307dc49ce6b 15:42:21 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:21 ---> Running in ca74c801156c 15:42:22 Removing intermediate container ca74c801156c 15:42:22 ---> d3955d09d748 15:42:22 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:22 ---> Running in fd819af01e16 15:42:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:42:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:42:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:42:23 (2/4) Installing libedit (20210910.3.1-r0) 15:42:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:42:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:42:24 Executing busybox-1.34.1-r3.trigger 15:42:24 OK: 224 MiB in 56 packages 15:42:24 Still waiting to schedule task 15:42:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:42:24 Removing intermediate container fd819af01e16 15:42:24 ---> 9a20a6145a28 15:42:24 Step 7/12 : WORKDIR /device-mqtt-go 15:42:24 ---> Running in 60c1d8f76b5a 15:42:24 Removing intermediate container 60c1d8f76b5a 15:42:24 ---> 1cb61aac0082 15:42:24 Step 8/12 : COPY go.mod vendor* ./ 15:42:25 ---> 18646313e7dd 15:42:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:25 ---> Running in 46da01e87639 15:42:39 Removing intermediate container 46da01e87639 15:42:39 ---> 56978f163cf8 15:42:39 Step 10/12 : COPY . . 15:42:39 ---> 18878e6c3705 15:42:39 Step 11/12 : ARG MAKE='make build' 15:42:40 ---> Running in 2e99bb16a942 15:42:40 Removing intermediate container 2e99bb16a942 15:42:40 ---> 6326051bec75 15:42:40 Step 12/12 : RUN $MAKE 15:42:40 ---> Running in cdb0c162c27a 15:42:40 noop 15:42:41 Removing intermediate container cdb0c162c27a 15:42:41 ---> b6743b48b8c8 15:42:41 Successfully built b6743b48b8c8 15:42:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:42:41 + docker inspect -f . ci-base-image-x86_64 15:42:41 . [Pipeline] withDockerContainer 15:42:41 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 15:42:41 $ 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 ******** -e ******** ci-base-image-x86_64 cat 15:42:41 $ docker top 4feb9c56e7f08e86708c7e8eac7d5911904418de3c71c42f2eb2e9003278bfbc -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:42 + go version 15:42:42 go version go1.17.6 linux/amd64 [Pipeline] } 15:42:42 $ docker stop --time=1 4feb9c56e7f08e86708c7e8eac7d5911904418de3c71c42f2eb2e9003278bfbc 15:42:43 $ docker rm -f 4feb9c56e7f08e86708c7e8eac7d5911904418de3c71c42f2eb2e9003278bfbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:42:44 + docker inspect -f . ci-base-image-x86_64 15:42:44 . [Pipeline] withDockerContainer 15:42:44 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 15:42:44 $ 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 ******** -e ******** ci-base-image-x86_64 cat 15:42:44 $ docker top 71240b9b3fb94871aec91af1ea482339e5059bbd4e7711440871c6c07a4d919d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:42:44 + make test 15:42:44 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:42:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:42:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:42:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 15:42:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:43:01 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:43:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:05 ./bin/test-attribution-txt.sh [Pipeline] echo 15:43:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:05 $ docker stop --time=1 71240b9b3fb94871aec91af1ea482339e5059bbd4e7711440871c6c07a4d919d 15:43:07 $ docker rm -f 71240b9b3fb94871aec91af1ea482339e5059bbd4e7711440871c6c07a4d919d [Pipeline] // withDockerContainer [Pipeline] sh 15:43:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:43:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:08 + ls -al . 15:43:08 total 176 15:43:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 15:43 . 15:43:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:41 .. 15:43:08 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 15:41 .dockerignore 15:43:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:41 .git 15:43:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:41 .github 15:43:08 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 15:41 .gitignore 15:43:08 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:41 .golangci.yml 15:43:08 drwx------ 3 jenkins jenkins 4096 Apr 26 15:42 .semver 15:43:08 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 15:41 Attribution.txt 15:43:08 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 15:41 CHANGELOG.md 15:43:08 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:41 Dockerfile 15:43:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:41 GOVERNANCE.md 15:43:08 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 15:41 Jenkinsfile 15:43:08 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:41 LICENSE 15:43:08 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:41 Makefile 15:43:08 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 15:41 OWNERS.md 15:43:08 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 15:41 README.md 15:43:08 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:42 VERSION 15:43:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:41 bin 15:43:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:41 cmd 15:43:08 -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 15:42 coverage.out 15:43:08 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 15:41 go.mod 15:43:08 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 15:41 go.sum 15:43:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:41 internal 15:43:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:41 mock 15:43:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:41 snap 15:43:08 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 15:41 version.go [Pipeline] isUnix [Pipeline] sh 15:43:09 + 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=cac5c8aff02eeff20ea0733b686feb688efb88bb --label arch=amd64 --label version=2.2.0-dev.16 . 15:43:09 Sending build context to Docker daemon 5.836MB 15:43:09 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:43:09 Step 2/24 : FROM ${BASE} AS builder 15:43:09 ---> b6743b48b8c8 15:43:09 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:43:09 ---> Running in f54ed5290a50 15:43:09 Removing intermediate container f54ed5290a50 15:43:09 ---> 49698cce7e4e 15:43:09 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 15:43:09 ---> Running in 4dc128fd93eb 15:43:09 Removing intermediate container 4dc128fd93eb 15:43:09 ---> 669569b2c0d5 15:43:09 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:09 ---> Running in 44dfea96c177 15:43:10 Removing intermediate container 44dfea96c177 15:43:10 ---> 80db97671bce 15:43:10 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:10 ---> Running in 370df889e3a6 15:43:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:43:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:43:11 OK: 224 MiB in 56 packages 15:43:12 Removing intermediate container 370df889e3a6 15:43:12 ---> 4268a066a679 15:43:12 Step 7/24 : WORKDIR /device-mqtt-go 15:43:12 ---> Running in 81e0309cedad 15:43:12 Removing intermediate container 81e0309cedad 15:43:12 ---> f4e55508d0c2 15:43:12 Step 8/24 : COPY go.mod vendor* ./ 15:43:12 ---> bd9013e9d6a4 15:43:12 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:12 ---> Running in b979ef23dd6b 15:43:13 Removing intermediate container b979ef23dd6b 15:43:13 ---> 22ffd7ff8e9a 15:43:13 Step 10/24 : COPY . . 15:43:13 ---> 59d4088e60ca 15:43:13 Step 11/24 : ARG MAKE='make build' 15:43:13 ---> Running in bccb3779b760 15:43:13 Removing intermediate container bccb3779b760 15:43:13 ---> 185b25d00a96 15:43:13 Step 12/24 : RUN $MAKE 15:43:13 ---> Running in 9b807a284351 15:43:13 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 15:43:35 Removing intermediate container 9b807a284351 15:43:35 ---> 185628d9d9a2 15:43:35 Step 13/24 : FROM alpine:3.14 15:43:35 3.14: Pulling from library/alpine 15:43:36 8663204ce13b: Pulling fs layer 15:43:36 8663204ce13b: Verifying Checksum 15:43:36 8663204ce13b: Download complete 15:43:36 8663204ce13b: Pull complete 15:43:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:43:36 Status: Downloaded newer image for alpine:3.14 15:43:36 ---> e04c818066af 15:43:36 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:43:36 ---> Running in 30d181fd929b 15:43:36 Removing intermediate container 30d181fd929b 15:43:36 ---> 098d16fd0c4d 15:43:36 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:43:36 ---> Running in 9be30c768165 15:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:43:37 (1/6) Installing dumb-init (1.2.5-r1) 15:43:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:43:37 (3/6) Installing libsodium (1.0.18-r0) 15:43:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:43:37 (5/6) Installing libzmq (4.3.4-r0) 15:43:37 (6/6) Installing zeromq (4.3.4-r0) 15:43:37 Executing busybox-1.33.1-r7.trigger 15:43:37 OK: 8 MiB in 20 packages 15:43:37 Removing intermediate container 9be30c768165 15:43:37 ---> b7c78a22b74a 15:43:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:43:38 ---> f3a490053f98 15:43:38 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:43:38 ---> 249ffc6f45ea 15:43:38 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:43:38 ---> 0c93a46bfbec 15:43:38 Step 19/24 : EXPOSE 59982 15:43:38 ---> Running in c0253bd1b3c8 15:43:38 Removing intermediate container c0253bd1b3c8 15:43:38 ---> 933e914d81e7 15:43:38 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:43:38 ---> Running in 77c13f7d6c12 15:43:39 Removing intermediate container 77c13f7d6c12 15:43:39 ---> 3f647faf07b8 15:43:39 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:43:39 ---> Running in 352c7eeee07b 15:43:39 Removing intermediate container 352c7eeee07b 15:43:39 ---> a75d63263d84 15:43:39 Step 22/24 : LABEL arch=amd64 15:43:39 ---> Running in 66f664249517 15:43:39 Removing intermediate container 66f664249517 15:43:39 ---> 71971e6a61d8 15:43:39 Step 23/24 : LABEL git_sha=cac5c8aff02eeff20ea0733b686feb688efb88bb 15:43:40 ---> Running in 5157399d8068 15:43:41 Removing intermediate container 5157399d8068 15:43:41 ---> 1b1584746f1e 15:43:41 Step 24/24 : LABEL version=2.2.0-dev.16 15:43:41 ---> Running in df5fd486fb45 15:43:41 Removing intermediate container df5fd486fb45 15:43:41 ---> 9dbd2d39276f 15:43:41 [Warning] One or more build-args [ARCH] were not consumed 15:43:41 Successfully built 9dbd2d39276f 15:43:41 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:41 provisioning config files... 15:43:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2160578255548123763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:42 ---> docker-login.sh 15:43:42 nexus3.edgexfoundry.org:10001 15:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:42 Configure a credential helper to remove this warning. See 15:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:42 15:43:42 Login Succeeded 15:43:42 nexus3.edgexfoundry.org:10002 15:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:42 Configure a credential helper to remove this warning. See 15:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:42 15:43:42 Login Succeeded 15:43:42 nexus3.edgexfoundry.org:10003 15:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:42 Configure a credential helper to remove this warning. See 15:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:42 15:43:42 Login Succeeded 15:43:42 nexus3.edgexfoundry.org:10004 15:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:42 Configure a credential helper to remove this warning. See 15:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:42 15:43:42 Login Succeeded 15:43:42 docker.io 15:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:42 Configure a credential helper to remove this warning. See 15:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:42 15:43:42 Login Succeeded 15:43:42 ---> docker-login.sh ends [Pipeline] } 15:43:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:43:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:43:43 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 15:43:43 cac5c8aff02eeff20ea0733b686feb688efb88bb 15:43:43 latest 15:43:43 2.2.0-dev.16 15:43:43 cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 15:43:43 main 15:43:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] isUnix [Pipeline] sh 15:43:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb 15:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:43:43 4f57038990e8: Preparing 15:43:43 2bdfe7688793: Preparing 15:43:43 88ef34596cdf: Preparing 15:43:43 1120287ef5a4: Preparing 15:43:43 b541d28bf3b4: Preparing 15:43:43 b541d28bf3b4: Layer already exists 15:43:43 2bdfe7688793: Pushed 15:43:43 4f57038990e8: Pushed 15:43:43 1120287ef5a4: Pushed 15:43:46 88ef34596cdf: Pushed 15:43:46 cac5c8aff02eeff20ea0733b686feb688efb88bb: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:43:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 15:43:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:43:47 4f57038990e8: Preparing 15:43:47 2bdfe7688793: Preparing 15:43:47 88ef34596cdf: Preparing 15:43:47 1120287ef5a4: Preparing 15:43:47 b541d28bf3b4: Preparing 15:43:47 2bdfe7688793: Layer already exists 15:43:47 4f57038990e8: Layer already exists 15:43:47 b541d28bf3b4: Layer already exists 15:43:47 1120287ef5a4: Layer already exists 15:43:47 88ef34596cdf: Layer already exists 15:43:47 latest: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:43:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 15:43:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.16 15:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:43:47 4f57038990e8: Preparing 15:43:47 2bdfe7688793: Preparing 15:43:47 88ef34596cdf: Preparing 15:43:47 1120287ef5a4: Preparing 15:43:47 b541d28bf3b4: Preparing 15:43:47 1120287ef5a4: Layer already exists 15:43:47 4f57038990e8: Layer already exists 15:43:47 b541d28bf3b4: Layer already exists 15:43:47 2bdfe7688793: Layer already exists 15:43:47 88ef34596cdf: Layer already exists 15:43:47 2.2.0-dev.16: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:43:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 15:43:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 15:43:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:43:48 4f57038990e8: Preparing 15:43:48 2bdfe7688793: Preparing 15:43:48 88ef34596cdf: Preparing 15:43:48 1120287ef5a4: Preparing 15:43:48 b541d28bf3b4: Preparing 15:43:48 b541d28bf3b4: Layer already exists 15:43:48 1120287ef5a4: Layer already exists 15:43:48 88ef34596cdf: Layer already exists 15:43:48 4f57038990e8: Layer already exists 15:43:48 2bdfe7688793: Layer already exists 15:43:48 cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:43:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 15:43:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 15:43:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:43:48 4f57038990e8: Preparing 15:43:48 2bdfe7688793: Preparing 15:43:48 88ef34596cdf: Preparing 15:43:48 1120287ef5a4: Preparing 15:43:48 b541d28bf3b4: Preparing 15:43:48 88ef34596cdf: Layer already exists 15:43:48 1120287ef5a4: Layer already exists 15:43:48 4f57038990e8: Layer already exists 15:43:48 2bdfe7688793: Layer already exists 15:43:48 b541d28bf3b4: Layer already exists 15:43:48 main: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:43:49 ===================================================== [Pipeline] echo 15:43:49 taggedImages: 15:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb 15:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.16 15:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 15:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:49 15:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:49 latest: Pulling from edgex-lftools-log-publisher 15:43:49 5eb5b503b376: Pulling fs layer 15:43:49 5c69ac0246d0: Pulling fs layer 15:43:49 ec43610c2a17: Pulling fs layer 15:43:49 3a2ae6a8a46f: Pulling fs layer 15:43:49 33b1e0a273af: Pulling fs layer 15:43:49 5d3b04190fa2: Pulling fs layer 15:43:49 2f39f015ded8: Pulling fs layer 15:43:49 3a2ae6a8a46f: Waiting 15:43:49 33b1e0a273af: Waiting 15:43:49 5d3b04190fa2: Waiting 15:43:49 2f39f015ded8: Waiting 15:43:49 5c69ac0246d0: Verifying Checksum 15:43:49 5c69ac0246d0: Download complete 15:43:49 3a2ae6a8a46f: Verifying Checksum 15:43:49 3a2ae6a8a46f: Download complete 15:43:49 33b1e0a273af: Verifying Checksum 15:43:49 33b1e0a273af: Download complete 15:43:49 5d3b04190fa2: Download complete 15:43:49 ec43610c2a17: Verifying Checksum 15:43:49 ec43610c2a17: Download complete 15:43:49 5eb5b503b376: Verifying Checksum 15:43:49 5eb5b503b376: Download complete 15:43:50 2f39f015ded8: Verifying Checksum 15:43:50 2f39f015ded8: Download complete 15:43:51 5eb5b503b376: Pull complete 15:43:51 5c69ac0246d0: Pull complete 15:43:51 ec43610c2a17: Pull complete 15:43:52 3a2ae6a8a46f: Pull complete 15:43:52 33b1e0a273af: Pull complete 15:43:52 5d3b04190fa2: Pull complete 15:43:56 2f39f015ded8: Pull complete 15:43:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:43:56 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 15:43:56 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:43:59 $ docker top 2cd72d8ff5a066747e5f6fbd1fb7c5b612e6c648f65ca77aa801746953c2310f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:59 ---> job-cost.sh 15:43:59 lf-activate-venv: SKIPPING 15:43:59 INFO: No Stack... 15:43:59 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:00 INFO: Archiving Costs [Pipeline] sh 15:44:00 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 15:44:00 + cut -d, -f6 [Pipeline] lock 15:44:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] 15:44:00 Resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] did not exist. Created. 15:44:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:44:01 + echo total: 0.2199999988079071 [Pipeline] stash 15:44:01 Stashed 1 file(s) [Pipeline] } 15:44:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 15:44:01 $ docker stop --time=1 2cd72d8ff5a066747e5f6fbd1fb7c5b612e6c648f65ca77aa801746953c2310f 15:44:02 $ docker rm -f 2cd72d8ff5a066747e5f6fbd1fb7c5b612e6c648f65ca77aa801746953c2310f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:14:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26953 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 16:14:37 Running in /w/workspace/device-mqtt-go/37 [Pipeline] { [Pipeline] checkout 16:14:37 Selected Git installation does not exist. Using Default 16:14:37 The recommended git tool is: NONE 16:14:45 using credential edgex-jenkins-ssh 16:14:45 Cloning the remote Git repository 16:14:45 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:14:45 > git init /w/workspace/device-mqtt-go/37 # timeout=10 16:14:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:14:45 > git --version # timeout=10 16:14:45 > git --version # 'git version 2.25.1' 16:14:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:47 Avoid second fetch 16:14:47 Checking out Revision cac5c8aff02eeff20ea0733b686feb688efb88bb (main) 16:14:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:14:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:47 > git config core.sparsecheckout # timeout=10 16:14:47 > git checkout -f cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 16:14:51 Commit message: "feat(snap): use updated environment variable injection (#365)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:14:52 % Total % Received % Xferd Average Speed Time Time Time Current 16:14:52 Dload Upload Total Spent Left Speed 16:14:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93992 0 --:--:-- --:--:-- --:--:-- 93992 [Pipeline] sh 16:14:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:14:53 + sudo tee /etc/docker/daemon.new 16:14:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:14:53 { 16:14:53 "registry-mirrors": [ 16:14:53 "https://nexus3.edgexfoundry.org:10001" 16:14:53 ], 16:14:53 "bip": "10.250.0.254/24", 16:14:53 "hosts": [ 16:14:53 "tcp://0.0.0.0:5555", 16:14:53 "unix:///var/run/docker.sock" 16:14:53 ], 16:14:53 "mtu": 1458, 16:14:53 "selinux-enabled": true, 16:14:53 "seccomp-profile": "/etc/docker/seccomp.json" 16:14:53 } [Pipeline] sh 16:14:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:14:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:12 provisioning config files... 16:15:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/37@tmp/config2084052066022972363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:13 ---> docker-login.sh 16:15:13 nexus3.edgexfoundry.org:10001 16:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:13 Configure a credential helper to remove this warning. See 16:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:13 16:15:13 Login Succeeded 16:15:13 nexus3.edgexfoundry.org:10002 16:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:14 Configure a credential helper to remove this warning. See 16:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:14 16:15:14 Login Succeeded 16:15:14 nexus3.edgexfoundry.org:10003 16:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:14 Configure a credential helper to remove this warning. See 16:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:14 16:15:14 Login Succeeded 16:15:14 nexus3.edgexfoundry.org:10004 16:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:15 Configure a credential helper to remove this warning. See 16:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:15 16:15:15 Login Succeeded 16:15:15 docker.io 16:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:16 Configure a credential helper to remove this warning. See 16:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:16 16:15:16 Login Succeeded 16:15:16 ---> docker-login.sh ends [Pipeline] } 16:15:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:16 ========================================================= 16:15:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:15:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:15:17 + 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 . 16:15:17 Sending build context to Docker daemon 3.037MB 16:15:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:15:17 Step 2/12 : FROM ${BASE} AS builder 16:15:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:15:17 9b3977197b4f: Pulling fs layer 16:15:17 1a89e8eeedd5: Pulling fs layer 16:15:17 94645a83ff95: Pulling fs layer 16:15:17 3f3a8bcf1eab: Pulling fs layer 16:15:17 0c92f367c5e7: Pulling fs layer 16:15:17 3096ccb668a1: Pulling fs layer 16:15:17 e8cf19c19ddd: Pulling fs layer 16:15:17 a4caa8a26152: Pulling fs layer 16:15:17 3f3a8bcf1eab: Waiting 16:15:17 0c92f367c5e7: Waiting 16:15:17 3096ccb668a1: Waiting 16:15:17 e8cf19c19ddd: Waiting 16:15:17 a4caa8a26152: Waiting 16:15:17 94645a83ff95: Verifying Checksum 16:15:17 94645a83ff95: Download complete 16:15:17 1a89e8eeedd5: Verifying Checksum 16:15:17 1a89e8eeedd5: Download complete 16:15:17 0c92f367c5e7: Verifying Checksum 16:15:17 0c92f367c5e7: Download complete 16:15:17 3096ccb668a1: Verifying Checksum 16:15:17 3096ccb668a1: Download complete 16:15:17 9b3977197b4f: Verifying Checksum 16:15:17 9b3977197b4f: Download complete 16:15:18 e8cf19c19ddd: Verifying Checksum 16:15:18 e8cf19c19ddd: Download complete 16:15:18 9b3977197b4f: Pull complete 16:15:19 1a89e8eeedd5: Pull complete 16:15:19 94645a83ff95: Pull complete 16:15:19 a4caa8a26152: Verifying Checksum 16:15:19 a4caa8a26152: Download complete 16:15:20 3f3a8bcf1eab: Verifying Checksum 16:15:20 3f3a8bcf1eab: Download complete 16:15:32 3f3a8bcf1eab: Pull complete 16:15:32 0c92f367c5e7: Pull complete 16:15:32 3096ccb668a1: Pull complete 16:15:33 e8cf19c19ddd: Pull complete 16:15:39 a4caa8a26152: Pull complete 16:15:39 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:15:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:15:39 ---> 725f1c02e7f9 16:15:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:15:41 ---> Running in 85c78a45fe3c 16:15:41 Removing intermediate container 85c78a45fe3c 16:15:41 ---> d417117a057a 16:15:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:15:41 ---> Running in 8042084f01d0 16:15:41 Removing intermediate container 8042084f01d0 16:15:41 ---> 54b333cca204 16:15:41 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:15:41 ---> Running in 75f762c85a3e 16:15:43 Removing intermediate container 75f762c85a3e 16:15:43 ---> 731eeff3762f 16:15:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:15:43 ---> Running in 1f702b25d646 16:15:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:15:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:15:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:15:46 (2/4) Installing libedit (20210910.3.1-r0) 16:15:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:15:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:15:46 Executing busybox-1.34.1-r3.trigger 16:15:46 OK: 224 MiB in 56 packages 16:15:47 Removing intermediate container 1f702b25d646 16:15:47 ---> a375f15a16b1 16:15:47 Step 7/12 : WORKDIR /device-mqtt-go 16:15:47 ---> Running in 86d344deeacf 16:15:47 Removing intermediate container 86d344deeacf 16:15:47 ---> 0cc566a405ff 16:15:47 Step 8/12 : COPY go.mod vendor* ./ 16:15:48 ---> 074a93b5d027 16:15:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:48 ---> Running in e22a9a637af4 16:16:35 Removing intermediate container e22a9a637af4 16:16:35 ---> 48dd964bf501 16:16:35 Step 10/12 : COPY . . 16:16:35 ---> 1440666722ca 16:16:35 Step 11/12 : ARG MAKE='make build' 16:16:35 ---> Running in 03697ce58abc 16:16:35 Removing intermediate container 03697ce58abc 16:16:35 ---> 1d889d98fda2 16:16:35 Step 12/12 : RUN $MAKE 16:16:36 ---> Running in 40eec257970b 16:16:37 noop 16:16:37 Removing intermediate container 40eec257970b 16:16:37 ---> 7b6e19d35819 16:16:37 Successfully built 7b6e19d35819 16:16:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:16:37 + docker inspect -f . ci-base-image-arm64 16:16:37 . [Pipeline] withDockerContainer 16:16:38 prd-ubuntu20.04-docker-arm64-4c-16g-26953 does not seem to be running inside a container 16:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/37 -v /w/workspace/device-mqtt-go/37:/w/workspace/device-mqtt-go/37:rw,z -v /w/workspace/device-mqtt-go/37@tmp:/w/workspace/device-mqtt-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:16:39 $ docker top b1701caf8ad5c37e96278f50914d9a5ac4daeddac289c49d543a091a56956f2f -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:40 + go version 16:16:40 go version go1.17.6 linux/arm64 [Pipeline] } 16:16:40 $ docker stop --time=1 b1701caf8ad5c37e96278f50914d9a5ac4daeddac289c49d543a091a56956f2f 16:16:42 $ docker rm -f b1701caf8ad5c37e96278f50914d9a5ac4daeddac289c49d543a091a56956f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:16:42 + docker inspect -f . ci-base-image-arm64 16:16:42 . [Pipeline] withDockerContainer 16:16:42 prd-ubuntu20.04-docker-arm64-4c-16g-26953 does not seem to be running inside a container 16:16:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/37 -v /w/workspace/device-mqtt-go/37:/w/workspace/device-mqtt-go/37:rw,z -v /w/workspace/device-mqtt-go/37@tmp:/w/workspace/device-mqtt-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:16:44 $ docker top 5b65deb597c2cd3d40730e04f2ac1295f1a781bb4a17afc605b6cd2666a34609 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:16:45 + make test 16:16:45 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:16:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:18:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:18:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 16:18:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:18:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:18:08 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:18:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:18:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:18:26 ./bin/test-attribution-txt.sh [Pipeline] echo 16:18:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:18:30 $ docker stop --time=1 5b65deb597c2cd3d40730e04f2ac1295f1a781bb4a17afc605b6cd2666a34609 16:18:31 $ docker rm -f 5b65deb597c2cd3d40730e04f2ac1295f1a781bb4a17afc605b6cd2666a34609 [Pipeline] // withDockerContainer [Pipeline] sh 16:18:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:18:32 Warning: overwriting stash ‘coverage-report’ 16:18:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:18:34 + ls -al . 16:18:34 total 172 16:18:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:18 . 16:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:14 .. 16:18:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 16:14 .dockerignore 16:18:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:14 .git 16:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:14 .github 16:18:34 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 16:14 .gitignore 16:18:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:14 .golangci.yml 16:18:34 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 16:14 Attribution.txt 16:18:34 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 16:14 CHANGELOG.md 16:18:34 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:14 Dockerfile 16:18:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:14 GOVERNANCE.md 16:18:34 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 16:14 Jenkinsfile 16:18:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:14 LICENSE 16:18:34 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:14 Makefile 16:18:34 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:14 OWNERS.md 16:18:34 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 16:14 README.md 16:18:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:42 VERSION 16:18:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:14 bin 16:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:14 cmd 16:18:34 -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 16:18 coverage.out 16:18:34 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 16:14 go.mod 16:18:34 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 16:14 go.sum 16:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:14 internal 16:18:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:14 mock 16:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:14 snap 16:18:34 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 16:14 version.go [Pipeline] isUnix [Pipeline] sh 16:18:34 + 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=cac5c8aff02eeff20ea0733b686feb688efb88bb --label arch=arm64 --label version=2.2.0-dev.16 . 16:18:34 Sending build context to Docker daemon 3.056MB 16:18:34 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:18:34 Step 2/24 : FROM ${BASE} AS builder 16:18:34 ---> 7b6e19d35819 16:18:34 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:18:35 ---> Running in c54abb6a2b2b 16:18:35 Removing intermediate container c54abb6a2b2b 16:18:35 ---> 57fc958ab79a 16:18:35 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:18:35 ---> Running in bcc630a2553c 16:18:35 Removing intermediate container bcc630a2553c 16:18:35 ---> a9353f172762 16:18:35 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:18:35 ---> Running in 102e6e3c6d0c 16:18:37 Removing intermediate container 102e6e3c6d0c 16:18:37 ---> 615cc020cc00 16:18:37 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:18:37 ---> Running in 072d73d91a5c 16:18:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:18:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:18:40 OK: 224 MiB in 56 packages 16:18:41 Removing intermediate container 072d73d91a5c 16:18:41 ---> 19836f202f13 16:18:41 Step 7/24 : WORKDIR /device-mqtt-go 16:18:41 ---> Running in ff063d5a48c1 16:18:41 Removing intermediate container ff063d5a48c1 16:18:41 ---> 77b26c69f2e3 16:18:41 Step 8/24 : COPY go.mod vendor* ./ 16:18:42 ---> b91c092f90af 16:18:42 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:18:42 ---> Running in 1b9879c89b9a 16:18:43 Removing intermediate container 1b9879c89b9a 16:18:43 ---> 499eaa362395 16:18:43 Step 10/24 : COPY . . 16:18:44 ---> 7c49fda48244 16:18:44 Step 11/24 : ARG MAKE='make build' 16:18:44 ---> Running in bf2456ec9b38 16:18:45 Removing intermediate container bf2456ec9b38 16:18:45 ---> 41ea0ee1b3a2 16:18:45 Step 12/24 : RUN $MAKE 16:18:45 ---> Running in ef69da5d566a 16:18:46 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 16:20:53 Removing intermediate container ef69da5d566a 16:20:53 ---> e9371fba8177 16:20:53 Step 13/24 : FROM alpine:3.14 16:20:53 3.14: Pulling from library/alpine 16:20:53 455c02918c45: Pulling fs layer 16:20:53 455c02918c45: Verifying Checksum 16:20:53 455c02918c45: Download complete 16:20:53 455c02918c45: Pull complete 16:20:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:20:53 Status: Downloaded newer image for alpine:3.14 16:20:53 ---> ac73e934f311 16:20:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:20:53 ---> Running in 32dce48a42cb 16:20:53 Removing intermediate container 32dce48a42cb 16:20:53 ---> 6b1f9bae8663 16:20:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:20:53 ---> Running in 97b6aeb5e52f 16:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:20:53 (1/6) Installing dumb-init (1.2.5-r1) 16:20:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:20:53 (3/6) Installing libsodium (1.0.18-r0) 16:20:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:20:53 (5/6) Installing libzmq (4.3.4-r0) 16:20:53 (6/6) Installing zeromq (4.3.4-r0) 16:20:53 Executing busybox-1.33.1-r7.trigger 16:20:53 OK: 8 MiB in 20 packages 16:20:53 Removing intermediate container 97b6aeb5e52f 16:20:53 ---> 9ee6e506c3c5 16:20:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:20:53 ---> 87d8a706e562 16:20:53 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:20:53 ---> 7fd44a89eec4 16:20:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:20:53 ---> 945c068e62ef 16:20:53 Step 19/24 : EXPOSE 59982 16:20:53 ---> Running in 0bb72c097ef2 16:20:53 Removing intermediate container 0bb72c097ef2 16:20:53 ---> d4680c05f4de 16:20:53 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:20:53 ---> Running in 4f6d8e7ce7ec 16:20:53 Removing intermediate container 4f6d8e7ce7ec 16:20:53 ---> b3d879f7f7ff 16:20:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:20:53 ---> Running in 14deda8d531f 16:20:53 Removing intermediate container 14deda8d531f 16:20:53 ---> c756c09b2187 16:20:53 Step 22/24 : LABEL arch=arm64 16:20:53 ---> Running in 1e0489d77cc0 16:20:53 Removing intermediate container 1e0489d77cc0 16:20:53 ---> 922cda2f31e1 16:20:53 Step 23/24 : LABEL git_sha=cac5c8aff02eeff20ea0733b686feb688efb88bb 16:20:53 ---> Running in b118fc54eb23 16:20:53 Removing intermediate container b118fc54eb23 16:20:53 ---> 8cb603480808 16:20:53 Step 24/24 : LABEL version=2.2.0-dev.16 16:20:53 ---> Running in 91c44ff207ba 16:20:53 Removing intermediate container 91c44ff207ba 16:20:53 ---> e198575d3d49 16:20:53 [Warning] One or more build-args [ARCH] were not consumed 16:20:53 Successfully built e198575d3d49 16:20:53 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 16:20:53 provisioning config files... 16:20:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/37@tmp/config2104859292331521237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:53 ---> docker-login.sh 16:20:53 nexus3.edgexfoundry.org:10001 16:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:53 Configure a credential helper to remove this warning. See 16:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:53 16:20:53 Login Succeeded 16:20:53 nexus3.edgexfoundry.org:10002 16:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:54 Configure a credential helper to remove this warning. See 16:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:54 16:20:54 Login Succeeded 16:20:54 nexus3.edgexfoundry.org:10003 16:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:54 Configure a credential helper to remove this warning. See 16:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:54 16:20:54 Login Succeeded 16:20:54 nexus3.edgexfoundry.org:10004 16:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:55 Configure a credential helper to remove this warning. See 16:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:55 16:20:55 Login Succeeded 16:20:55 docker.io 16:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:56 Configure a credential helper to remove this warning. See 16:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:56 16:20:56 Login Succeeded 16:20:56 ---> docker-login.sh ends [Pipeline] } 16:20:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:20:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:56 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 16:20:56 cac5c8aff02eeff20ea0733b686feb688efb88bb 16:20:56 latest 16:20:56 2.2.0-dev.16 16:20:56 cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 16:20:56 main 16:20:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:20:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] isUnix [Pipeline] sh 16:20:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb 16:20:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:20:56 f25bb7b155a9: Preparing 16:20:56 1c5784058890: Preparing 16:20:56 636cdb95f409: Preparing 16:20:56 cb907e85b9ce: Preparing 16:20:56 f73e7dbfee58: Preparing 16:20:56 f73e7dbfee58: Layer already exists 16:20:57 f25bb7b155a9: Pushed 16:20:57 1c5784058890: Pushed 16:20:57 cb907e85b9ce: Pushed 16:21:03 636cdb95f409: Pushed 16:21:03 cac5c8aff02eeff20ea0733b686feb688efb88bb: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh 16:21:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:21:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:21:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:21:03 f25bb7b155a9: Preparing 16:21:03 1c5784058890: Preparing 16:21:03 636cdb95f409: Preparing 16:21:03 cb907e85b9ce: Preparing 16:21:03 f73e7dbfee58: Preparing 16:21:03 1c5784058890: Layer already exists 16:21:03 f25bb7b155a9: Layer already exists 16:21:03 636cdb95f409: Layer already exists 16:21:03 cb907e85b9ce: Layer already exists 16:21:03 f73e7dbfee58: Layer already exists 16:21:04 latest: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh 16:21:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 16:21:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.16 16:21:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:21:04 f25bb7b155a9: Preparing 16:21:04 1c5784058890: Preparing 16:21:04 636cdb95f409: Preparing 16:21:04 cb907e85b9ce: Preparing 16:21:04 f73e7dbfee58: Preparing 16:21:04 636cdb95f409: Layer already exists 16:21:04 1c5784058890: Layer already exists 16:21:04 f73e7dbfee58: Layer already exists 16:21:04 cb907e85b9ce: Layer already exists 16:21:04 f25bb7b155a9: Layer already exists 16:21:05 2.2.0-dev.16: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh 16:21:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 16:21:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 16:21:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:21:05 f25bb7b155a9: Preparing 16:21:05 1c5784058890: Preparing 16:21:05 636cdb95f409: Preparing 16:21:05 cb907e85b9ce: Preparing 16:21:05 f73e7dbfee58: Preparing 16:21:05 f25bb7b155a9: Layer already exists 16:21:05 1c5784058890: Layer already exists 16:21:05 636cdb95f409: Layer already exists 16:21:05 cb907e85b9ce: Layer already exists 16:21:05 f73e7dbfee58: Layer already exists 16:21:06 cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh 16:21:06 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 16:21:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 16:21:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:21:06 f25bb7b155a9: Preparing 16:21:06 1c5784058890: Preparing 16:21:06 636cdb95f409: Preparing 16:21:06 cb907e85b9ce: Preparing 16:21:06 f73e7dbfee58: Preparing 16:21:06 1c5784058890: Layer already exists 16:21:06 f73e7dbfee58: Layer already exists 16:21:06 f25bb7b155a9: Layer already exists 16:21:06 cb907e85b9ce: Layer already exists 16:21:06 636cdb95f409: Layer already exists 16:21:07 main: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:21:07 ===================================================== [Pipeline] echo 16:21:07 taggedImages: 16:21:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb 16:21:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:21:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.16 16:21:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 16:21:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:21:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:07 16:21:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:21:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:08 arm64: Pulling from edgex-lftools-log-publisher 16:21:08 8998bd30e6a1: Pulling fs layer 16:21:08 04944245beec: Pulling fs layer 16:21:08 699f458cf7ca: Pulling fs layer 16:21:08 765212b225bb: Pulling fs layer 16:21:08 f23df028b6ca: Pulling fs layer 16:21:08 d65c8cfc05b1: Pulling fs layer 16:21:08 2437ff75d9bd: Pulling fs layer 16:21:08 765212b225bb: Waiting 16:21:08 f23df028b6ca: Waiting 16:21:08 2437ff75d9bd: Waiting 16:21:08 d65c8cfc05b1: Waiting 16:21:08 04944245beec: Verifying Checksum 16:21:08 04944245beec: Download complete 16:21:08 765212b225bb: Verifying Checksum 16:21:08 765212b225bb: Download complete 16:21:08 f23df028b6ca: Download complete 16:21:08 d65c8cfc05b1: Verifying Checksum 16:21:08 d65c8cfc05b1: Download complete 16:21:08 699f458cf7ca: Verifying Checksum 16:21:08 699f458cf7ca: Download complete 16:21:08 8998bd30e6a1: Verifying Checksum 16:21:08 8998bd30e6a1: Download complete 16:21:11 2437ff75d9bd: Verifying Checksum 16:21:11 2437ff75d9bd: Download complete 16:21:13 8998bd30e6a1: Pull complete 16:21:13 04944245beec: Pull complete 16:21:15 699f458cf7ca: Pull complete 16:21:15 765212b225bb: Pull complete 16:21:16 f23df028b6ca: Pull complete 16:21:16 d65c8cfc05b1: Pull complete 16:21:31 2437ff75d9bd: Pull complete 16:21:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:21:31 prd-ubuntu20.04-docker-arm64-4c-16g-26953 does not seem to be running inside a container 16:21:32 $ 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/37 -v /w/workspace/device-mqtt-go/37:/w/workspace/device-mqtt-go/37:rw,z -v /w/workspace/device-mqtt-go/37@tmp:/w/workspace/device-mqtt-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:21:34 $ docker top 0356fdd0aca4c793755ddbb42820c99f35a0bae26403239dea2080769106ef2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:35 ---> job-cost.sh 16:21:35 lf-activate-venv: SKIPPING 16:21:35 INFO: No Stack... 16:21:35 INFO: Retrieving Pricing Info for: v3-standard-4 16:21:36 INFO: Archiving Costs [Pipeline] sh 16:21:37 + cut -d, -f6 16:21:37 + cat /w/workspace/device-mqtt-go/37/archives/cost.csv [Pipeline] lock 16:21:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] 16:21:37 Resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] did not exist. Created. 16:21:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:38 /w/workspace/device-mqtt-go/37@tmp/durable-b16c8bcf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:21:39 + echo total: 0.10999999940395355 [Pipeline] stash 16:21:39 Warning: overwriting stash ‘stack-cost’ 16:21:39 Stashed 1 file(s) [Pipeline] } 16:21:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:39 $ docker stop --time=1 0356fdd0aca4c793755ddbb42820c99f35a0bae26403239dea2080769106ef2c 16:21:40 $ docker rm -f 0356fdd0aca4c793755ddbb42820c99f35a0bae26403239dea2080769106ef2c [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 16:21:41 provisioning config files... 16:21:41 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1640726198995403494tmp [Pipeline] { [Pipeline] sh 16:21:41 + set +x 16:21:41 + curl -s https://codecov.io/bash 16:21:41 + bash -s -- 16:21:41 16:21:41 _____ _ 16:21:41 / ____| | | 16:21:41 | | ___ __| | ___ ___ _____ __ 16:21:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:21:41 | |___| (_) | (_| | __/ (_| (_) \ V / 16:21:41 \_____\___/ \__,_|\___|\___\___/ \_/ 16:21:41 Bash-1.0.6 16:21:41 16:21:41 16:21:41 ==> git version 2.25.1 found 16:21:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:21:41 Release-Date: 2020-01-08 16:21:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:21:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:21:41 ==> Jenkins CI detected. 16:21:41 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 16:21:41 project root: . 16:21:41 --> token set from env 16:21:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:21:41 ==> Running gcov in . (disable via -X gcov) 16:21:41 ==> Python coveragepy not found 16:21:41 ==> Searching for coverage reports in: 16:21:41 + . 16:21:41 -> Found 1 reports 16:21:41 ==> Detecting git/mercurial file structure 16:21:41 ==> Reading reports 16:21:41 + ./coverage.out bytes=17887 16:21:41 ==> Appending adjustments 16:21:41 https://docs.codecov.io/docs/fixing-reports 16:21:41 + Found adjustments 16:21:41 ==> Gzipping contents 16:21:41 4.0K /tmp/codecov.SqgY1y.gz 16:21:41 ==> Uploading reports 16:21:41 url: https://codecov.io 16:21:41 query: branch=main&commit=cac5c8aff02eeff20ea0733b686feb688efb88bb&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:21:41 -> Pinging Codecov 16:21:41 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=cac5c8aff02eeff20ea0733b686feb688efb88bb&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:21:42 -> Uploading to 16:21:42 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/7D719EC7BBE17E464838252E33014C33/cac5c8aff02eeff20ea0733b686feb688efb88bb/54e20978-58ee-4073-9d8e-ab09a2093ab5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T162141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=697745f315d7db10d33883cb32a13687ab0f73a8dbecec29cb5c18428c312d76 16:21:42 % Total % Received % Xferd Average Speed Time Time Time Current 16:21:42 Dload Upload Total Spent Left Speed 16:21:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 12976 --:--:-- --:--:-- --:--:-- 12976 16:21:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] } 16:21:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:21:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:21:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:21:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:21:42 16:21:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:21:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:21:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:21:43 188c0c94c7c5: Pulling fs layer 16:21:43 0ef7d3d256c8: Pulling fs layer 16:21:43 de9db76c5a1d: Pulling fs layer 16:21:43 0eba1c9be4d2: Pulling fs layer 16:21:43 0d57e429df01: Pulling fs layer 16:21:43 4e4be7b47b0d: Pulling fs layer 16:21:43 e1f770b5df2f: Pulling fs layer 16:21:43 85a0685a4137: Pulling fs layer 16:21:43 0eba1c9be4d2: Waiting 16:21:43 e1f770b5df2f: Waiting 16:21:43 85a0685a4137: Waiting 16:21:43 0d57e429df01: Waiting 16:21:43 de9db76c5a1d: Download complete 16:21:43 0ef7d3d256c8: Download complete 16:21:43 0d57e429df01: Verifying Checksum 16:21:43 0d57e429df01: Download complete 16:21:43 4e4be7b47b0d: Verifying Checksum 16:21:43 4e4be7b47b0d: Download complete 16:21:43 188c0c94c7c5: Verifying Checksum 16:21:43 188c0c94c7c5: Download complete 16:21:43 188c0c94c7c5: Pull complete 16:21:43 e1f770b5df2f: Verifying Checksum 16:21:43 e1f770b5df2f: Download complete 16:21:43 0ef7d3d256c8: Pull complete 16:21:43 de9db76c5a1d: Pull complete 16:21:44 0eba1c9be4d2: Download complete 16:21:44 85a0685a4137: Verifying Checksum 16:21:44 85a0685a4137: Download complete 16:21:47 0eba1c9be4d2: Pull complete 16:21:47 0d57e429df01: Pull complete 16:21:47 4e4be7b47b0d: Pull complete 16:21:48 e1f770b5df2f: Pull complete 16:21:51 85a0685a4137: Pull complete 16:21:51 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:21:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:21:51 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 16:21:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:21:53 $ docker top dd3f9123a175771b1904bfd07cd0eabb53617d767c88fe41f69f32321b268dec -eo pid,comm [Pipeline] { [Pipeline] echo 16:21:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:21:53 + set -o pipefail 16:21:53 + snyk monitor '--org=edgex-jenkins' 16:22:00 16:22:00 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 16:22:00 16:22:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/cb924623-9e8c-4ab4-a571-a2f064a3e8f4 16:22:00 16:22:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:22:00 16:22:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:22:00 16:22:00 [Pipeline] } 16:22:00 $ docker stop --time=1 dd3f9123a175771b1904bfd07cd0eabb53617d767c88fe41f69f32321b268dec 16:22:02 $ docker rm -f dd3f9123a175771b1904bfd07cd0eabb53617d767c88fe41f69f32321b268dec [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 16:22:03 + git log --format=format:%s -1 cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] sh 16:22:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:22:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:22:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:04 . [Pipeline] withDockerContainer 16:22:04 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 16:22:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:22:04 $ docker top ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:22:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:04 [ssh-agent] Looking for ssh-agent implementation... 16:22:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:04 $ docker exec ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 ssh-agent 16:22:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXppGgBB/agent.15 16:22:04 SSH_AGENT_PID=21 16:22:04 Running ssh-add (command line suppressed) 16:22:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9040526496651508910.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9040526496651508910.key) 16:22:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:05 + git semver tag 16:22:05 # -> Open(): unable to determine branch for HEAD 16:22:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 16:22:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 16:22:05 # $SEMVER_REMOTE_NAME = origin 16:22:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:22:05 # $SEMVER_USER_NAME = edgex-jenkins 16:22:05 # $SEMVER_BRANCH = main 16:22:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 16:22:05 # cac5c8aff02eeff20ea0733b686feb688efb88bb HEAD 16:22:05 # -> Force: false 16:22:05 # f50fc290a3a001b9230e9b942e032e17738e7c00 refs/tags/v2.2.0-dev.16 [Pipeline] } 16:22:05 $ docker exec --env ******** --env ******** ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 ssh-agent -k 16:22:05 unset SSH_AUTH_SOCK; 16:22:05 unset SSH_AGENT_PID; 16:22:05 echo Agent pid 21 killed; 16:22:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:05 + git semver [Pipeline] } 16:22:05 $ docker stop --time=1 ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 16:22:07 $ docker rm -f ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:22:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:22:07 16:22:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:22:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:22:07 0.23.1-centos7: Pulling from edgex-lftools 16:22:07 ab5ef0e58194: Pulling fs layer 16:22:07 9712f1f96733: Pulling fs layer 16:22:07 63f879dbbcfc: Pulling fs layer 16:22:07 0d9ebad4ef96: Pulling fs layer 16:22:07 e9a5061849ea: Pulling fs layer 16:22:07 d747dcd14b5f: Pulling fs layer 16:22:07 2de7ff778b66: Pulling fs layer 16:22:07 0d9ebad4ef96: Waiting 16:22:07 e9a5061849ea: Waiting 16:22:07 d747dcd14b5f: Waiting 16:22:07 2de7ff778b66: Waiting 16:22:07 9712f1f96733: Verifying Checksum 16:22:07 9712f1f96733: Download complete 16:22:08 63f879dbbcfc: Verifying Checksum 16:22:08 63f879dbbcfc: Download complete 16:22:08 e9a5061849ea: Verifying Checksum 16:22:08 e9a5061849ea: Download complete 16:22:08 d747dcd14b5f: Verifying Checksum 16:22:08 d747dcd14b5f: Download complete 16:22:08 0d9ebad4ef96: Verifying Checksum 16:22:08 0d9ebad4ef96: Download complete 16:22:08 2de7ff778b66: Verifying Checksum 16:22:08 2de7ff778b66: Download complete 16:22:08 ab5ef0e58194: Download complete 16:22:11 ab5ef0e58194: Pull complete 16:22:11 9712f1f96733: Pull complete 16:22:12 63f879dbbcfc: Pull complete 16:22:15 0d9ebad4ef96: Pull complete 16:22:16 e9a5061849ea: Pull complete 16:22:16 d747dcd14b5f: Pull complete 16:22:17 2de7ff778b66: Pull complete 16:22:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:22:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:22:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:22:17 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 16:22:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:22:19 $ docker top 4be638eaf624220a59d6e850f31fd931457c3387048ead902242019c1d327db5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:22:19 provisioning config files... 16:22:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6497712964676105802tmp 16:22:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4412881403904614683tmp 16:22:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3676051113998337267tmp [Pipeline] { [Pipeline] echo 16:22:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:22:20 ---> sigul-configuration.sh 16:22:20 gpg: directory `/root/.gnupg' created 16:22:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:22:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:22:20 gpg: keyring `/root/.gnupg/secring.gpg' created 16:22:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:22:20 gpg: CAST5 encrypted data 16:22:20 gpg: encrypted with 1 passphrase 16:22:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:22:20 + mkdir /home/jenkins 16:22:20 + mkdir /home/jenkins/sigul [Pipeline] sh 16:22:20 + 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 16:22:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:22:21 ---> sigul-install.sh 16:22:21 Sigul already installed; skipping installation. [Pipeline] sh 16:22:21 + git tag --list 16:22:21 0.7.1 16:22:21 v1.0.0 16:22:21 v1.1.0 16:22:21 v1.1.1 16:22:21 v1.2.2 16:22:21 v1.3.0 16:22:21 v1.3.1 16:22:21 v2.0.0 16:22:21 v2.0.1-dev.1 16:22:21 v2.0.1-dev.10 16:22:21 v2.0.1-dev.11 16:22:21 v2.0.1-dev.12 16:22:21 v2.0.1-dev.13 16:22:21 v2.0.1-dev.14 16:22:21 v2.0.1-dev.15 16:22:21 v2.0.1-dev.16 16:22:21 v2.0.1-dev.17 16:22:21 v2.0.1-dev.2 16:22:21 v2.0.1-dev.3 16:22:21 v2.0.1-dev.4 16:22:21 v2.0.1-dev.5 16:22:21 v2.0.1-dev.6 16:22:21 v2.0.1-dev.7 16:22:21 v2.0.1-dev.8 16:22:21 v2.0.1-dev.9 16:22:21 v2.1.0 16:22:21 v2.2.0-dev.1 16:22:21 v2.2.0-dev.10 16:22:21 v2.2.0-dev.11 16:22:21 v2.2.0-dev.12 16:22:21 v2.2.0-dev.13 16:22:21 v2.2.0-dev.14 16:22:21 v2.2.0-dev.15 16:22:21 v2.2.0-dev.16 16:22:21 v2.2.0-dev.2 16:22:21 v2.2.0-dev.3 16:22:21 v2.2.0-dev.4 16:22:21 v2.2.0-dev.5 16:22:21 v2.2.0-dev.6 16:22:21 v2.2.0-dev.7 16:22:21 v2.2.0-dev.8 16:22:21 v2.2.0-dev.9 [Pipeline] sh 16:22:21 + lftools sign git-tag v2.2.0-dev.16 16:22:22 Signing Git tag with Sigul... 16:22:22 Signing v2.2.0-dev.16 [Pipeline] echo 16:22:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:22:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:22:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:22:22 $ docker stop --time=1 4be638eaf624220a59d6e850f31fd931457c3387048ead902242019c1d327db5 16:22:24 $ docker rm -f 4be638eaf624220a59d6e850f31fd931457c3387048ead902242019c1d327db5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:22:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:22:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:24 . [Pipeline] withDockerContainer 16:22:25 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 16:22:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:22:25 $ docker top 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:22:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:25 [ssh-agent] Looking for ssh-agent implementation... 16:22:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:25 $ docker exec 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e ssh-agent 16:22:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJACCDh/agent.14 16:22:25 SSH_AGENT_PID=20 16:22:25 Running ssh-add (command line suppressed) 16:22:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1645851770207674696.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1645851770207674696.key) 16:22:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:26 + git semver bump pre 16:22:26 # -> Open(): unable to determine branch for HEAD 16:22:26 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 16:22:26 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 16:22:26 # $SEMVER_REMOTE_NAME = origin 16:22:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:22:26 # $SEMVER_USER_NAME = edgex-jenkins 16:22:26 # $SEMVER_BRANCH = main 16:22:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 16:22:26 2.2.0-dev.17 [Pipeline] } 16:22:26 $ docker exec --env ******** --env ******** 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e ssh-agent -k 16:22:26 unset SSH_AUTH_SOCK; 16:22:26 unset SSH_AGENT_PID; 16:22:26 echo Agent pid 20 killed; 16:22:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:26 + git semver [Pipeline] } 16:22:26 $ docker stop --time=1 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e 16:22:27 $ docker rm -f 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e [Pipeline] // withDockerContainer [Pipeline] sh 16:22:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:22:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:22:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:28 . [Pipeline] withDockerContainer 16:22:28 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 16:22:28 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:22:29 $ docker top ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:22:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:29 [ssh-agent] Looking for ssh-agent implementation... 16:22:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:29 $ docker exec ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 ssh-agent 16:22:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLGpNCB/agent.13 16:22:29 SSH_AGENT_PID=19 16:22:29 Running ssh-add (command line suppressed) 16:22:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2876153011690748127.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2876153011690748127.key) 16:22:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:29 + git semver push 16:22:29 # -> Open(): unable to determine branch for HEAD 16:22:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 16:22:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 16:22:29 # $SEMVER_REMOTE_NAME = origin 16:22:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:22:29 # $SEMVER_USER_NAME = edgex-jenkins 16:22:29 # $SEMVER_BRANCH = main 16:22:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 16:22:35 $ docker exec --env ******** --env ******** ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 ssh-agent -k 16:22:35 unset SSH_AUTH_SOCK; 16:22:35 unset SSH_AGENT_PID; 16:22:35 echo Agent pid 19 killed; 16:22:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:35 + git semver [Pipeline] } 16:22:35 $ docker stop --time=1 ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 16:22:37 $ docker rm -f ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 [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 16:22:37 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 16:22:37 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:22:37 total 16 16:22:37 drwxr-xr-x 3 root root 4096 Apr 26 15:44 . 16:22:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:22 .. 16:22:37 drwxr-xr-x 2 root root 4096 Apr 26 15:44 cost 16:22:37 -rw-r--r-- 1 root root 84 Apr 26 15:44 cost.csv 16:22:37 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:22:37 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:22:37 total 16 16:22:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:44 . 16:22:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:22 .. 16:22:37 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:44 cost 16:22:37 -rw-r--r-- 1 jenkins jenkins 84 Apr 26 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:22:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:22:38 ---> package-listing.sh 16:22:38 ++ facter osfamily 16:22:38 ++ tr '[:upper:]' '[:lower:]' 16:22:39 + OS_FAMILY=debian 16:22:39 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 16:22:39 + START_PACKAGES=/tmp/packages_start.txt 16:22:39 + END_PACKAGES=/tmp/packages_end.txt 16:22:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:22:39 + PACKAGES=/tmp/packages_start.txt 16:22:39 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:22:39 + PACKAGES=/tmp/packages_end.txt 16:22:39 + case "${OS_FAMILY}" in 16:22:39 + dpkg -l 16:22:39 + grep '^ii' 16:22:39 + '[' -f /tmp/packages_start.txt ']' 16:22:39 + '[' -f /tmp/packages_end.txt ']' 16:22:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:22:39 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:22:39 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 16:22:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 16:22:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-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 16:22:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:22:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:40 . [Pipeline] withDockerContainer 16:22:40 prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container 16:22:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:40 $ docker top 282751f691845f6f1ad992f92869282a2d51588bddc22ecbb839c3cf76dfbc44 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:40 + touch /tmp/pre-build-complete [Pipeline] sh 16:22:41 + mkdir -p /var/log/sysstat [Pipeline] sh 16:22:41 + ls /var/log/sa-host 16:22:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:41 provisioning config files... 16:22:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5869534469533405647tmp [Pipeline] { [Pipeline] echo 16:22:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:22:41 ---> create-netrc.sh [Pipeline] } 16:22:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:22:42 ---> python-tools-install.sh [Pipeline] echo 16:22:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:22:42 ---> sudo-logs.sh 16:22:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:22:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:22:42 ---> job-cost.sh 16:22:42 lf-activate-venv: SKIPPING 16:22:42 DEBUG: total: 0.2199999988079071 16:22:42 INFO: Retrieving Stack Cost... 16:22:43 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:43 INFO: Archiving Costs [Pipeline] echo 16:22:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:22:44 ---> logs-deploy.sh 16:22:44 lf-activate-venv: SKIPPING 16:22:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/37 16:22:44 INFO: archiving workspace using pattern(s): 16:22:44 Archives upload complete. 16:22:44 INFO: archiving logs to Nexus