Pull request #118 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from c73c945180d2258c58a177da63ddcdd10bd56744+3df42b5de7243deaef815f1e55d1348500d22d5e (1bd0a480e2cd2242e1229680455ca9e8654a93bb) 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-ssh2100974990394462995.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13064214997022459457.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-118/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-118/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10379681250144963549.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-118/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9699927351556362629.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh901808209398984320.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-118/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-118/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8889520539891343187.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, 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: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116949 in /w/workspace/y_app-rfid-llrp-inventory_PR-118 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-118 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/118/head:refs/remotes/origin/PR-118 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3df42b5de7243deaef815f1e55d1348500d22d5e into PR head commit c73c945180d2258c58a177da63ddcdd10bd56744 Merge succeeded, producing c73c945180d2258c58a177da63ddcdd10bd56744 Checking out Revision c73c945180d2258c58a177da63ddcdd10bd56744 (PR-118) > git config core.sparsecheckout # timeout=10 > git checkout -f c73c945180d2258c58a177da63ddcdd10bd56744 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 3df42b5de7243deaef815f1e55d1348500d22d5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c73c945180d2258c58a177da63ddcdd10bd56744 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:43 ========================================================= 18:42:43 EdgeX Global Pipelines Version Info 18:42:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:44 ------------------- 18:42:44 stable info: 18:42:44 ------------------- 18:42:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:44 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:42:44 Message: update stable to v1.0.243 18:42:45 ------------------- 18:42:45 experimental info: 18:42:45 ------------------- 18:42:45 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:45 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:42:45 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-118 [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-118 [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-118 [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c73c945180d2258c58a177da63ddcdd10bd56744 [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c73c945 [Pipeline] echo 18:42:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:47 provisioning config files... 18:42:47 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/config13533068034089507353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:47 ---> docker-login.sh 18:42:47 nexus3.edgexfoundry.org:10001 18:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:47 Configure a credential helper to remove this warning. See 18:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:47 18:42:47 Login Succeeded 18:42:47 nexus3.edgexfoundry.org:10002 18:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:47 Configure a credential helper to remove this warning. See 18:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:47 18:42:47 Login Succeeded 18:42:47 nexus3.edgexfoundry.org:10003 18:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:47 Configure a credential helper to remove this warning. See 18:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:47 18:42:47 Login Succeeded 18:42:47 nexus3.edgexfoundry.org:10004 18:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:47 Configure a credential helper to remove this warning. See 18:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:47 18:42:47 Login Succeeded 18:42:47 docker.io 18:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:48 Configure a credential helper to remove this warning. See 18:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:48 18:42:48 Login Succeeded 18:42:48 ---> docker-login.sh ends [Pipeline] } 18:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:49 + git rev-list -1 --merges c73c945180d2258c58a177da63ddcdd10bd56744~1..c73c945180d2258c58a177da63ddcdd10bd56744 [Pipeline] echo 18:42:49 -----------> git rev-list -1 --merges c73c945180d2258c58a177da63ddcdd10bd56744~1..c73c945180d2258c58a177da63ddcdd10bd56744 c73c945180d2258c58a177da63ddcdd10bd56744 [false] [Pipeline] sh 18:42:49 + git log --format=format:%s -1 c73c945180d2258c58a177da63ddcdd10bd56744 [Pipeline] echo 18:42:49 ========================================================= 18:42:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:49 + git log --format=format:%s -1 c73c945180d2258c58a177da63ddcdd10bd56744 [Pipeline] echo 18:42:50 [semverPrep] GIT_COMMIT: c73c945180d2258c58a177da63ddcdd10bd56744, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 18:42:50 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:50 + grep -v github /etc/ssh/ssh_known_hosts 18:42:50 + [ -e /tmp/ssh_known_hosts ] 18:42:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:50 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:50 sudo tee -a /etc/ssh/ssh_known_hosts 18:42:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:50 18:42:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:51 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:51 b85a868b505f: Pulling fs layer 18:42:51 e2be974225ed: Pulling fs layer 18:42:51 339a4e72a1f5: Pulling fs layer 18:42:51 988bab9f4d93: Pulling fs layer 18:42:51 1469e6f7b9e6: Pulling fs layer 18:42:51 eaf3925da568: Pulling fs layer 18:42:51 bab4dde63d76: Pulling fs layer 18:42:51 bde34c3a00c8: Pulling fs layer 18:42:51 b352a97aabf1: Pulling fs layer 18:42:51 4872d77fe225: Pulling fs layer 18:42:51 5851b861e8e6: Pulling fs layer 18:42:51 1469e6f7b9e6: Waiting 18:42:51 eaf3925da568: Waiting 18:42:51 bab4dde63d76: Waiting 18:42:51 bde34c3a00c8: Waiting 18:42:51 988bab9f4d93: Waiting 18:42:51 b352a97aabf1: Waiting 18:42:51 5851b861e8e6: Waiting 18:42:51 4872d77fe225: Waiting 18:42:51 e2be974225ed: Download complete 18:42:51 988bab9f4d93: Verifying Checksum 18:42:51 988bab9f4d93: Download complete 18:42:51 1469e6f7b9e6: Verifying Checksum 18:42:51 1469e6f7b9e6: Download complete 18:42:51 339a4e72a1f5: Verifying Checksum 18:42:51 339a4e72a1f5: Download complete 18:42:51 eaf3925da568: Verifying Checksum 18:42:51 eaf3925da568: Download complete 18:42:51 bde34c3a00c8: Download complete 18:42:51 b352a97aabf1: Download complete 18:42:51 4872d77fe225: Verifying Checksum 18:42:51 4872d77fe225: Download complete 18:42:51 5851b861e8e6: Download complete 18:42:51 b85a868b505f: Verifying Checksum 18:42:51 b85a868b505f: Download complete 18:42:51 bab4dde63d76: Verifying Checksum 18:42:51 bab4dde63d76: Download complete 18:42:52 b85a868b505f: Pull complete 18:42:52 e2be974225ed: Pull complete 18:42:53 339a4e72a1f5: Pull complete 18:42:53 988bab9f4d93: Pull complete 18:42:53 1469e6f7b9e6: Pull complete 18:42:53 eaf3925da568: Pull complete 18:42:55 bab4dde63d76: Pull complete 18:42:55 bde34c3a00c8: Pull complete 18:42:55 b352a97aabf1: Pull complete 18:42:55 4872d77fe225: Pull complete 18:42:55 5851b861e8e6: Pull complete 18:42:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:55 prd-ubuntu20.04-docker-8c-8g-116949 does not seem to be running inside a container 18:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-118 -v /w/workspace/y_app-rfid-llrp-inventory_PR-118:/w/workspace/y_app-rfid-llrp-inventory_PR-118:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:42:58 $ docker top be43620f58311d8133d3c178b2434e04933228d5c5b619cdfedc0e595049cd30 -eo pid,comm 18:42:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:42:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:58 [ssh-agent] Looking for ssh-agent implementation... 18:42:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:58 $ docker exec be43620f58311d8133d3c178b2434e04933228d5c5b619cdfedc0e595049cd30 ssh-agent 18:42:58 SSH_AUTH_SOCK=/tmp/ssh-BJ2ID2uog2pn/agent.32 18:42:58 SSH_AGENT_PID=38 18:42:58 Running ssh-add (command line suppressed) 18:42:58 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/private_key_11513460355263326366.key (/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/private_key_11513460355263326366.key) 18:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:58 + git tag --points-at HEAD [Pipeline] } 18:42:58 $ docker exec --env ******** --env ******** be43620f58311d8133d3c178b2434e04933228d5c5b619cdfedc0e595049cd30 ssh-agent -k 18:42:58 unset SSH_AUTH_SOCK; 18:42:58 unset SSH_AGENT_PID; 18:42:58 echo Agent pid 38 killed; 18:42:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:59 [ssh-agent] Looking for ssh-agent implementation... 18:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:59 $ docker exec be43620f58311d8133d3c178b2434e04933228d5c5b619cdfedc0e595049cd30 ssh-agent 18:42:59 SSH_AUTH_SOCK=/tmp/ssh-1IiCwJrS8Z1w/agent.70 18:42:59 SSH_AGENT_PID=76 18:42:59 Running ssh-add (command line suppressed) 18:42:59 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/private_key_11923424351751857845.key (/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/private_key_11923424351751857845.key) 18:42:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:59 + git semver init 18:42:59 2022-10-25 18:42:59,888 [run_init] DEBUG init version:0.0.0 force:False 18:42:59 2022-10-25 18:42:59,889 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver 18:42:59 2022-10-25 18:42:59,889 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver 18:42:59 2022-10-25 18:42:59,890 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-118, universal_newlines=False, shell=None, istream=None) 18:43:01 2022-10-25 18:43:01,046 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-118/.git/info/exclude 18:43:01 2022-10-25 18:43:01,047 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver/PR-118 with force:False 18:43:01 2022-10-25 18:43:01,047 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver/PR-118 18:43:01 2022-10-25 18:43:01,051 [execute] INFO git cat-file --batch-check 18:43:01 2022-10-25 18:43:01,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver, universal_newlines=False, shell=None, istream=) 18:43:01 2022-10-25 18:43:01,058 [execute] INFO git cat-file --batch 18:43:01 2022-10-25 18:43:01,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver, universal_newlines=False, shell=None, istream=) 18:43:01 2022-10-25 18:43:01,064 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-118/.semver/PR-118 18:43:01 0.0.0 [Pipeline] } 18:43:01 $ docker exec --env ******** --env ******** be43620f58311d8133d3c178b2434e04933228d5c5b619cdfedc0e595049cd30 ssh-agent -k 18:43:01 unset SSH_AUTH_SOCK; 18:43:01 unset SSH_AGENT_PID; 18:43:01 echo Agent pid 76 killed; 18:43:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:01 + git semver [Pipeline] } 18:43:02 $ docker stop --time=1 be43620f58311d8133d3c178b2434e04933228d5c5b619cdfedc0e595049cd30 18:43:03 $ docker rm -f be43620f58311d8133d3c178b2434e04933228d5c5b619cdfedc0e595049cd30 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:43:04 Stashed 1 file(s) [Pipeline] echo 18:43:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:04 provisioning config files... 18:43:04 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/config11991523720211184009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:05 ---> docker-login.sh 18:43:05 nexus3.edgexfoundry.org:10001 18:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:05 Configure a credential helper to remove this warning. See 18:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:05 18:43:05 Login Succeeded 18:43:05 nexus3.edgexfoundry.org:10002 18:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:05 Configure a credential helper to remove this warning. See 18:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:05 18:43:05 Login Succeeded 18:43:05 nexus3.edgexfoundry.org:10003 18:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:05 Configure a credential helper to remove this warning. See 18:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:05 18:43:05 Login Succeeded 18:43:05 nexus3.edgexfoundry.org:10004 18:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:05 Configure a credential helper to remove this warning. See 18:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:05 18:43:05 Login Succeeded 18:43:05 docker.io 18:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:05 Configure a credential helper to remove this warning. See 18:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:05 18:43:05 Login Succeeded 18:43:05 ---> docker-login.sh ends [Pipeline] } 18:43:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:43:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:43:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:43:06 ========================================================= 18:43:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:43:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:43:06 Sending build context to Docker daemon 12.5MB 18:43:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:43:06 Step 2/13 : FROM ${BASE} AS builder 18:43:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:43:06 213ec9aee27d: Pulling fs layer 18:43:06 4583459ba037: Pulling fs layer 18:43:06 93c1e223e6f2: Pulling fs layer 18:43:06 53926ce57604: Pulling fs layer 18:43:06 21b2b0c7a3f4: Pulling fs layer 18:43:06 30f14e443154: Pulling fs layer 18:43:06 801331c1e519: Pulling fs layer 18:43:06 99cc6dd402b0: Pulling fs layer 18:43:06 7d9ed39f4882: Pulling fs layer 18:43:06 53926ce57604: Waiting 18:43:06 30f14e443154: Waiting 18:43:06 21b2b0c7a3f4: Waiting 18:43:06 801331c1e519: Waiting 18:43:06 7d9ed39f4882: Waiting 18:43:06 93c1e223e6f2: Verifying Checksum 18:43:06 93c1e223e6f2: Download complete 18:43:06 4583459ba037: Download complete 18:43:06 21b2b0c7a3f4: Verifying Checksum 18:43:06 21b2b0c7a3f4: Download complete 18:43:06 30f14e443154: Download complete 18:43:06 213ec9aee27d: Verifying Checksum 18:43:06 213ec9aee27d: Download complete 18:43:06 801331c1e519: Download complete 18:43:06 213ec9aee27d: Pull complete 18:43:07 4583459ba037: Pull complete 18:43:07 93c1e223e6f2: Pull complete 18:43:07 7d9ed39f4882: Verifying Checksum 18:43:07 7d9ed39f4882: Download complete 18:43:07 99cc6dd402b0: Download complete 18:43:07 53926ce57604: Verifying Checksum 18:43:07 53926ce57604: Download complete 18:43:11 53926ce57604: Pull complete 18:43:11 21b2b0c7a3f4: Pull complete 18:43:11 30f14e443154: Pull complete 18:43:11 801331c1e519: Pull complete 18:43:13 99cc6dd402b0: Pull complete 18:43:14 7d9ed39f4882: Pull complete 18:43:14 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 18:43:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:43:14 ---> 1dedd983c030 18:43:14 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:43:16 ---> Running in e11f0bb5d925 18:43:16 Removing intermediate container e11f0bb5d925 18:43:16 ---> e1020439a9e9 18:43:16 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:43:16 ---> Running in 5703448a68a7 18:43:16 Removing intermediate container 5703448a68a7 18:43:16 ---> 69e409b6b586 18:43:16 Step 5/13 : ARG ADD_BUILD_TAGS="" 18:43:16 ---> Running in eb48567eb93c 18:43:16 Removing intermediate container eb48567eb93c 18:43:16 ---> 85ef4be180e0 18:43:16 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:43:17 ---> Running in f6d24f3516fc 18:43:17 Removing intermediate container f6d24f3516fc 18:43:17 ---> 20fea6ceb73d 18:43:17 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:17 ---> Running in fb63819823e0 18:43:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:17 OK: 211 MiB in 51 packages 18:43:18 Removing intermediate container fb63819823e0 18:43:18 ---> d072554e88d3 18:43:18 Step 8/13 : WORKDIR /app 18:43:18 ---> Running in 1feea9cd38be 18:43:18 Removing intermediate container 1feea9cd38be 18:43:18 ---> f25120d6e50e 18:43:18 Step 9/13 : COPY go.mod vendor* ./ 18:43:18 ---> 32118414b448 18:43:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:18 ---> Running in ea6677bf64d6 18:43:19 Still waiting to schedule task 18:43:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:43:40 Removing intermediate container ea6677bf64d6 18:43:40 ---> 2845154ade2b 18:43:40 Step 11/13 : COPY . . 18:43:40 ---> 2b804db576b1 18:43:40 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:43:40 ---> Running in 33a585d77191 18:43:40 Removing intermediate container 33a585d77191 18:43:40 ---> dc82cff6458f 18:43:40 Step 13/13 : RUN $MAKE 18:43:40 ---> Running in 68b845bb9b84 18:43:40 noop 18:43:40 Removing intermediate container 68b845bb9b84 18:43:40 ---> 9e034a86597d 18:43:40 Successfully built 9e034a86597d 18:43:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:41 + docker inspect -f . ci-base-image-x86_64 18:43:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:41 prd-ubuntu20.04-docker-8c-8g-116949 does not seem to be running inside a container 18:43:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-118 -v /w/workspace/y_app-rfid-llrp-inventory_PR-118:/w/workspace/y_app-rfid-llrp-inventory_PR-118:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:41 $ docker top 2aee1feb943cb2c9789ee34c94823a8633a292fb41ab6da16be41b0bfbb58e96 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:42 + go version 18:43:42 go version go1.18.7 linux/amd64 [Pipeline] } 18:43:42 $ docker stop --time=1 2aee1feb943cb2c9789ee34c94823a8633a292fb41ab6da16be41b0bfbb58e96 18:43:43 $ docker rm -f 2aee1feb943cb2c9789ee34c94823a8633a292fb41ab6da16be41b0bfbb58e96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:44 + docker inspect -f . ci-base-image-x86_64 18:43:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:44 prd-ubuntu20.04-docker-8c-8g-116949 does not seem to be running inside a container 18:43:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-118 -v /w/workspace/y_app-rfid-llrp-inventory_PR-118:/w/workspace/y_app-rfid-llrp-inventory_PR-118:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:44 $ docker top 58f28a2621e5fdcea1c77e3b90d98ff49b9746ba8e3cb98a89a653c46d545fbc -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:45 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-118 [Pipeline] fileExists [Pipeline] sh 18:43:45 + make test 18:43:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:43:55 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:43:55 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.062s coverage: 86.2% of statements 18:43:55 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:43:58 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.552s coverage: 71.9% of statements 18:44:04 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:44:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:44:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:44:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:44:07 ./bin/test-attribution.sh [Pipeline] echo 18:44:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:44:07 $ docker stop --time=1 58f28a2621e5fdcea1c77e3b90d98ff49b9746ba8e3cb98a89a653c46d545fbc 18:44:10 $ docker rm -f 58f28a2621e5fdcea1c77e3b90d98ff49b9746ba8e3cb98a89a653c46d545fbc [Pipeline] // withDockerContainer [Pipeline] sh 18:44:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:44:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:44:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:11 + ls -al . 18:44:11 total 236 18:44:11 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 18:43 . 18:44:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:42 .. 18:44:11 -rw-rw-r-- 1 jenkins jenkins 262 Oct 25 18:42 .dockerignore 18:44:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 18:43 .git 18:44:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 18:42 .github 18:44:11 -rw-rw-r-- 1 jenkins jenkins 788 Oct 25 18:42 .gitignore 18:44:11 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 18:42 .golangci.yml 18:44:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 18:43 .semver 18:44:11 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 25 18:42 Attribution.txt 18:44:11 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 25 18:42 CHANGELOG.md 18:44:11 -rw-rw-r-- 1 jenkins jenkins 1815 Oct 25 18:42 Dockerfile 18:44:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 18:42 GOVERNANCE.md 18:44:11 -rw-rw-r-- 1 jenkins jenkins 687 Oct 25 18:42 Jenkinsfile 18:44:11 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 25 18:42 LICENSE 18:44:11 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 25 18:42 Makefile 18:44:11 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 18:42 OWNERS.md 18:44:11 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 25 18:42 README.md 18:44:11 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 18:43 VERSION 18:44:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:42 bin 18:44:11 -rw-r--r-- 1 jenkins jenkins 41008 Oct 25 18:43 coverage.out 18:44:11 -rw-rw-r-- 1 jenkins jenkins 3645 Oct 25 18:42 go.mod 18:44:11 -rw-rw-r-- 1 jenkins jenkins 44953 Oct 25 18:42 go.sum 18:44:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:42 images 18:44:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:42 internal 18:44:11 -rw-rw-r-- 1 jenkins jenkins 531 Oct 25 18:42 main.go 18:44:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:42 res 18:44:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:42 snap 18:44:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 18:42 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:11 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c73c945180d2258c58a177da63ddcdd10bd56744 --label arch=amd64 --label version=0.0.0 . 18:44:11 Sending build context to Docker daemon 12.5MB 18:44:11 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 18:44:11 Step 2/30 : FROM ${BASE} AS builder 18:44:11 ---> 9e034a86597d 18:44:11 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:44:12 ---> Running in e203f1e22022 18:44:12 Removing intermediate container e203f1e22022 18:44:12 ---> 598b994d2bca 18:44:12 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 18:44:12 ---> Running in 52c0808f5e6c 18:44:12 Removing intermediate container 52c0808f5e6c 18:44:12 ---> a9131d7140f6 18:44:12 Step 5/30 : ARG ADD_BUILD_TAGS="" 18:44:12 ---> Running in db4bd397ffdc 18:44:12 Removing intermediate container db4bd397ffdc 18:44:12 ---> dd111dae76b1 18:44:12 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:44:12 ---> Running in 039419be4e95 18:44:12 Removing intermediate container 039419be4e95 18:44:12 ---> da8c064accf1 18:44:12 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:44:12 ---> Running in 914627b1d38b 18:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:44:13 OK: 211 MiB in 51 packages 18:44:14 Removing intermediate container 914627b1d38b 18:44:14 ---> 850260b3f4ae 18:44:14 Step 8/30 : WORKDIR /app 18:44:14 ---> Running in 57f6edfbadca 18:44:14 Removing intermediate container 57f6edfbadca 18:44:14 ---> 77edfb725f98 18:44:14 Step 9/30 : COPY go.mod vendor* ./ 18:44:14 ---> 9bb991d5b9ac 18:44:14 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:14 ---> Running in 8282f76339ee 18:44:14 Removing intermediate container 8282f76339ee 18:44:14 ---> be063cc49497 18:44:14 Step 11/30 : COPY . . 18:44:15 ---> 2ef5c716846b 18:44:15 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:44:15 ---> Running in ad919f866832 18:44:15 Removing intermediate container ad919f866832 18:44:15 ---> 6cc3c31e8c55 18:44:15 Step 13/30 : RUN $MAKE 18:44:15 ---> Running in e6a73d12d6fb 18:44:15 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 18:44:37 Removing intermediate container e6a73d12d6fb 18:44:37 ---> 5bb83e8d887e 18:44:37 Step 14/30 : FROM alpine:3.14 18:44:37 3.14: Pulling from library/alpine 18:44:37 c7ed990a2339: Pulling fs layer 18:44:37 c7ed990a2339: Verifying Checksum 18:44:37 c7ed990a2339: Download complete 18:44:37 c7ed990a2339: Pull complete 18:44:37 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 18:44:37 Status: Downloaded newer image for alpine:3.14 18:44:37 ---> dd53f409bf0b 18:44:37 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:44:37 ---> Running in ce2707a7848f 18:44:37 Removing intermediate container ce2707a7848f 18:44:37 ---> 806c9cd1be15 18:44:37 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:44:37 ---> Running in 471fb44e5ef0 18:44:37 Removing intermediate container 471fb44e5ef0 18:44:37 ---> ac4b6898a3cd 18:44:37 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 18:44:37 ---> Running in c297b5699ee5 18:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:44:37 (1/7) Installing ca-certificates (20220614-r0) 18:44:37 (2/7) Installing dumb-init (1.2.5-r1) 18:44:37 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:44:37 (4/7) Installing libsodium (1.0.18-r0) 18:44:37 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:44:37 (6/7) Installing libzmq (4.3.4-r0) 18:44:37 (7/7) Installing zeromq (4.3.4-r0) 18:44:37 Executing busybox-1.33.1-r8.trigger 18:44:37 Executing ca-certificates-20220614-r0.trigger 18:44:37 OK: 9 MiB in 21 packages 18:44:37 Removing intermediate container c297b5699ee5 18:44:37 ---> 579d6409a715 18:44:37 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:44:38 ---> 331fb09d9cde 18:44:38 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 18:44:38 ---> 67c6a8492533 18:44:38 Step 20/30 : COPY --from=builder /app/res/ /res/ 18:44:38 ---> 95c6ab654d0e 18:44:38 Step 21/30 : COPY --from=builder /app/static/ /static/ 18:44:38 ---> 939bae016f21 18:44:38 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:44:38 ---> dbf3ef3034f1 18:44:38 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:44:38 ---> Running in 1657d77c9d0b 18:44:39 Removing intermediate container 1657d77c9d0b 18:44:39 ---> 6d5199b72aaa 18:44:39 Step 24/30 : VOLUME /cache 18:44:39 ---> Running in 43682f7a3902 18:44:39 Removing intermediate container 43682f7a3902 18:44:39 ---> 1261017814c9 18:44:39 Step 25/30 : EXPOSE 59711 18:44:39 ---> Running in 500dc910c0e2 18:44:39 Removing intermediate container 500dc910c0e2 18:44:39 ---> 84d9c790a281 18:44:39 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:44:39 ---> Running in 65d4de82aafe 18:44:40 Removing intermediate container 65d4de82aafe 18:44:40 ---> 87c928713f0c 18:44:40 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 18:44:40 ---> Running in cf0beaeefac1 18:44:40 Removing intermediate container cf0beaeefac1 18:44:40 ---> ee70e5ba8114 18:44:40 Step 28/30 : LABEL arch=amd64 18:44:40 ---> Running in 544c6dc5d3ec 18:44:40 Removing intermediate container 544c6dc5d3ec 18:44:40 ---> 5eb0cba25666 18:44:40 Step 29/30 : LABEL git_sha=c73c945180d2258c58a177da63ddcdd10bd56744 18:44:40 ---> Running in 4b45d9f5abaa 18:44:40 Removing intermediate container 4b45d9f5abaa 18:44:40 ---> 1d9ba04bc30e 18:44:40 Step 30/30 : LABEL version=0.0.0 18:44:40 ---> Running in 2818a39dc9a5 18:44:40 Removing intermediate container 2818a39dc9a5 18:44:40 ---> c989e0ae0c12 18:44:40 [Warning] One or more build-args [ARCH] were not consumed 18:44:40 Successfully built c989e0ae0c12 18:44:40 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:41 18:44:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:41 latest: Pulling from edgex-lftools-log-publisher 18:44:41 5eb5b503b376: Pulling fs layer 18:44:41 5c69ac0246d0: Pulling fs layer 18:44:41 ec43610c2a17: Pulling fs layer 18:44:41 3a2ae6a8a46f: Pulling fs layer 18:44:41 33b1e0a273af: Pulling fs layer 18:44:41 5d3b04190fa2: Pulling fs layer 18:44:41 2f39f015ded8: Pulling fs layer 18:44:41 33b1e0a273af: Waiting 18:44:41 5d3b04190fa2: Waiting 18:44:41 3a2ae6a8a46f: Waiting 18:44:41 2f39f015ded8: Waiting 18:44:41 5c69ac0246d0: Download complete 18:44:41 3a2ae6a8a46f: Verifying Checksum 18:44:41 3a2ae6a8a46f: Download complete 18:44:41 33b1e0a273af: Verifying Checksum 18:44:41 33b1e0a273af: Download complete 18:44:41 5d3b04190fa2: Verifying Checksum 18:44:41 5d3b04190fa2: Download complete 18:44:42 ec43610c2a17: Verifying Checksum 18:44:42 ec43610c2a17: Download complete 18:44:42 5eb5b503b376: Verifying Checksum 18:44:42 5eb5b503b376: Download complete 18:44:42 2f39f015ded8: Verifying Checksum 18:44:42 2f39f015ded8: Download complete 18:44:43 5eb5b503b376: Pull complete 18:44:43 5c69ac0246d0: Pull complete 18:44:43 ec43610c2a17: Pull complete 18:44:43 3a2ae6a8a46f: Pull complete 18:44:43 33b1e0a273af: Pull complete 18:44:44 5d3b04190fa2: Pull complete 18:44:48 2f39f015ded8: Pull complete 18:44:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:48 prd-ubuntu20.04-docker-8c-8g-116949 does not seem to be running inside a container 18:44:48 $ 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/y_app-rfid-llrp-inventory_PR-118 -v /w/workspace/y_app-rfid-llrp-inventory_PR-118:/w/workspace/y_app-rfid-llrp-inventory_PR-118:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:44:51 $ docker top 5df102c58d657c5dba51df07c5d05d1da63c9cf3838fd0f04f3b61e7a0bbca9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:51 ---> job-cost.sh 18:44:51 lf-activate-venv: SKIPPING 18:44:51 INFO: No Stack... 18:44:52 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:52 INFO: Archiving Costs [Pipeline] sh 18:44:52 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-118/archives/cost.csv 18:44:52 + cut -d, -f6 [Pipeline] lock 18:44:52 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] 18:44:52 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] did not exist. Created. 18:44:52 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:53 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:53 Stashed 1 file(s) [Pipeline] } 18:44:53 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:53 $ docker stop --time=1 5df102c58d657c5dba51df07c5d05d1da63c9cf3838fd0f04f3b61e7a0bbca9b 18:44:54 $ docker rm -f 5df102c58d657c5dba51df07c5d05d1da63c9cf3838fd0f04f3b61e7a0bbca9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:50:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116955 in /w/workspace/y_app-rfid-llrp-inventory_PR-118 [Pipeline] { [Pipeline] ws 18:50:51 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 18:50:52 The recommended git tool is: git 18:50:57 using credential edgex-jenkins-ssh 18:50:57 Cloning the remote Git repository 18:50:57 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:50:57 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 18:50:58 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:50:58 > git --version # timeout=10 18:50:58 > git --version # 'git version 2.25.1' 18:50:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:58 Verifying host key using known hosts file 18:50:58 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:50:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:51:00 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 18:51:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:51:01 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 18:51:01 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:51:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:51:01 Verifying host key using known hosts file 18:51:01 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:51:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/118/head:refs/remotes/origin/PR-118 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:51:02 Merging remotes/origin/main commit 3df42b5de7243deaef815f1e55d1348500d22d5e into PR head commit c73c945180d2258c58a177da63ddcdd10bd56744 18:51:02 Merge succeeded, producing c73c945180d2258c58a177da63ddcdd10bd56744 18:51:02 Checking out Revision c73c945180d2258c58a177da63ddcdd10bd56744 (PR-118) 18:51:02 > git config core.sparsecheckout # timeout=10 18:51:02 > git checkout -f c73c945180d2258c58a177da63ddcdd10bd56744 # timeout=10 18:51:02 > git remote # timeout=10 18:51:02 > git config --get remote.origin.url # timeout=10 18:51:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:51:02 Verifying host key using known hosts file 18:51:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:51:02 > git merge 3df42b5de7243deaef815f1e55d1348500d22d5e # timeout=10 18:51:02 > git rev-parse HEAD^{commit} # timeout=10 18:51:02 > git config core.sparsecheckout # timeout=10 18:51:02 > git checkout -f c73c945180d2258c58a177da63ddcdd10bd56744 # timeout=10 18:51:06 Commit message: "build: Latest go-mods, config and Dockerfile fix" 18:51:06 > git --version # timeout=10 18:51:06 > git --version # 'git version 2.25.1' 18:51:06 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:51:07 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:07 Dload Upload Total Spent Left Speed 18:51:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 18:51:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:51:08 + sudo tee /etc/docker/daemon.new 18:51:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:51:08 { 18:51:08 "registry-mirrors": [ 18:51:08 "https://nexus3.edgexfoundry.org:10001" 18:51:08 ], 18:51:08 "bip": "10.250.0.254/24", 18:51:08 "hosts": [ 18:51:08 "tcp://0.0.0.0:5555", 18:51:08 "unix:///var/run/docker.sock" 18:51:08 ], 18:51:08 "mtu": 1458, 18:51:08 "selinux-enabled": true, 18:51:08 "seccomp-profile": "/etc/docker/seccomp.json" 18:51:08 } [Pipeline] sh 18:51:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:51:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:27 provisioning config files... 18:51:27 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config2694299175221640119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:28 ---> docker-login.sh 18:51:28 nexus3.edgexfoundry.org:10001 18:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:28 Configure a credential helper to remove this warning. See 18:51:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:28 18:51:28 Login Succeeded 18:51:28 nexus3.edgexfoundry.org:10002 18:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:29 Configure a credential helper to remove this warning. See 18:51:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:29 18:51:29 Login Succeeded 18:51:29 nexus3.edgexfoundry.org:10003 18:51:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:29 Configure a credential helper to remove this warning. See 18:51:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:29 18:51:29 Login Succeeded 18:51:29 nexus3.edgexfoundry.org:10004 18:51:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:30 Configure a credential helper to remove this warning. See 18:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:30 18:51:30 Login Succeeded 18:51:30 docker.io 18:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:30 Configure a credential helper to remove this warning. See 18:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:30 18:51:30 Login Succeeded 18:51:30 ---> docker-login.sh ends [Pipeline] } 18:51:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:51:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:30 ========================================================= 18:51:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:51:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:51:31 Sending build context to Docker daemon 684.5kB 18:51:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:51:31 Step 2/13 : FROM ${BASE} AS builder 18:51:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:51:32 9b18e9b68314: Pulling fs layer 18:51:32 d32db5db7311: Pulling fs layer 18:51:32 d0c4b47475fc: Pulling fs layer 18:51:32 5831b945b038: Pulling fs layer 18:51:32 86bbec2aaacd: Pulling fs layer 18:51:32 e10730c5d714: Pulling fs layer 18:51:32 5dd5c2283517: Pulling fs layer 18:51:32 d5ac0230b979: Pulling fs layer 18:51:32 5831b945b038: Waiting 18:51:32 86bbec2aaacd: Waiting 18:51:32 d5ac0230b979: Waiting 18:51:32 5dd5c2283517: Waiting 18:51:32 e10730c5d714: Waiting 18:51:32 d0c4b47475fc: Download complete 18:51:32 d32db5db7311: Verifying Checksum 18:51:32 d32db5db7311: Download complete 18:51:32 86bbec2aaacd: Verifying Checksum 18:51:32 86bbec2aaacd: Download complete 18:51:32 e10730c5d714: Verifying Checksum 18:51:32 e10730c5d714: Download complete 18:51:32 9b18e9b68314: Download complete 18:51:33 9b18e9b68314: Pull complete 18:51:33 d5ac0230b979: Verifying Checksum 18:51:33 d5ac0230b979: Download complete 18:51:33 d32db5db7311: Pull complete 18:51:33 d0c4b47475fc: Pull complete 18:51:34 5dd5c2283517: Verifying Checksum 18:51:34 5dd5c2283517: Download complete 18:51:35 5831b945b038: Download complete 18:51:47 5831b945b038: Pull complete 18:51:47 86bbec2aaacd: Pull complete 18:51:47 e10730c5d714: Pull complete 18:51:53 5dd5c2283517: Pull complete 18:51:55 d5ac0230b979: Pull complete 18:51:55 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 18:51:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:51:55 ---> 59b3b1a385d4 18:51:55 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:51:57 ---> Running in a4e2e4ee8201 18:51:57 Removing intermediate container a4e2e4ee8201 18:51:57 ---> ebe300427852 18:51:57 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:51:57 ---> Running in e6e922fe1059 18:51:58 Removing intermediate container e6e922fe1059 18:51:58 ---> 50ceb4f6ed35 18:51:58 Step 5/13 : ARG ADD_BUILD_TAGS="" 18:51:58 ---> Running in 266b4db5a4b1 18:51:58 Removing intermediate container 266b4db5a4b1 18:51:58 ---> b435d223971f 18:51:58 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:51:58 ---> Running in f8c5f66c3bf0 18:51:59 Removing intermediate container f8c5f66c3bf0 18:51:59 ---> dbb20a518eb5 18:51:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:59 ---> Running in fab273531564 18:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:52:01 OK: 221 MiB in 51 packages 18:52:02 Removing intermediate container fab273531564 18:52:02 ---> 827f0eaec7fc 18:52:02 Step 8/13 : WORKDIR /app 18:52:02 ---> Running in 40a7c2766a81 18:52:02 Removing intermediate container 40a7c2766a81 18:52:02 ---> 2358ff1e585a 18:52:02 Step 9/13 : COPY go.mod vendor* ./ 18:52:03 ---> 96a9583dfbfa 18:52:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:03 ---> Running in 50dddd74a290 18:52:59 Removing intermediate container 50dddd74a290 18:52:59 ---> 0cd3eb8cdbf0 18:52:59 Step 11/13 : COPY . . 18:52:59 ---> 7288004c4f6a 18:52:59 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:52:59 ---> Running in 122a48e055c0 18:52:59 Removing intermediate container 122a48e055c0 18:52:59 ---> e86fdcc1b974 18:52:59 Step 13/13 : RUN $MAKE 18:52:59 ---> Running in 5899adeb2ebd 18:52:59 noop 18:52:59 Removing intermediate container 5899adeb2ebd 18:52:59 ---> d49305c5ff1f 18:52:59 Successfully built d49305c5ff1f 18:52:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:00 + docker inspect -f . ci-base-image-arm64 18:53:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:00 prd-ubuntu20.04-docker-arm64-4c-16g-116955 does not seem to be running inside a container 18:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:53:03 $ docker top a89bf1e650f4c086167fb401be46506ed1ec655e0d5d515a5641b7eb1c53cb10 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:04 + go version 18:53:04 go version go1.18.7 linux/arm64 [Pipeline] } 18:53:04 $ docker stop --time=1 a89bf1e650f4c086167fb401be46506ed1ec655e0d5d515a5641b7eb1c53cb10 18:53:05 $ docker rm -f a89bf1e650f4c086167fb401be46506ed1ec655e0d5d515a5641b7eb1c53cb10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:06 + docker inspect -f . ci-base-image-arm64 18:53:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:06 prd-ubuntu20.04-docker-arm64-4c-16g-116955 does not seem to be running inside a container 18:53:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:53:08 $ docker top 14617c76d9f8bc34a59b64ab5e4d0d8bd37391f23a35cb1877a3c85e7861943b -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:09 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 18:53:09 + make test 18:53:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:54:46 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:54:46 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.148s coverage: 86.2% of statements 18:54:46 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:54:53 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.739s coverage: 71.9% of statements 18:54:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:54:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:55:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:55:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:55:25 ./bin/test-attribution.sh [Pipeline] echo 18:55:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:55:25 $ docker stop --time=1 14617c76d9f8bc34a59b64ab5e4d0d8bd37391f23a35cb1877a3c85e7861943b 18:55:27 $ docker rm -f 14617c76d9f8bc34a59b64ab5e4d0d8bd37391f23a35cb1877a3c85e7861943b [Pipeline] // withDockerContainer [Pipeline] sh 18:55:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:55:28 Warning: overwriting stash ‘coverage-report’ 18:55:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:30 + ls -al . 18:55:30 total 232 18:55:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 18:53 . 18:55:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:50 .. 18:55:30 -rw-rw-r-- 1 jenkins jenkins 262 Oct 25 18:51 .dockerignore 18:55:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 18:51 .git 18:55:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 18:51 .github 18:55:30 -rw-rw-r-- 1 jenkins jenkins 788 Oct 25 18:51 .gitignore 18:55:30 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 18:51 .golangci.yml 18:55:30 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 25 18:51 Attribution.txt 18:55:30 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 25 18:51 CHANGELOG.md 18:55:30 -rw-rw-r-- 1 jenkins jenkins 1815 Oct 25 18:51 Dockerfile 18:55:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 18:51 GOVERNANCE.md 18:55:30 -rw-rw-r-- 1 jenkins jenkins 687 Oct 25 18:51 Jenkinsfile 18:55:30 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 25 18:51 LICENSE 18:55:30 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 25 18:51 Makefile 18:55:30 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 18:51 OWNERS.md 18:55:30 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 25 18:51 README.md 18:55:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 18:43 VERSION 18:55:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:51 bin 18:55:30 -rw-r--r-- 1 jenkins jenkins 41008 Oct 25 18:54 coverage.out 18:55:30 -rw-rw-r-- 1 jenkins jenkins 3645 Oct 25 18:51 go.mod 18:55:30 -rw-rw-r-- 1 jenkins jenkins 44953 Oct 25 18:51 go.sum 18:55:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:51 images 18:55:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:51 internal 18:55:30 -rw-rw-r-- 1 jenkins jenkins 531 Oct 25 18:51 main.go 18:55:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:51 res 18:55:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:51 snap 18:55:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 18:51 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:30 + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c73c945180d2258c58a177da63ddcdd10bd56744 --label arch=arm64 --label version=0.0.0 . 18:55:30 Sending build context to Docker daemon 684.5kB 18:55:30 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 18:55:30 Step 2/30 : FROM ${BASE} AS builder 18:55:30 ---> d49305c5ff1f 18:55:30 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:55:30 ---> Running in 972cdb8880d3 18:55:31 Removing intermediate container 972cdb8880d3 18:55:31 ---> ec106f8c3f9a 18:55:31 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 18:55:31 ---> Running in 84f71084e232 18:55:31 Removing intermediate container 84f71084e232 18:55:31 ---> 02dc78034ad5 18:55:31 Step 5/30 : ARG ADD_BUILD_TAGS="" 18:55:31 ---> Running in 1d02fd852bd2 18:55:32 Removing intermediate container 1d02fd852bd2 18:55:32 ---> 52673c6cf39b 18:55:32 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:55:32 ---> Running in ac9897699f2d 18:55:32 Removing intermediate container ac9897699f2d 18:55:32 ---> 9b08778146cb 18:55:32 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:32 ---> Running in ef8251103df9 18:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:55:35 OK: 221 MiB in 51 packages 18:55:36 Removing intermediate container ef8251103df9 18:55:36 ---> 7529f763ee1d 18:55:36 Step 8/30 : WORKDIR /app 18:55:36 ---> Running in 0cd2e50ce9b9 18:55:36 Removing intermediate container 0cd2e50ce9b9 18:55:36 ---> 47bc9955a285 18:55:36 Step 9/30 : COPY go.mod vendor* ./ 18:55:38 ---> 964295b4d460 18:55:38 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:38 ---> Running in 251a4c3fa12e 18:55:41 Removing intermediate container 251a4c3fa12e 18:55:41 ---> e483d7bb68c3 18:55:41 Step 11/30 : COPY . . 18:55:41 ---> e8fa150821f5 18:55:41 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:41 ---> Running in 3112de7cf30e 18:55:42 Removing intermediate container 3112de7cf30e 18:55:42 ---> b6b9fc43419b 18:55:42 Step 13/30 : RUN $MAKE 18:55:42 ---> Running in 7061d09837e2 18:55:43 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 18:58:20 Removing intermediate container 7061d09837e2 18:58:20 ---> 84437b317567 18:58:20 Step 14/30 : FROM alpine:3.14 18:58:20 3.14: Pulling from library/alpine 18:58:20 90cda3b7c325: Pulling fs layer 18:58:20 90cda3b7c325: Verifying Checksum 18:58:20 90cda3b7c325: Download complete 18:58:20 90cda3b7c325: Pull complete 18:58:20 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 18:58:20 Status: Downloaded newer image for alpine:3.14 18:58:20 ---> 376ba31ae3da 18:58:20 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:58:20 ---> Running in 5ad5df8fd4e1 18:58:20 Removing intermediate container 5ad5df8fd4e1 18:58:20 ---> 794ccdb6bd66 18:58:20 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:58:20 ---> Running in c3de283028f6 18:58:20 Removing intermediate container c3de283028f6 18:58:20 ---> 050c44e9d0aa 18:58:20 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 18:58:20 ---> Running in 5e801af284ee 18:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:58:20 (1/7) Installing ca-certificates (20220614-r0) 18:58:20 (2/7) Installing dumb-init (1.2.5-r1) 18:58:20 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:58:20 (4/7) Installing libsodium (1.0.18-r0) 18:58:20 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:58:20 (6/7) Installing libzmq (4.3.4-r0) 18:58:20 (7/7) Installing zeromq (4.3.4-r0) 18:58:20 Executing busybox-1.33.1-r8.trigger 18:58:20 Executing ca-certificates-20220614-r0.trigger 18:58:20 OK: 9 MiB in 21 packages 18:58:20 Removing intermediate container 5e801af284ee 18:58:20 ---> 0ea0d79cf25a 18:58:20 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:58:20 ---> cc0224a85a65 18:58:20 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 18:58:20 ---> 94a898c3930b 18:58:20 Step 20/30 : COPY --from=builder /app/res/ /res/ 18:58:20 ---> cd19b377d132 18:58:20 Step 21/30 : COPY --from=builder /app/static/ /static/ 18:58:20 ---> 0064ff8c98d6 18:58:20 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:58:20 ---> bfa7fab50992 18:58:20 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:58:20 ---> Running in e139a0a4275e 18:58:20 Removing intermediate container e139a0a4275e 18:58:20 ---> 5bb77bc45086 18:58:20 Step 24/30 : VOLUME /cache 18:58:20 ---> Running in 250de894b141 18:58:21 Removing intermediate container 250de894b141 18:58:21 ---> 5c489945b56c 18:58:21 Step 25/30 : EXPOSE 59711 18:58:21 ---> Running in c31bac5a4559 18:58:21 Removing intermediate container c31bac5a4559 18:58:21 ---> 48065689d5b3 18:58:21 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:58:21 ---> Running in 507c2f053245 18:58:21 Removing intermediate container 507c2f053245 18:58:21 ---> 1fda492b0fe4 18:58:21 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 18:58:21 ---> Running in 6c9a67cfac32 18:58:22 Removing intermediate container 6c9a67cfac32 18:58:22 ---> 36fcb57142e2 18:58:22 Step 28/30 : LABEL arch=arm64 18:58:22 ---> Running in 0ae59aae8830 18:58:22 Removing intermediate container 0ae59aae8830 18:58:22 ---> 4a8312641a31 18:58:22 Step 29/30 : LABEL git_sha=c73c945180d2258c58a177da63ddcdd10bd56744 18:58:22 ---> Running in 2ef3e91ce66f 18:58:22 Removing intermediate container 2ef3e91ce66f 18:58:22 ---> 4a39b630a841 18:58:22 Step 30/30 : LABEL version=0.0.0 18:58:23 ---> Running in 18210130ca76 18:58:23 Removing intermediate container 18210130ca76 18:58:23 ---> 796af8a8f0e9 18:58:23 [Warning] One or more build-args [ARCH] were not consumed 18:58:23 Successfully built 796af8a8f0e9 18:58:23 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:24 18:58:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:24 arm64: Pulling from edgex-lftools-log-publisher 18:58:24 8998bd30e6a1: Pulling fs layer 18:58:24 04944245beec: Pulling fs layer 18:58:24 699f458cf7ca: Pulling fs layer 18:58:24 765212b225bb: Pulling fs layer 18:58:24 f23df028b6ca: Pulling fs layer 18:58:24 d65c8cfc05b1: Pulling fs layer 18:58:24 2437ff75d9bd: Pulling fs layer 18:58:24 765212b225bb: Waiting 18:58:24 f23df028b6ca: Waiting 18:58:24 d65c8cfc05b1: Waiting 18:58:24 2437ff75d9bd: Waiting 18:58:24 04944245beec: Verifying Checksum 18:58:24 04944245beec: Download complete 18:58:24 765212b225bb: Verifying Checksum 18:58:24 765212b225bb: Download complete 18:58:24 f23df028b6ca: Verifying Checksum 18:58:24 f23df028b6ca: Download complete 18:58:24 d65c8cfc05b1: Verifying Checksum 18:58:24 d65c8cfc05b1: Download complete 18:58:25 699f458cf7ca: Verifying Checksum 18:58:25 699f458cf7ca: Download complete 18:58:25 8998bd30e6a1: Verifying Checksum 18:58:25 8998bd30e6a1: Download complete 18:58:27 2437ff75d9bd: Verifying Checksum 18:58:27 2437ff75d9bd: Download complete 18:58:29 8998bd30e6a1: Pull complete 18:58:29 04944245beec: Pull complete 18:58:31 699f458cf7ca: Pull complete 18:58:31 765212b225bb: Pull complete 18:58:31 f23df028b6ca: Pull complete 18:58:32 d65c8cfc05b1: Pull complete 18:58:47 2437ff75d9bd: Pull complete 18:58:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:58:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:47 prd-ubuntu20.04-docker-arm64-4c-16g-116955 does not seem to be running inside a container 18:58:47 $ 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/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:58:50 $ docker top 2f577c683802cfe6fa0cf9b134cf355963ed560cf0bec08953f61523d108a7fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:50 ---> job-cost.sh 18:58:51 lf-activate-venv: SKIPPING 18:58:51 INFO: No Stack... 18:58:52 INFO: Retrieving Pricing Info for: v3-standard-4 18:58:52 INFO: Archiving Costs [Pipeline] sh 18:58:52 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 18:58:52 + cut -d, -f6 [Pipeline] lock 18:58:53 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] 18:58:53 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] did not exist. Created. 18:58:53 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:53 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-941e9810/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:58:53 + echo total: 0.10999999940395355 [Pipeline] stash 18:58:53 Warning: overwriting stash ‘stack-cost’ 18:58:53 Stashed 1 file(s) [Pipeline] } 18:58:53 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-118-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:53 $ docker stop --time=1 2f577c683802cfe6fa0cf9b134cf355963ed560cf0bec08953f61523d108a7fb 18:58:55 $ docker rm -f 2f577c683802cfe6fa0cf9b134cf355963ed560cf0bec08953f61523d108a7fb [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 18:58:56 provisioning config files... 18:58:56 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/config11610954520865518814tmp [Pipeline] { [Pipeline] sh 18:58:56 + set +x 18:58:56 + bash -s -- 18:58:56 + curl -s https://codecov.io/bash 18:58:56 18:58:56 _____ _ 18:58:56 / ____| | | 18:58:56 | | ___ __| | ___ ___ _____ __ 18:58:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:58:56 | |___| (_) | (_| | __/ (_| (_) \ V / 18:58:56 \_____\___/ \__,_|\___|\___\___/ \_/ 18:58:56 Bash-1.0.6 18:58:56 18:58:56 18:58:56 ==> git version 2.25.1 found 18:58:56 ==> 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 18:58:56 Release-Date: 2020-01-08 18:58:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:58:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:58:56 ==> Jenkins CI detected. 18:58:56 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-118 18:58:56 project root: . 18:58:56 --> token set from env 18:58:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:58:56 ==> Running gcov in . (disable via -X gcov) 18:58:56 ==> Python coveragepy not found 18:58:56 ==> Searching for coverage reports in: 18:58:56 + . 18:58:56 -> Found 1 reports 18:58:56 ==> Detecting git/mercurial file structure 18:58:56 ==> Reading reports 18:58:56 + ./coverage.out bytes=41008 18:58:56 ==> Appending adjustments 18:58:56 https://docs.codecov.io/docs/fixing-reports 18:58:57 + Found adjustments 18:58:57 ==> Gzipping contents 18:58:57 12K /tmp/codecov.i9eYGy.gz 18:58:57 ==> Uploading reports 18:58:57 url: https://codecov.io 18:58:57 query: branch=PR-118&commit=c73c945180d2258c58a177da63ddcdd10bd56744&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-118%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=118&job=&cmd_args= 18:58:57 -> Pinging Codecov 18:58:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-118&commit=c73c945180d2258c58a177da63ddcdd10bd56744&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-118%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=118&job=&cmd_args= 18:58:57 -> Uploading to 18:58:57 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/581DD39554BDF9B6E22D074273EAD858/c73c945180d2258c58a177da63ddcdd10bd56744/a2bd126b-f9ea-44d0-8532-ebf1b1023eb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T185857Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9731995eca442070e08bf89bc9338a7b16edaacd4e46bf802ff8321182e88409 18:58:57 % Total % Received % Xferd Average Speed Time Time Time Current 18:58:57 Dload Upload Total Spent Left Speed 18:58:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11463 0 0 100 11463 0 48572 --:--:-- --:--:-- --:--:-- 48572 18:58:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c73c945180d2258c58a177da63ddcdd10bd56744 [Pipeline] } 18:58:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:58:59 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-118/archives ] 18:58:59 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-118/archives 18:58:59 total 16 18:58:59 drwxr-xr-x 3 root root 4096 Oct 25 18:44 . 18:58:59 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 18:44 .. 18:58:59 drwxr-xr-x 2 root root 4096 Oct 25 18:44 cost 18:58:59 -rw-r--r-- 1 root root 95 Oct 25 18:44 cost.csv 18:58:59 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-118/archives 18:58:59 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-118/archives 18:58:59 total 16 18:58:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 18:44 . 18:58:59 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 18:44 .. 18:58:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 18:44 cost 18:58:59 -rw-r--r-- 1 jenkins jenkins 95 Oct 25 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:58:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:59:00 ---> package-listing.sh 18:59:00 ++ facter osfamily 18:59:00 ++ tr '[:upper:]' '[:lower:]' 18:59:00 + OS_FAMILY=debian 18:59:00 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-118 18:59:00 + START_PACKAGES=/tmp/packages_start.txt 18:59:00 + END_PACKAGES=/tmp/packages_end.txt 18:59:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:59:00 + PACKAGES=/tmp/packages_start.txt 18:59:00 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-118 ']' 18:59:00 + PACKAGES=/tmp/packages_end.txt 18:59:00 + case "${OS_FAMILY}" in 18:59:00 + dpkg -l 18:59:00 + grep '^ii' 18:59:00 + '[' -f /tmp/packages_start.txt ']' 18:59:00 + '[' -f /tmp/packages_end.txt ']' 18:59:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:59:00 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-118 ']' 18:59:00 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-118/archives/ 18:59:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-118/archives/ [Pipeline] echo 18:59:00 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/y_app-rfid-llrp-inventory_PR-118/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:59:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:59:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:01 prd-ubuntu20.04-docker-8c-8g-116949 does not seem to be running inside a container 18:59:01 $ 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/y_app-rfid-llrp-inventory_PR-118/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-118 -v /w/workspace/y_app-rfid-llrp-inventory_PR-118:/w/workspace/y_app-rfid-llrp-inventory_PR-118:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:59:02 $ docker top 714b9b397f39e25b8f1d55735c0b662ed6bdb30410875c9880bc653725d041c4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:02 + touch /tmp/pre-build-complete [Pipeline] sh 18:59:02 + mkdir -p /var/log/sysstat [Pipeline] sh 18:59:03 + ls /var/log/sa-host 18:59:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:03 provisioning config files... 18:59:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-118@tmp/config2123586419340191957tmp [Pipeline] { [Pipeline] echo 18:59:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:59:03 ---> create-netrc.sh [Pipeline] } 18:59:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:59:04 ---> python-tools-install.sh [Pipeline] echo 18:59:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:59:04 ---> sudo-logs.sh 18:59:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:59:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:59:04 ---> job-cost.sh 18:59:04 lf-activate-venv: SKIPPING 18:59:04 DEBUG: total: 0.2199999988079071 18:59:04 INFO: Retrieving Stack Cost... 18:59:05 INFO: Retrieving Pricing Info for: v3-standard-8 18:59:05 INFO: Archiving Costs [Pipeline] echo 18:59:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:59:05 ---> logs-deploy.sh 18:59:05 lf-activate-venv: SKIPPING 18:59:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-118/1 18:59:05 INFO: archiving workspace using pattern(s): 18:59:06 Archives upload complete. 18:59:07 INFO: archiving logs to Nexus