Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60419adc06483b68d49990c8544a97850d76c544 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-ssh15800328588686373857.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2193497591382035827.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-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-rfid-llrp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15963467582973304664.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9899347293712820737.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-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-rfid-llrp-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11499773137255484879.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-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-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1749 in /w/workspace/foundry_device-rfid-llrp-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-rfid-llrp-go.git > git init /w/workspace/foundry_device-rfid-llrp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-rfid-llrp-go_main@tmp/jenkins-gitclient-ssh5104135201075929741.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 60419adc06483b68d49990c8544a97850d76c544 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-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 60419adc06483b68d49990c8544a97850d76c544 # timeout=10 Commit message: "feat: Migrate service to V2 (#52)" > git rev-list --no-walk 73c0aef866abb96c1bdf0f842f2580fcfb01571a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:26:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:26:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:26:11 ========================================================= 20:26:11 EdgeX Global Pipelines Version Info 20:26:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:26:12 ------------------- 20:26:12 stable info: 20:26:12 ------------------- 20:26:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:26:12 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:26:12 Message: update stable to v1.0.219 20:26:13 ------------------- 20:26:13 experimental info: 20:26:13 ------------------- 20:26:13 Commited By: **** collab-it+edgex@linuxfoundation.org 20:26:13 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:26:13 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60419adc06483b68d49990c8544a97850d76c544 [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60419ad [Pipeline] echo 20:26:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:13 provisioning config files... 20:26:13 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config3244607106682155628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:13 ---> docker-login.sh 20:26:13 nexus3.edgexfoundry.org:10001 20:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 nexus3.edgexfoundry.org:10002 20:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 nexus3.edgexfoundry.org:10003 20:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 nexus3.edgexfoundry.org:10004 20:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 docker.io 20:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:15 Configure a credential helper to remove this warning. See 20:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:15 20:26:15 Login Succeeded 20:26:15 ---> docker-login.sh ends [Pipeline] } 20:26:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:26:15 + git rev-list -1 --merges 60419adc06483b68d49990c8544a97850d76c544~1..60419adc06483b68d49990c8544a97850d76c544 [Pipeline] echo 20:26:15 -----------> git rev-list -1 --merges 60419adc06483b68d49990c8544a97850d76c544~1..60419adc06483b68d49990c8544a97850d76c544 60419adc06483b68d49990c8544a97850d76c544 [false] [Pipeline] sh 20:26:15 + git log --format=format:%s -1 60419adc06483b68d49990c8544a97850d76c544 [Pipeline] echo 20:26:15 ========================================================= 20:26:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:26:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:16 + git log --format=format:%s -1 60419adc06483b68d49990c8544a97850d76c544 [Pipeline] echo 20:26:16 [semverPrep] GIT_COMMIT: 60419adc06483b68d49990c8544a97850d76c544, Commit Message: feat: Migrate service to V2 (#52) [Pipeline] echo 20:26:16 [semverPrep] This is not a build commit. [Pipeline] sh 20:26:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:26:16 + grep -v github /etc/ssh/ssh_known_hosts 20:26:16 + '[' -e /tmp/ssh_known_hosts ']' 20:26:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:26:16 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:26:16 + sudo tee -a /etc/ssh/ssh_known_hosts 20:26:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:26:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:26:17 20:26:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:26:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:26:17 latest: Pulling from edgex-devops/git-semver 20:26:17 a0d0a0d46f8b: Pulling fs layer 20:26:17 3e5f54012d9b: Pulling fs layer 20:26:17 4c7163046ea9: Pulling fs layer 20:26:17 0c2d73faf560: Pulling fs layer 20:26:17 0c2d73faf560: Waiting 20:26:17 3e5f54012d9b: Verifying Checksum 20:26:17 3e5f54012d9b: Download complete 20:26:17 a0d0a0d46f8b: Verifying Checksum 20:26:17 a0d0a0d46f8b: Download complete 20:26:17 4c7163046ea9: Verifying Checksum 20:26:17 4c7163046ea9: Download complete 20:26:17 0c2d73faf560: Verifying Checksum 20:26:17 0c2d73faf560: Download complete 20:26:17 a0d0a0d46f8b: Pull complete 20:26:17 3e5f54012d9b: Pull complete 20:26:17 4c7163046ea9: Pull complete 20:26:18 0c2d73faf560: Pull complete 20:26:18 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:26:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:26:18 prd-centos7-docker-4c-2g-1749 does not seem to be running inside a container 20:26:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:26:18 $ docker top 9f61cde4c2fc7663c955ebbe8eb0023b2d6ffcc14715a6d7d510f6a70247b6c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:18 [ssh-agent] Looking for ssh-agent implementation... 20:26:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:19 $ docker exec 9f61cde4c2fc7663c955ebbe8eb0023b2d6ffcc14715a6d7d510f6a70247b6c3 ssh-agent 20:26:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXONINLM/agent.15 20:26:19 SSH_AGENT_PID=20 20:26:19 Running ssh-add (command line suppressed) 20:26:19 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_7423007447130998968.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_7423007447130998968.key) 20:26:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:19 + git tag --points-at HEAD [Pipeline] } 20:26:19 $ docker exec --env ******** --env ******** 9f61cde4c2fc7663c955ebbe8eb0023b2d6ffcc14715a6d7d510f6a70247b6c3 ssh-agent -k 20:26:19 unset SSH_AUTH_SOCK; 20:26:19 unset SSH_AGENT_PID; 20:26:19 echo Agent pid 20 killed; 20:26:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:26:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:19 [ssh-agent] Looking for ssh-agent implementation... 20:26:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:19 $ docker exec 9f61cde4c2fc7663c955ebbe8eb0023b2d6ffcc14715a6d7d510f6a70247b6c3 ssh-agent 20:26:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKfIOai/agent.53 20:26:19 SSH_AGENT_PID=59 20:26:19 Running ssh-add (command line suppressed) 20:26:20 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_3076882241679986220.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_3076882241679986220.key) 20:26:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:20 + git semver init 20:26:20 # -> Open(): unable to determine branch for HEAD 20:26:20 # $GIT_DIR = /w/workspace/foundry_device-rfid-llrp-go_main/.git 20:26:20 # $GIT_WORK_TREE = /w/workspace/foundry_device-rfid-llrp-go_main 20:26:20 # $SEMVER_REMOTE_NAME = origin 20:26:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:26:20 # $SEMVER_USER_NAME = edgex-jenkins 20:26:20 # $SEMVER_BRANCH = main 20:26:20 # $SEMVER_TEMP = /tmp/semver-803868091 20:26:20 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 20:26:20 # '/tmp/semver-803868091' -> '/w/workspace/foundry_device-rfid-llrp-go_main/.semver' 20:26:20 # -> Force: false 20:26:20 # $SEMVER_DIR = /w/workspace/foundry_device-rfid-llrp-go_main/.semver [Pipeline] } 20:26:20 $ docker exec --env ******** --env ******** 9f61cde4c2fc7663c955ebbe8eb0023b2d6ffcc14715a6d7d510f6a70247b6c3 ssh-agent -k 20:26:21 unset SSH_AUTH_SOCK; 20:26:21 unset SSH_AGENT_PID; 20:26:21 echo Agent pid 59 killed; 20:26:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:26:21 + git semver [Pipeline] } 20:26:21 $ docker stop --time=1 9f61cde4c2fc7663c955ebbe8eb0023b2d6ffcc14715a6d7d510f6a70247b6c3 20:26:22 $ docker rm -f 9f61cde4c2fc7663c955ebbe8eb0023b2d6ffcc14715a6d7d510f6a70247b6c3 [Pipeline] // withDockerContainer [Pipeline] sh 20:26:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:26:23 Stashed 1 file(s) [Pipeline] echo 20:26:23 [edgeXSemver]: initialized semver on version 1.0.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:23 provisioning config files... 20:26:23 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config847289272144363069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:23 ---> docker-login.sh 20:26:23 nexus3.edgexfoundry.org:10001 20:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:23 Configure a credential helper to remove this warning. See 20:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:23 20:26:23 Login Succeeded 20:26:23 nexus3.edgexfoundry.org:10002 20:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:23 Configure a credential helper to remove this warning. See 20:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:23 20:26:23 Login Succeeded 20:26:23 nexus3.edgexfoundry.org:10003 20:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:23 Configure a credential helper to remove this warning. See 20:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:23 20:26:23 Login Succeeded 20:26:23 nexus3.edgexfoundry.org:10004 20:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:23 Configure a credential helper to remove this warning. See 20:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:23 20:26:23 Login Succeeded 20:26:23 docker.io 20:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:24 Configure a credential helper to remove this warning. See 20:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:24 20:26:24 Login Succeeded 20:26:24 ---> docker-login.sh ends [Pipeline] } 20:26:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:26:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:24 ========================================================= 20:26:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:26:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:26:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 20:26:24 Sending build context to Docker daemon 1.616MB 20:26:24 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 20:26:24 Step 2/12 : FROM ${BASE} AS builder 20:26:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:26:24 59bf1c3509f3: Pulling fs layer 20:26:24 666ba61612fd: Pulling fs layer 20:26:24 8ed8ca486205: Pulling fs layer 20:26:24 4fe6c5a15a65: Pulling fs layer 20:26:24 22a0e8bec74d: Pulling fs layer 20:26:24 f965cba54748: Pulling fs layer 20:26:24 861ffc35075e: Pulling fs layer 20:26:24 4b385c91608e: Pulling fs layer 20:26:24 560528eb2ebb: Pulling fs layer 20:26:24 4fe6c5a15a65: Waiting 20:26:24 22a0e8bec74d: Waiting 20:26:24 f965cba54748: Waiting 20:26:24 861ffc35075e: Waiting 20:26:24 4b385c91608e: Waiting 20:26:24 560528eb2ebb: Waiting 20:26:24 8ed8ca486205: Verifying Checksum 20:26:24 8ed8ca486205: Download complete 20:26:24 666ba61612fd: Verifying Checksum 20:26:24 666ba61612fd: Download complete 20:26:24 22a0e8bec74d: Verifying Checksum 20:26:24 22a0e8bec74d: Download complete 20:26:24 f965cba54748: Verifying Checksum 20:26:24 f965cba54748: Download complete 20:26:25 59bf1c3509f3: Verifying Checksum 20:26:25 59bf1c3509f3: Download complete 20:26:25 861ffc35075e: Verifying Checksum 20:26:25 861ffc35075e: Download complete 20:26:25 4b385c91608e: Verifying Checksum 20:26:25 4b385c91608e: Download complete 20:26:25 59bf1c3509f3: Pull complete 20:26:25 666ba61612fd: Pull complete 20:26:25 4fe6c5a15a65: Verifying Checksum 20:26:25 4fe6c5a15a65: Download complete 20:26:25 560528eb2ebb: Verifying Checksum 20:26:25 560528eb2ebb: Download complete 20:26:25 8ed8ca486205: Pull complete 20:26:29 4fe6c5a15a65: Pull complete 20:26:29 22a0e8bec74d: Pull complete 20:26:29 f965cba54748: Pull complete 20:26:29 861ffc35075e: Pull complete 20:26:29 4b385c91608e: Pull complete 20:26:32 560528eb2ebb: Pull complete 20:26:32 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:26:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:26:32 ---> dd4a08f94e63 20:26:32 Step 3/12 : ARG MAKE='make build' 20:26:33 ---> Running in 2aa38eacb668 20:26:33 Removing intermediate container 2aa38eacb668 20:26:33 ---> 482ffc7ab0da 20:26:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:26:33 ---> Running in 7c55c1b60972 20:26:33 Removing intermediate container 7c55c1b60972 20:26:33 ---> 97ba0590c15d 20:26:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:26:33 ---> Running in f63986ea35ad 20:26:34 Removing intermediate container f63986ea35ad 20:26:34 ---> 6df3bdb0b149 20:26:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:26:34 ---> Running in 74dae20fc427 20:26:34 Removing intermediate container 74dae20fc427 20:26:34 ---> ec70a9443d9c 20:26:34 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:26:34 ---> Running in 1162e6684105 20:26:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:26:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:26:35 OK: 221 MiB in 52 packages 20:26:36 Removing intermediate container 1162e6684105 20:26:36 ---> a125aa7dd78f 20:26:36 Step 8/12 : WORKDIR /app 20:26:36 ---> Running in a723e5925231 20:26:36 Removing intermediate container a723e5925231 20:26:36 ---> b938d3f1fd49 20:26:36 Step 9/12 : COPY . . 20:26:36 ---> 544d3b3f46c6 20:26:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:36 ---> Running in 827768ed57bb 20:26:38 Still waiting to schedule task 20:26:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:27:15 Removing intermediate container 827768ed57bb 20:27:15 ---> 140f515f2982 20:27:15 Step 11/12 : RUN go mod tidy 20:27:15 ---> Running in 6c57d13f4b22 20:27:15 Removing intermediate container 6c57d13f4b22 20:27:15 ---> 1c844f3975ce 20:27:15 Step 12/12 : RUN $MAKE 20:27:15 ---> Running in b7f1f951ab8f 20:27:15 noop 20:27:15 Removing intermediate container b7f1f951ab8f 20:27:15 ---> 2fd7573d79a9 20:27:15 Successfully built 2fd7573d79a9 20:27:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:27:15 + docker inspect -f . ci-base-image-x86_64 20:27:15 . [Pipeline] withDockerContainer 20:27:15 prd-centos7-docker-4c-2g-1749 does not seem to be running inside a container 20:27:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:27:16 $ docker top 6bcd0c40f7cbf1474f7a8b3a112af1d60369ce62ee731261bde3276d08d34182 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:16 + go version 20:27:16 go version go1.17.6 linux/amd64 [Pipeline] } 20:27:16 $ docker stop --time=1 6bcd0c40f7cbf1474f7a8b3a112af1d60369ce62ee731261bde3276d08d34182 20:27:17 $ docker rm -f 6bcd0c40f7cbf1474f7a8b3a112af1d60369ce62ee731261bde3276d08d34182 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:27:18 + docker inspect -f . ci-base-image-x86_64 20:27:18 . [Pipeline] withDockerContainer 20:27:18 prd-centos7-docker-4c-2g-1749 does not seem to be running inside a container 20:27:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:27:18 $ docker top 039a5f6635ca22bcf9c4c3429d0a38066f114078733a6b55bc902e043b950e38 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:27:19 + make test 20:27:19 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:27:19 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 20:27:34 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 20:27:34 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 20:27:39 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.332s coverage: 39.5% of statements 20:27:39 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.233s coverage: 52.0% of statements 20:27:39 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.011s coverage: 95.5% of statements 20:27:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:27:43 # github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp 20:27:43 cmd/llrp/llrp.go:217:2: misuse of unbuffered os.Signal channel as argument to signal.Notify 20:27:44 make: *** [Makefile:24: test] Error 2 [Pipeline] } 20:27:44 $ docker stop --time=1 039a5f6635ca22bcf9c4c3429d0a38066f114078733a6b55bc902e043b950e38 20:27:45 $ docker rm -f 039a5f6635ca22bcf9c4c3429d0a38066f114078733a6b55bc902e043b950e38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:46 20:27:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:27:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:46 latest: Pulling from edgex-lftools-log-publisher 20:27:46 b4d181a07f80: Pulling fs layer 20:27:46 a1111a8f2ec3: Pulling fs layer 20:27:46 ed53099fbce6: Pulling fs layer 20:27:46 dc539afda2c1: Pulling fs layer 20:27:46 77bc0d833cb6: Pulling fs layer 20:27:46 9065ff56babe: Pulling fs layer 20:27:46 d287ab97295c: Pulling fs layer 20:27:46 dc539afda2c1: Waiting 20:27:46 77bc0d833cb6: Waiting 20:27:46 9065ff56babe: Waiting 20:27:46 d287ab97295c: Waiting 20:27:46 a1111a8f2ec3: Verifying Checksum 20:27:46 a1111a8f2ec3: Download complete 20:27:46 dc539afda2c1: Verifying Checksum 20:27:46 dc539afda2c1: Download complete 20:27:46 ed53099fbce6: Verifying Checksum 20:27:46 ed53099fbce6: Download complete 20:27:46 9065ff56babe: Verifying Checksum 20:27:46 9065ff56babe: Download complete 20:27:46 77bc0d833cb6: Verifying Checksum 20:27:46 77bc0d833cb6: Download complete 20:27:46 b4d181a07f80: Verifying Checksum 20:27:46 b4d181a07f80: Download complete 20:27:47 d287ab97295c: Verifying Checksum 20:27:47 d287ab97295c: Download complete 20:27:48 b4d181a07f80: Pull complete 20:27:48 a1111a8f2ec3: Pull complete 20:27:48 ed53099fbce6: Pull complete 20:27:48 dc539afda2c1: Pull complete 20:27:49 77bc0d833cb6: Pull complete 20:27:49 9065ff56babe: Pull complete 20:27:54 d287ab97295c: Pull complete 20:27:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:27:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:27:54 prd-centos7-docker-4c-2g-1749 does not seem to be running inside a container 20:27:54 $ 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/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:27:56 $ docker top 5393cced88610b035e5d96dd25bccf0b9a3e86cc22adc648add4c7db81048127 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:57 ---> job-cost.sh 20:27:57 lf-activate-venv: SKIPPING 20:27:57 INFO: No Stack... 20:27:57 INFO: Retrieving Pricing Info for: v3-standard-2 20:27:58 INFO: Archiving Costs [Pipeline] sh 20:27:58 + cat /w/workspace/foundry_device-rfid-llrp-go_main/archives/cost.csv 20:27:58 + cut -d, -f6 [Pipeline] lock 20:27:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] 20:27:58 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] did not exist. Created. 20:27:58 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:27:58 + echo total: 0.05999999865889549 [Pipeline] stash 20:27:58 Stashed 1 file(s) [Pipeline] } 20:27:58 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 20:27:58 $ docker stop --time=1 5393cced88610b035e5d96dd25bccf0b9a3e86cc22adc648add4c7db81048127 20:27:59 $ docker rm -f 5393cced88610b035e5d96dd25bccf0b9a3e86cc22adc648add4c7db81048127 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:27:59 Failed in branch amd64 20:28:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1750 in /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] { [Pipeline] ws 20:28:06 Running in /w/workspace/device-rfid-llrp-go/12 [Pipeline] { [Pipeline] checkout 20:28:06 Selected Git installation does not exist. Using Default 20:28:06 The recommended git tool is: NONE 20:28:10 using credential edgex-jenkins-ssh 20:28:10 Cloning the remote Git repository 20:28:10 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:28:10 > git init /w/workspace/device-rfid-llrp-go/12 # timeout=10 20:28:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:28:10 > git --version # timeout=10 20:28:10 > git --version # 'git version 2.17.1' 20:28:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:11 Avoid second fetch 20:28:11 Checking out Revision 60419adc06483b68d49990c8544a97850d76c544 (main) 20:28:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 20:28:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:11 > git config core.sparsecheckout # timeout=10 20:28:11 > git checkout -f 60419adc06483b68d49990c8544a97850d76c544 # timeout=10 20:28:15 Commit message: "feat: Migrate service to V2 (#52)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:28:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:28:16 Dload Upload Total Spent Left Speed 20:28:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 59215 0 --:--:-- --:--:-- --:--:-- 59512 [Pipeline] sh 20:28:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:28:17 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 20:28:17 20:28:17 { 20:28:17 "registry-mirrors": [ 20:28:17 "https://nexus3.edgexfoundry.org:10001" 20:28:17 ], 20:28:17 "bip": "10.250.0.254/24", 20:28:17 "hosts": [ 20:28:17 "tcp://0.0.0.0:5555", 20:28:17 "unix:///var/run/docker.sock" 20:28:17 ], 20:28:17 "mtu": 1458, 20:28:17 "selinux-enabled": true, 20:28:17 "seccomp-profile": "/etc/docker/seccomp.json" 20:28:17 } [Pipeline] sh 20:28:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:28:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:36 provisioning config files... 20:28:36 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/12@tmp/config5925309055169254890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:37 ---> docker-login.sh 20:28:37 nexus3.edgexfoundry.org:10001 20:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:38 Configure a credential helper to remove this warning. See 20:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:38 20:28:38 Login Succeeded 20:28:38 nexus3.edgexfoundry.org:10002 20:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:38 Configure a credential helper to remove this warning. See 20:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:38 20:28:38 Login Succeeded 20:28:38 nexus3.edgexfoundry.org:10003 20:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:38 Configure a credential helper to remove this warning. See 20:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:38 20:28:38 Login Succeeded 20:28:38 nexus3.edgexfoundry.org:10004 20:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:39 Configure a credential helper to remove this warning. See 20:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:39 20:28:39 Login Succeeded 20:28:39 docker.io 20:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:40 Configure a credential helper to remove this warning. See 20:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:40 20:28:40 Login Succeeded 20:28:40 ---> docker-login.sh ends [Pipeline] } 20:28:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:28:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:28:40 ========================================================= 20:28:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:28:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:28:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:28:41 Sending build context to Docker daemon 1.218MB 20:28:41 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 20:28:41 Step 2/12 : FROM ${BASE} AS builder 20:28:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:28:41 9b3977197b4f: Pulling fs layer 20:28:41 1a89e8eeedd5: Pulling fs layer 20:28:41 94645a83ff95: Pulling fs layer 20:28:41 3f3a8bcf1eab: Pulling fs layer 20:28:41 0c92f367c5e7: Pulling fs layer 20:28:41 4b8299f9d1f4: Pulling fs layer 20:28:41 9a6b49a46696: Pulling fs layer 20:28:41 cf05db05a679: Pulling fs layer 20:28:41 3f3a8bcf1eab: Waiting 20:28:41 0c92f367c5e7: Waiting 20:28:41 4b8299f9d1f4: Waiting 20:28:41 9a6b49a46696: Waiting 20:28:41 cf05db05a679: Waiting 20:28:41 94645a83ff95: Verifying Checksum 20:28:41 94645a83ff95: Download complete 20:28:41 1a89e8eeedd5: Verifying Checksum 20:28:41 1a89e8eeedd5: Download complete 20:28:41 0c92f367c5e7: Verifying Checksum 20:28:41 0c92f367c5e7: Download complete 20:28:41 4b8299f9d1f4: Verifying Checksum 20:28:41 4b8299f9d1f4: Download complete 20:28:41 9b3977197b4f: Verifying Checksum 20:28:41 9b3977197b4f: Download complete 20:28:41 9a6b49a46696: Verifying Checksum 20:28:41 9a6b49a46696: Download complete 20:28:42 9b3977197b4f: Pull complete 20:28:42 1a89e8eeedd5: Pull complete 20:28:43 94645a83ff95: Pull complete 20:28:43 cf05db05a679: Verifying Checksum 20:28:43 cf05db05a679: Download complete 20:28:43 3f3a8bcf1eab: Download complete 20:28:56 3f3a8bcf1eab: Pull complete 20:28:56 0c92f367c5e7: Pull complete 20:28:56 4b8299f9d1f4: Pull complete 20:28:56 9a6b49a46696: Pull complete 20:29:03 cf05db05a679: Pull complete 20:29:03 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:29:03 ---> 0ccda1f7e2ee 20:29:03 Step 3/12 : ARG MAKE='make build' 20:29:03 ---> Running in ad646d3f93ea 20:29:03 Removing intermediate container ad646d3f93ea 20:29:03 ---> 334ccd33f508 20:29:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:29:04 ---> Running in 54b8cf21a1e6 20:29:04 Removing intermediate container 54b8cf21a1e6 20:29:04 ---> d7494ac54225 20:29:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:29:04 ---> Running in efa0eb4e3b3b 20:29:05 Removing intermediate container efa0eb4e3b3b 20:29:05 ---> 2a377eab8d9a 20:29:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:29:05 ---> Running in 9d6a46611b49 20:29:06 Removing intermediate container 9d6a46611b49 20:29:06 ---> 5df599bf78f8 20:29:06 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:06 ---> Running in af10c9637d69 20:29:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:29:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:29:09 OK: 220 MiB in 52 packages 20:29:10 Removing intermediate container af10c9637d69 20:29:10 ---> 41ff1857f790 20:29:10 Step 8/12 : WORKDIR /app 20:29:10 ---> Running in 8ff4ebe2a405 20:29:10 Removing intermediate container 8ff4ebe2a405 20:29:10 ---> 01e62f0ca3c4 20:29:10 Step 9/12 : COPY . . 20:29:11 ---> aef20b1d6217 20:29:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:11 ---> Running in af49b124877b 20:30:33 Removing intermediate container af49b124877b 20:30:33 ---> 9dcd8c3ab499 20:30:33 Step 11/12 : RUN go mod tidy 20:30:33 ---> Running in cb83c975bfdc 20:30:33 Removing intermediate container cb83c975bfdc 20:30:33 ---> b633a64ce95b 20:30:33 Step 12/12 : RUN $MAKE 20:30:33 ---> Running in 86d193b33dff 20:30:33 noop 20:30:33 Removing intermediate container 86d193b33dff 20:30:33 ---> 58a53c33f48c 20:30:33 Successfully built 58a53c33f48c 20:30:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:30:33 + docker inspect -f . ci-base-image-arm64 20:30:33 . [Pipeline] withDockerContainer 20:30:34 prd-ubuntu18.04-docker-arm64-4c-16g-1750 does not seem to be running inside a container 20:30:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/12 -v /w/workspace/device-rfid-llrp-go/12:/w/workspace/device-rfid-llrp-go/12:rw,z -v /w/workspace/device-rfid-llrp-go/12@tmp:/w/workspace/device-rfid-llrp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:30:35 $ docker top 7fc7bbe6b7dcfcb048ce5e7286815f0c778506ac79e0632fb2c5e8a2e9c12692 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:36 + go version 20:30:36 go version go1.17.6 linux/arm64 [Pipeline] } 20:30:36 $ docker stop --time=1 7fc7bbe6b7dcfcb048ce5e7286815f0c778506ac79e0632fb2c5e8a2e9c12692 20:30:37 $ docker rm -f 7fc7bbe6b7dcfcb048ce5e7286815f0c778506ac79e0632fb2c5e8a2e9c12692 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:30:38 + docker inspect -f . ci-base-image-arm64 20:30:38 . [Pipeline] withDockerContainer 20:30:38 prd-ubuntu18.04-docker-arm64-4c-16g-1750 does not seem to be running inside a container 20:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/12 -v /w/workspace/device-rfid-llrp-go/12:/w/workspace/device-rfid-llrp-go/12:rw,z -v /w/workspace/device-rfid-llrp-go/12@tmp:/w/workspace/device-rfid-llrp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:30:40 $ docker top 0be772a274e215e220dd6515e7f5f4367a7bded72522738ef98a10d8db5c9909 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:30:41 + make test 20:30:41 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:30:42 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 20:31:29 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 20:31:29 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 20:32:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.550s coverage: 39.5% of statements 20:32:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.508s coverage: 52.0% of statements 20:32:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.041s coverage: 95.5% of statements 20:32:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:32:20 # github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp 20:32:20 cmd/llrp/llrp.go:217:2: misuse of unbuffered os.Signal channel as argument to signal.Notify 20:32:23 make: *** [Makefile:24: test] Error 2 [Pipeline] } 20:32:23 $ docker stop --time=1 0be772a274e215e220dd6515e7f5f4367a7bded72522738ef98a10d8db5c9909 20:32:25 $ docker rm -f 0be772a274e215e220dd6515e7f5f4367a7bded72522738ef98a10d8db5c9909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:32:26 20:32:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:32:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:32:26 arm64: Pulling from edgex-lftools-log-publisher 20:32:26 448f6bf000e3: Pulling fs layer 20:32:26 f757da607395: Pulling fs layer 20:32:26 05883995daec: Pulling fs layer 20:32:26 8603b9c90790: Pulling fs layer 20:32:26 1560dd03e051: Pulling fs layer 20:32:26 27f5ce0e4adf: Pulling fs layer 20:32:26 c2d8d7efcc4b: Pulling fs layer 20:32:26 1560dd03e051: Waiting 20:32:26 27f5ce0e4adf: Waiting 20:32:26 8603b9c90790: Waiting 20:32:26 c2d8d7efcc4b: Waiting 20:32:26 f757da607395: Verifying Checksum 20:32:26 f757da607395: Download complete 20:32:26 8603b9c90790: Verifying Checksum 20:32:26 8603b9c90790: Download complete 20:32:26 1560dd03e051: Verifying Checksum 20:32:26 1560dd03e051: Download complete 20:32:26 27f5ce0e4adf: Verifying Checksum 20:32:26 27f5ce0e4adf: Download complete 20:32:27 05883995daec: Verifying Checksum 20:32:27 05883995daec: Download complete 20:32:27 448f6bf000e3: Download complete 20:32:29 c2d8d7efcc4b: Verifying Checksum 20:32:29 c2d8d7efcc4b: Download complete 20:32:30 448f6bf000e3: Pull complete 20:32:31 f757da607395: Pull complete 20:32:32 05883995daec: Pull complete 20:32:33 8603b9c90790: Pull complete 20:32:34 1560dd03e051: Pull complete 20:32:34 27f5ce0e4adf: Pull complete 20:32:49 c2d8d7efcc4b: Pull complete 20:32:49 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:32:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:32:49 prd-ubuntu18.04-docker-arm64-4c-16g-1750 does not seem to be running inside a container 20:32:49 $ 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-rfid-llrp-go/12 -v /w/workspace/device-rfid-llrp-go/12:/w/workspace/device-rfid-llrp-go/12:rw,z -v /w/workspace/device-rfid-llrp-go/12@tmp:/w/workspace/device-rfid-llrp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:32:52 $ docker top 091087fe11c5b6536c18f8d0f423b9c887d4efe2d9d92771db56b20f6be0af78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:52 ---> job-cost.sh 20:32:52 lf-activate-venv: SKIPPING 20:32:52 INFO: No Stack... 20:32:53 INFO: Retrieving Pricing Info for: v3-standard-4 20:32:53 INFO: Archiving Costs [Pipeline] sh 20:32:54 + cat /w/workspace/device-rfid-llrp-go/12/archives/cost.csv 20:32:54 + cut -d, -f6 [Pipeline] lock 20:32:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] 20:32:54 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] did not exist. Created. 20:32:54 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:32:55 /w/workspace/device-rfid-llrp-go/12@tmp/durable-38fb65cb/script.sh: 1: /w/workspace/device-rfid-llrp-go/12@tmp/durable-38fb65cb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:32:55 + echo total: 0.10999999940395355 [Pipeline] stash 20:32:55 Warning: overwriting stash ‘stack-cost’ 20:32:56 Stashed 1 file(s) [Pipeline] } 20:32:56 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 20:32:56 $ docker stop --time=1 091087fe11c5b6536c18f8d0f423b9c887d4efe2d9d92771db56b20f6be0af78 20:32:57 $ docker rm -f 091087fe11c5b6536c18f8d0f423b9c887d4efe2d9d92771db56b20f6be0af78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:32:58 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:32:58 + '[' -d /w/workspace/foundry_device-rfid-llrp-go_main/archives ']' 20:32:58 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 20:32:58 total 8 20:32:58 drwxr-xr-x. 3 root root 34 Jan 18 20:27 . 20:32:58 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 18 20:27 .. 20:32:58 drwxr-xr-x. 2 root root 6 Jan 18 20:27 cost 20:32:58 -rw-r--r--. 1 root root 89 Jan 18 20:27 cost.csv 20:32:58 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-rfid-llrp-go_main/archives 20:32:58 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 20:32:58 total 8 20:32:58 drwxr-xr-x. 3 jenkins jenkins 34 Jan 18 20:27 . 20:32:58 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 18 20:27 .. 20:32:58 drwxr-xr-x. 2 jenkins jenkins 6 Jan 18 20:27 cost 20:32:58 -rw-r--r--. 1 jenkins jenkins 89 Jan 18 20:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:32:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:32:59 ---> package-listing.sh 20:32:59 ++ tr '[:upper:]' '[:lower:]' 20:32:59 ++ facter osfamily 20:33:00 + OS_FAMILY=redhat 20:33:00 + workspace=/w/workspace/foundry_device-rfid-llrp-go_main 20:33:00 + START_PACKAGES=/tmp/packages_start.txt 20:33:00 + END_PACKAGES=/tmp/packages_end.txt 20:33:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:33:00 + PACKAGES=/tmp/packages_start.txt 20:33:00 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 20:33:00 + PACKAGES=/tmp/packages_end.txt 20:33:00 + case "${OS_FAMILY}" in 20:33:00 + sort 20:33:00 + rpm -qa 20:33:00 + '[' -f /tmp/packages_start.txt ']' 20:33:00 + '[' -f /tmp/packages_end.txt ']' 20:33:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:33:00 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 20:33:00 + mkdir -p /w/workspace/foundry_device-rfid-llrp-go_main/archives/ 20:33:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-rfid-llrp-go_main/archives/ [Pipeline] echo 20:33:00 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-rfid-llrp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:33:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:33:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:33:01 . [Pipeline] withDockerContainer 20:33:01 prd-centos7-docker-4c-2g-1749 does not seem to be running inside a container 20:33:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-rfid-llrp-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/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:33:01 $ docker top eab8f2ba299db046fd6fd3f2f5c9657d568277cc773b8d32e99adca06d2ef5b9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:02 + touch /tmp/pre-build-complete [Pipeline] sh 20:33:02 + mkdir -p /var/log/sysstat [Pipeline] sh 20:33:02 + ls /var/log/sa-host 20:33:02 + sadf -c /var/log/sa-host/sa17 20:33:02 file_magic: OK 20:33:02 HZ: Using current value: 100 20:33:02 file_header: OK 20:33:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:33:02 Statistics: 20:33:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:33:02 File successfully converted to sysstat format version 12.0.3 20:33:02 + sadf -c /var/log/sa-host/sa18 20:33:02 file_magic: OK 20:33:02 HZ: Using current value: 100 20:33:02 file_header: OK 20:33:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:33:02 Statistics: 20:33:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:33:02 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:33:02 provisioning config files... 20:33:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config9206343165822897847tmp [Pipeline] { [Pipeline] echo 20:33:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:33:03 ---> create-netrc.sh [Pipeline] } 20:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:33:03 ---> python-tools-install.sh [Pipeline] echo 20:33:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:33:03 ---> sudo-logs.sh 20:33:03 Archiving 'sudo' log.. 20:33:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-1749.novalocal: Name or service not known 20:33:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-1749.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:33:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:33:04 ---> job-cost.sh 20:33:04 lf-activate-venv: SKIPPING 20:33:04 DEBUG: total: 0.05999999865889549 20:33:04 INFO: Retrieving Stack Cost... 20:33:04 INFO: Retrieving Pricing Info for: v3-standard-2 20:33:04 INFO: Archiving Costs [Pipeline] echo 20:33:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:33:05 ---> logs-deploy.sh 20:33:05 lf-activate-venv: SKIPPING 20:33:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/main/12 20:33:05 INFO: archiving workspace using pattern(s): 20:33:05 Archives upload complete. 20:33:05 INFO: archiving logs to Nexus