Pull request #99 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40d47d9e922d6edd252574799a298f309748d719+b5dba24a46228f203616ae131b1222b337b95a5a (b0792c3629438ec750efacea440129b0fbf199a0) 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-ssh3263150904353127400.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17710863299796433258.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1314901325867981281.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh3773398620833413867.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2326361933427098297.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera 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: device-usb-camera 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 ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118455’ is offline ‘prd-ubuntu20.04-docker-8c-8g-118456’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118460 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.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/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5dba24a46228f203616ae131b1222b337b95a5a into PR head commit 40d47d9e922d6edd252574799a298f309748d719 Merge succeeded, producing 40d47d9e922d6edd252574799a298f309748d719 Checking out Revision 40d47d9e922d6edd252574799a298f309748d719 (PR-99) Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:25:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:25:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:25:23 ========================================================= 17:25:23 EdgeX Global Pipelines Version Info 17:25:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.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/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40d47d9e922d6edd252574799a298f309748d719 # 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 b5dba24a46228f203616ae131b1222b337b95a5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40d47d9e922d6edd252574799a298f309748d719 # timeout=10 > git rev-list --no-walk cb3161bc546ebdfa412e188e89a7de2e5ca5f6c0 # timeout=10 17:25:23 ------------------- 17:25:23 stable info: 17:25:23 ------------------- 17:25:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:25:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:25:23 Message: update stable to v1.0.244 17:25:24 ------------------- 17:25:24 experimental info: 17:25:24 ------------------- 17:25:24 Commited By: **** collab-it+edgex@linuxfoundation.org 17:25:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:25:24 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 17:25:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 17:25:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 17:25:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40d47d9e922d6edd252574799a298f309748d719 [Pipeline] echo 17:25:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40d47d9 [Pipeline] echo 17:25:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:25 provisioning config files... 17:25:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config2559794374591457292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:25 ---> docker-login.sh 17:25:25 nexus3.edgexfoundry.org:10001 17:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:25 Configure a credential helper to remove this warning. See 17:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:25 17:25:25 Login Succeeded 17:25:25 nexus3.edgexfoundry.org:10002 17:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:25 Configure a credential helper to remove this warning. See 17:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:25 17:25:25 Login Succeeded 17:25:25 nexus3.edgexfoundry.org:10003 17:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:25 Configure a credential helper to remove this warning. See 17:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:25 17:25:25 Login Succeeded 17:25:25 nexus3.edgexfoundry.org:10004 17:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:25 Configure a credential helper to remove this warning. See 17:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:25 17:25:25 Login Succeeded 17:25:25 docker.io 17:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:26 Configure a credential helper to remove this warning. See 17:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:26 17:25:26 Login Succeeded 17:25:26 ---> docker-login.sh ends [Pipeline] } 17:25:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:25:26 + git rev-list -1 --merges 40d47d9e922d6edd252574799a298f309748d719~1..40d47d9e922d6edd252574799a298f309748d719 [Pipeline] echo 17:25:26 -----------> git rev-list -1 --merges 40d47d9e922d6edd252574799a298f309748d719~1..40d47d9e922d6edd252574799a298f309748d719 40d47d9e922d6edd252574799a298f309748d719 [false] [Pipeline] sh 17:25:27 + git log --format=format:%s -1 40d47d9e922d6edd252574799a298f309748d719 [Pipeline] echo 17:25:27 ========================================================= 17:25:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:25:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:27 + git log --format=format:%s -1 40d47d9e922d6edd252574799a298f309748d719 [Pipeline] echo 17:25:27 [semverPrep] GIT_COMMIT: 40d47d9e922d6edd252574799a298f309748d719, Commit Message: build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5 [Pipeline] echo 17:25:27 [semverPrep] This is not a build commit. [Pipeline] sh 17:25:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:27 + grep -v github /etc/ssh/ssh_known_hosts 17:25:27 + [ -e /tmp/ssh_known_hosts ] 17:25:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:25:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:25:27 + sudo tee -a /etc/ssh/ssh_known_hosts 17:25:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:28 17:25:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:28 0.1.4: Pulling from edgex-devops/py-git-semver 17:25:28 b85a868b505f: Pulling fs layer 17:25:28 e2be974225ed: Pulling fs layer 17:25:28 339a4e72a1f5: Pulling fs layer 17:25:28 988bab9f4d93: Pulling fs layer 17:25:28 1469e6f7b9e6: Pulling fs layer 17:25:28 eaf3925da568: Pulling fs layer 17:25:28 bab4dde63d76: Pulling fs layer 17:25:28 bde34c3a00c8: Pulling fs layer 17:25:28 b352a97aabf1: Pulling fs layer 17:25:28 4872d77fe225: Pulling fs layer 17:25:28 5851b861e8e6: Pulling fs layer 17:25:28 bde34c3a00c8: Waiting 17:25:28 988bab9f4d93: Waiting 17:25:28 1469e6f7b9e6: Waiting 17:25:28 eaf3925da568: Waiting 17:25:28 bab4dde63d76: Waiting 17:25:28 4872d77fe225: Waiting 17:25:28 b352a97aabf1: Waiting 17:25:28 5851b861e8e6: Waiting 17:25:28 e2be974225ed: Verifying Checksum 17:25:28 e2be974225ed: Download complete 17:25:28 988bab9f4d93: Verifying Checksum 17:25:28 988bab9f4d93: Download complete 17:25:28 1469e6f7b9e6: Verifying Checksum 17:25:28 1469e6f7b9e6: Download complete 17:25:28 eaf3925da568: Verifying Checksum 17:25:28 339a4e72a1f5: Verifying Checksum 17:25:28 339a4e72a1f5: Download complete 17:25:28 bde34c3a00c8: Download complete 17:25:28 b352a97aabf1: Download complete 17:25:28 4872d77fe225: Verifying Checksum 17:25:28 4872d77fe225: Download complete 17:25:28 5851b861e8e6: Download complete 17:25:28 b85a868b505f: Verifying Checksum 17:25:28 b85a868b505f: Download complete 17:25:29 bab4dde63d76: Verifying Checksum 17:25:29 bab4dde63d76: Download complete 17:25:29 b85a868b505f: Pull complete 17:25:30 e2be974225ed: Pull complete 17:25:30 339a4e72a1f5: Pull complete 17:25:30 988bab9f4d93: Pull complete 17:25:31 1469e6f7b9e6: Pull complete 17:25:31 eaf3925da568: Pull complete 17:25:33 bab4dde63d76: Pull complete 17:25:33 bde34c3a00c8: Pull complete 17:25:33 b352a97aabf1: Pull complete 17:25:33 4872d77fe225: Pull complete 17:25:33 5851b861e8e6: Pull complete 17:25:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:25:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:33 prd-ubuntu20.04-docker-8c-8g-118460 does not seem to be running inside a container 17:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:35 $ docker top a732d63b8a452416b7cc25ef4196daba315eb7c3e8608e2f58981fa4d2dc60fb -eo pid,comm 17:25:35 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). 17:25:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:35 [ssh-agent] Looking for ssh-agent implementation... 17:25:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:35 $ docker exec a732d63b8a452416b7cc25ef4196daba315eb7c3e8608e2f58981fa4d2dc60fb ssh-agent 17:25:36 SSH_AUTH_SOCK=/tmp/ssh-P1etfNAuu6Yl/agent.32 17:25:36 SSH_AGENT_PID=38 17:25:36 Running ssh-add (command line suppressed) 17:25:36 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_16198219094642971471.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_16198219094642971471.key) 17:25:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:36 + git tag --points-at HEAD [Pipeline] } 17:25:36 $ docker exec --env ******** --env ******** a732d63b8a452416b7cc25ef4196daba315eb7c3e8608e2f58981fa4d2dc60fb ssh-agent -k 17:25:36 unset SSH_AUTH_SOCK; 17:25:36 unset SSH_AGENT_PID; 17:25:36 echo Agent pid 38 killed; 17:25:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:25:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:36 [ssh-agent] Looking for ssh-agent implementation... 17:25:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:36 $ docker exec a732d63b8a452416b7cc25ef4196daba315eb7c3e8608e2f58981fa4d2dc60fb ssh-agent 17:25:36 SSH_AUTH_SOCK=/tmp/ssh-iVElLWsEbG93/agent.70 17:25:36 SSH_AGENT_PID=76 17:25:36 Running ssh-add (command line suppressed) 17:25:36 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_13393024360409255019.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_13393024360409255019.key) 17:25:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:37 + git semver init 17:25:37 2022-11-07 17:25:37,431 [run_init] DEBUG init version:0.0.0 force:False 17:25:37 2022-11-07 17:25:37,432 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 17:25:37 2022-11-07 17:25:37,432 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 17:25:37 2022-11-07 17:25:37,432 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) 17:25:38 2022-11-07 17:25:38,212 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 17:25:38 2022-11-07 17:25:38,213 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 17:25:38 2022-11-07 17:25:38,213 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 17:25:38 2022-11-07 17:25:38,217 [execute] INFO git cat-file --batch-check 17:25:38 2022-11-07 17:25:38,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 17:25:38 2022-11-07 17:25:38,224 [execute] INFO git cat-file --batch 17:25:38 2022-11-07 17:25:38,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 17:25:38 2022-11-07 17:25:38,231 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 17:25:38 0.0.0 [Pipeline] } 17:25:38 $ docker exec --env ******** --env ******** a732d63b8a452416b7cc25ef4196daba315eb7c3e8608e2f58981fa4d2dc60fb ssh-agent -k 17:25:38 unset SSH_AUTH_SOCK; 17:25:38 unset SSH_AGENT_PID; 17:25:38 echo Agent pid 76 killed; 17:25:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:38 + git semver [Pipeline] } 17:25:39 $ docker stop --time=1 a732d63b8a452416b7cc25ef4196daba315eb7c3e8608e2f58981fa4d2dc60fb 17:25:40 $ docker rm -f a732d63b8a452416b7cc25ef4196daba315eb7c3e8608e2f58981fa4d2dc60fb [Pipeline] // withDockerContainer [Pipeline] sh 17:25:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:25:40 Stashed 1 file(s) [Pipeline] echo 17:25:40 [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 17:25:41 provisioning config files... 17:25:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config5176888051394703539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:41 ---> docker-login.sh 17:25:41 nexus3.edgexfoundry.org:10001 17:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:41 Configure a credential helper to remove this warning. See 17:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:41 17:25:41 Login Succeeded 17:25:41 nexus3.edgexfoundry.org:10002 17:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:41 Configure a credential helper to remove this warning. See 17:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:41 17:25:41 Login Succeeded 17:25:41 nexus3.edgexfoundry.org:10003 17:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:41 Configure a credential helper to remove this warning. See 17:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:41 17:25:41 Login Succeeded 17:25:41 nexus3.edgexfoundry.org:10004 17:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:41 Configure a credential helper to remove this warning. See 17:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:41 17:25:41 Login Succeeded 17:25:41 docker.io 17:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:42 Configure a credential helper to remove this warning. See 17:25:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:42 17:25:42 Login Succeeded 17:25:42 ---> docker-login.sh ends [Pipeline] } 17:25:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:42 ========================================================= 17:25:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:25:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:42 + 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 . 17:25:42 Sending build context to Docker daemon 1.57MB 17:25:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:25:42 Step 2/13 : FROM ${BASE} AS builder 17:25:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:25:42 213ec9aee27d: Pulling fs layer 17:25:42 4583459ba037: Pulling fs layer 17:25:42 93c1e223e6f2: Pulling fs layer 17:25:42 53926ce57604: Pulling fs layer 17:25:42 21b2b0c7a3f4: Pulling fs layer 17:25:42 22ff95d597cd: Pulling fs layer 17:25:42 12d6caf4c0d1: Pulling fs layer 17:25:42 96b7cbca73a9: Pulling fs layer 17:25:42 a7acece74701: Pulling fs layer 17:25:42 53926ce57604: Waiting 17:25:42 21b2b0c7a3f4: Waiting 17:25:42 22ff95d597cd: Waiting 17:25:42 12d6caf4c0d1: Waiting 17:25:42 96b7cbca73a9: Waiting 17:25:42 a7acece74701: Waiting 17:25:42 93c1e223e6f2: Verifying Checksum 17:25:42 93c1e223e6f2: Download complete 17:25:42 4583459ba037: Verifying Checksum 17:25:42 4583459ba037: Download complete 17:25:42 21b2b0c7a3f4: Verifying Checksum 17:25:42 21b2b0c7a3f4: Download complete 17:25:42 22ff95d597cd: Verifying Checksum 17:25:42 22ff95d597cd: Download complete 17:25:42 213ec9aee27d: Verifying Checksum 17:25:42 213ec9aee27d: Download complete 17:25:42 12d6caf4c0d1: Verifying Checksum 17:25:42 12d6caf4c0d1: Download complete 17:25:42 213ec9aee27d: Pull complete 17:25:43 4583459ba037: Pull complete 17:25:43 93c1e223e6f2: Pull complete 17:25:43 a7acece74701: Verifying Checksum 17:25:43 a7acece74701: Download complete 17:25:43 53926ce57604: Verifying Checksum 17:25:43 53926ce57604: Download complete 17:25:43 96b7cbca73a9: Verifying Checksum 17:25:43 96b7cbca73a9: Download complete 17:25:47 53926ce57604: Pull complete 17:25:47 21b2b0c7a3f4: Pull complete 17:25:47 22ff95d597cd: Pull complete 17:25:47 12d6caf4c0d1: Pull complete 17:25:49 96b7cbca73a9: Pull complete 17:25:50 a7acece74701: Pull complete 17:25:50 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:25:50 ---> db6d94c90886 17:25:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:25:54 ---> Running in 0ca46557669c 17:25:54 Removing intermediate container 0ca46557669c 17:25:54 ---> 5c68a333d063 17:25:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:25:54 ---> Running in 23803339f047 17:25:54 Removing intermediate container 23803339f047 17:25:54 ---> bb640d9ccff6 17:25:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:25:54 ---> Running in 493742755b00 17:25:54 Removing intermediate container 493742755b00 17:25:54 ---> 00625837a577 17:25:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:25:54 ---> Running in 3415a7197f8b 17:25:54 Removing intermediate container 3415a7197f8b 17:25:54 ---> bb8975cbd73d 17:25:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:54 ---> Running in d1a7f9386ad2 17:25:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:25:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:25:55 (1/80) Installing mesa (21.3.8-r2) 17:25:55 (2/80) Installing libxau (1.0.9-r0) 17:25:55 (3/80) Installing libxdmcp (1.1.3-r0) 17:25:55 (4/80) Installing libxcb (1.15-r0) 17:25:55 (5/80) Installing libx11 (1.8-r0) 17:25:55 (6/80) Installing libxext (1.3.4-r0) 17:25:55 (7/80) Installing libxfixes (6.0.0-r0) 17:25:55 (8/80) Installing libxxf86vm (1.1.4-r2) 17:25:55 (9/80) Installing libpciaccess (0.16-r0) 17:25:55 (10/80) Installing libdrm (2.4.110-r0) 17:25:55 (11/80) Installing mesa-glapi (21.3.8-r2) 17:25:55 (12/80) Installing libxshmfence (1.3-r1) 17:25:55 (13/80) Installing mesa-gl (21.3.8-r2) 17:25:55 (14/80) Installing icu-data-full (71.1-r2) 17:25:55 (15/80) Installing libice (1.0.10-r0) 17:25:55 (16/80) Installing libuuid (2.38-r1) 17:25:55 (17/80) Installing libsm (1.2.3-r0) 17:25:55 (18/80) Installing libxt (1.2.1-r0) 17:25:55 (19/80) Installing libxmu (1.1.3-r0) 17:25:55 (20/80) Installing xset (1.2.4-r0) 17:25:55 (21/80) Installing xprop (1.2.5-r0) 17:25:55 (22/80) Installing xdg-utils (1.1.3-r3) 17:25:55 (23/80) Installing dbus-libs (1.14.4-r0) 17:25:55 (24/80) Installing libffi (3.4.2-r1) 17:25:55 (25/80) Installing libintl (0.21-r2) 17:25:55 (26/80) Installing libblkid (2.38-r1) 17:25:55 (27/80) Installing libmount (2.38-r1) 17:25:55 (28/80) Installing pcre (8.45-r2) 17:25:55 (29/80) Installing glib (2.72.1-r0) 17:25:55 (30/80) Installing icu-libs (71.1-r2) 17:25:55 (31/80) Installing libpcre2-16 (10.40-r0) 17:25:55 (32/80) Installing zstd-libs (1.5.2-r1) 17:25:55 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:25:55 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:25:55 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:25:55 (36/80) Installing mesa-gbm (21.3.8-r2) 17:25:55 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:25:55 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:25:55 (39/80) Installing libxcomposite (0.4.5-r0) 17:25:55 (40/80) Installing libbz2 (1.0.8-r1) 17:25:55 (41/80) Installing libpng (1.6.37-r1) 17:25:55 (42/80) Installing freetype (2.12.1-r0) 17:25:55 (43/80) Installing fontconfig (2.14.0-r0) 17:25:55 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:25:55 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:25:55 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:25:55 (47/80) Installing xz-libs (5.2.5-r1) 17:25:55 (48/80) Installing libxml2 (2.9.14-r2) 17:25:55 (49/80) Installing libxkbcommon (1.4.1-r0) 17:25:55 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:25:55 (51/80) Installing mesa-egl (21.3.8-r2) 17:25:55 (52/80) Installing avahi-libs (0.8-r6) 17:25:55 (53/80) Installing nettle (3.7.3-r0) 17:25:55 (54/80) Installing p11-kit (0.24.1-r0) 17:25:55 (55/80) Installing libtasn1 (4.18.0-r0) 17:25:55 (56/80) Installing libunistring (1.0-r0) 17:25:55 (57/80) Installing gnutls (3.7.7-r0) 17:25:55 (58/80) Installing cups-libs (2.4.2-r0) 17:25:55 (59/80) Installing graphite2 (1.3.14-r1) 17:25:55 (60/80) Installing harfbuzz (4.3.0-r0) 17:25:55 (61/80) Installing libevdev (1.12.1-r0) 17:25:55 (62/80) Installing mtdev (1.1.6-r0) 17:25:55 (63/80) Installing eudev-libs (3.2.11-r0) 17:25:55 (64/80) Installing libinput-libs (1.20.1-r0) 17:25:55 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:25:55 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:25:55 (67/80) Installing xcb-util (0.4.0-r3) 17:25:55 (68/80) Installing xcb-util-image (0.4.0-r1) 17:25:55 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:25:55 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:25:55 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:25:55 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:25:56 Still waiting to schedule task 17:25:56 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118457’ 17:25:56 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:25:56 (74/80) Installing v4l-utils (1.22.1-r1) 17:25:56 (75/80) Installing udev-init-scripts (35-r0) 17:25:56 Executing udev-init-scripts-35-r0.post-install 17:25:56 (76/80) Installing kmod-libs (29-r2) 17:25:56 (77/80) Installing eudev (3.2.11-r0) 17:25:56 (78/80) Installing eudev-dev (3.2.11-r0) 17:25:56 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:25:56 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:25:56 Executing busybox-1.35.0-r17.trigger 17:25:56 Executing eudev-3.2.11-r0.trigger 17:25:56 OK: 330 MiB in 131 packages 17:25:59 Removing intermediate container d1a7f9386ad2 17:25:59 ---> 58b80c3684d5 17:25:59 Step 8/13 : WORKDIR /device-usb-camera 17:25:59 ---> Running in 70c95df02eaf 17:25:59 Removing intermediate container 70c95df02eaf 17:25:59 ---> 71846b067653 17:25:59 Step 9/13 : COPY go.mod vendor* ./ 17:25:59 ---> 7ddbc63f04be 17:25:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:59 ---> Running in 880dfa320885 17:26:21 Removing intermediate container 880dfa320885 17:26:21 ---> 1f5f934b1757 17:26:21 Step 11/13 : COPY . . 17:26:21 ---> 4fc29a0bcf35 17:26:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:26:21 ---> Running in 4ea39bea8fcf 17:26:21  % Total % Received % Xferd Average Speed Time Time Time Current 17:26:21 Dload Upload Total Spent Left Speed 17:26:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43163 0 --:--:-- --:--:-- --:--:-- 44250 17:26:21 Removing intermediate container 4ea39bea8fcf 17:26:21 ---> ff86928b8ffd 17:26:21 Step 13/13 : RUN ${MAKE} 17:26:21 ---> Running in fea0d987850b 17:26:21 noop 17:26:21 Removing intermediate container fea0d987850b 17:26:21 ---> 87398e6aa279 17:26:21 Successfully built 87398e6aa279 17:26:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:21 + docker inspect -f . ci-base-image-x86_64 17:26:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:21 prd-ubuntu20.04-docker-8c-8g-118460 does not seem to be running inside a container 17:26:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat 17:26:22 $ docker top 0ca7dec25f8b0d4f31e0fb800887aa041a8014faa80392bcf1bdad9695399d52 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:22 + go version 17:26:22 go version go1.18.7 linux/amd64 [Pipeline] } 17:26:22 $ docker stop --time=1 0ca7dec25f8b0d4f31e0fb800887aa041a8014faa80392bcf1bdad9695399d52 17:26:23 $ docker rm -f 0ca7dec25f8b0d4f31e0fb800887aa041a8014faa80392bcf1bdad9695399d52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:24 + docker inspect -f . ci-base-image-x86_64 17:26:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:24 prd-ubuntu20.04-docker-8c-8g-118460 does not seem to be running inside a container 17:26:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat 17:26:24 $ docker top 8370f89ee3c12afd0e950fb4d04e5ba4a6023d2f9fbca153264b1720d3b8cac6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:25 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 17:26:25 + make test 17:26:25 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:26:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:26:37 # github.com/edgexfoundry/device-usb-camera/internal/driver 17:26:37 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 17:26:37 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 17:26:37 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 17:26:37 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 17:26:37 $ docker stop --time=1 8370f89ee3c12afd0e950fb4d04e5ba4a6023d2f9fbca153264b1720d3b8cac6 17:26:40 $ docker rm -f 8370f89ee3c12afd0e950fb4d04e5ba4a6023d2f9fbca153264b1720d3b8cac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:40 17:26:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:40 latest: Pulling from edgex-lftools-log-publisher 17:26:40 5eb5b503b376: Pulling fs layer 17:26:40 5c69ac0246d0: Pulling fs layer 17:26:40 ec43610c2a17: Pulling fs layer 17:26:40 3a2ae6a8a46f: Pulling fs layer 17:26:40 33b1e0a273af: Pulling fs layer 17:26:40 5d3b04190fa2: Pulling fs layer 17:26:40 33b1e0a273af: Waiting 17:26:40 3a2ae6a8a46f: Waiting 17:26:40 5d3b04190fa2: Waiting 17:26:40 2f39f015ded8: Pulling fs layer 17:26:40 5c69ac0246d0: Download complete 17:26:40 3a2ae6a8a46f: Verifying Checksum 17:26:40 3a2ae6a8a46f: Download complete 17:26:41 33b1e0a273af: Verifying Checksum 17:26:41 33b1e0a273af: Download complete 17:26:41 5d3b04190fa2: Download complete 17:26:41 ec43610c2a17: Verifying Checksum 17:26:41 ec43610c2a17: Download complete 17:26:41 5eb5b503b376: Verifying Checksum 17:26:41 5eb5b503b376: Download complete 17:26:41 2f39f015ded8: Verifying Checksum 17:26:41 2f39f015ded8: Download complete 17:26:42 5eb5b503b376: Pull complete 17:26:42 5c69ac0246d0: Pull complete 17:26:42 ec43610c2a17: Pull complete 17:26:43 3a2ae6a8a46f: Pull complete 17:26:43 33b1e0a273af: Pull complete 17:26:43 5d3b04190fa2: Pull complete 17:26:47 2f39f015ded8: Pull complete 17:26:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:26:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:47 prd-ubuntu20.04-docker-8c-8g-118460 does not seem to be running inside a container 17:26: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/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:26:50 $ docker top cb806b8a688ab9a800881089a93433f7f141d1f8d74aefcafde1de0bf0e7d014 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:50 ---> job-cost.sh 17:26:50 lf-activate-venv: SKIPPING 17:26:50 INFO: No Stack... 17:26:51 INFO: Retrieving Pricing Info for: v3-standard-8 17:26:51 INFO: Archiving Costs [Pipeline] sh 17:26:51 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 17:26:51 + cut -d, -f6 [Pipeline] lock 17:26:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] 17:26:51 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] did not exist. Created. 17:26:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:26:51 + echo total: 0.2199999988079071 [Pipeline] stash 17:26:51 Stashed 1 file(s) [Pipeline] } 17:26:51 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:51 $ docker stop --time=1 cb806b8a688ab9a800881089a93433f7f141d1f8d74aefcafde1de0bf0e7d014 17:26:53 $ docker rm -f cb806b8a688ab9a800881089a93433f7f141d1f8d74aefcafde1de0bf0e7d014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:26:53 Failed in branch amd64 17:28:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118465 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 17:28:48 Running in /w/workspace/device-usb-camera/14 [Pipeline] { [Pipeline] checkout 17:28:48 Selected Git installation does not exist. Using Default 17:28:48 The recommended git tool is: NONE 17:28:59 using credential edgex-jenkins-ssh 17:28:59 Cloning the remote Git repository 17:28:59 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:29:00 > git init /w/workspace/device-usb-camera/14 # timeout=10 17:29:00 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:29:00 > git --version # timeout=10 17:29:00 > git --version # 'git version 2.25.1' 17:29:00 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:00 Verifying host key using known hosts file 17:29:00 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. 17:29:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:01 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:29:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:03 Merging remotes/origin/main commit b5dba24a46228f203616ae131b1222b337b95a5a into PR head commit 40d47d9e922d6edd252574799a298f309748d719 17:29:04 Merge succeeded, producing 40d47d9e922d6edd252574799a298f309748d719 17:29:04 Checking out Revision 40d47d9e922d6edd252574799a298f309748d719 (PR-99) 17:29:03 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:29:03 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:29:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:03 Verifying host key using known hosts file 17:29:03 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. 17:29:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:29:03 > git config core.sparsecheckout # timeout=10 17:29:03 > git checkout -f 40d47d9e922d6edd252574799a298f309748d719 # timeout=10 17:29:04 > git remote # timeout=10 17:29:04 > git config --get remote.origin.url # timeout=10 17:29:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:04 Verifying host key using known hosts file 17:29:04 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. 17:29:04 > git merge b5dba24a46228f203616ae131b1222b337b95a5a # timeout=10 17:29:04 > git rev-parse HEAD^{commit} # timeout=10 17:29:04 > git config core.sparsecheckout # timeout=10 17:29:04 > git checkout -f 40d47d9e922d6edd252574799a298f309748d719 # timeout=10 17:29:05 Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:29:06 % Total % Received % Xferd Average Speed Time Time Time Current 17:29:06 Dload Upload Total Spent Left Speed 17:29:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 17:29:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:29:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:29:07 + sudo tee /etc/docker/daemon.new 17:29:07 { 17:29:07 "registry-mirrors": [ 17:29:07 "https://nexus3.edgexfoundry.org:10001" 17:29:07 ], 17:29:07 "bip": "10.250.0.254/24", 17:29:07 "hosts": [ 17:29:07 "tcp://0.0.0.0:5555", 17:29:07 "unix:///var/run/docker.sock" 17:29:07 ], 17:29:07 "mtu": 1458, 17:29:07 "selinux-enabled": true, 17:29:07 "seccomp-profile": "/etc/docker/seccomp.json" 17:29:07 } [Pipeline] sh 17:29:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:29:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:26 provisioning config files... 17:29:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/14@tmp/config2477536606124631257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:26 ---> docker-login.sh 17:29:26 nexus3.edgexfoundry.org:10001 17:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:27 Configure a credential helper to remove this warning. See 17:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:27 17:29:27 Login Succeeded 17:29:27 nexus3.edgexfoundry.org:10002 17:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:28 Configure a credential helper to remove this warning. See 17:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:28 17:29:28 Login Succeeded 17:29:28 nexus3.edgexfoundry.org:10003 17:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:28 Configure a credential helper to remove this warning. See 17:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:28 17:29:28 Login Succeeded 17:29:28 nexus3.edgexfoundry.org:10004 17:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:28 Configure a credential helper to remove this warning. See 17:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:28 17:29:28 Login Succeeded 17:29:29 docker.io 17:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:29 Configure a credential helper to remove this warning. See 17:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:29 17:29:29 Login Succeeded 17:29:29 ---> docker-login.sh ends [Pipeline] } 17:29:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:29 ========================================================= 17:29:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:29:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:30 + 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 . 17:29:30 Sending build context to Docker daemon 1.029MB 17:29:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:29:30 Step 2/13 : FROM ${BASE} AS builder 17:29:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:29:30 9b18e9b68314: Pulling fs layer 17:29:30 35d82f9e3411: Pulling fs layer 17:29:30 e16973657156: Pulling fs layer 17:29:30 fc693d55d65f: Pulling fs layer 17:29:30 7e9fc2657dce: Pulling fs layer 17:29:30 dda99020689f: Pulling fs layer 17:29:30 db1c61fa0a46: Pulling fs layer 17:29:30 891c053d2c06: Pulling fs layer 17:29:30 fc693d55d65f: Waiting 17:29:30 7e9fc2657dce: Waiting 17:29:30 dda99020689f: Waiting 17:29:30 db1c61fa0a46: Waiting 17:29:30 e16973657156: Verifying Checksum 17:29:30 e16973657156: Download complete 17:29:30 35d82f9e3411: Verifying Checksum 17:29:30 35d82f9e3411: Download complete 17:29:30 7e9fc2657dce: Verifying Checksum 17:29:30 7e9fc2657dce: Download complete 17:29:30 dda99020689f: Verifying Checksum 17:29:30 dda99020689f: Download complete 17:29:30 9b18e9b68314: Verifying Checksum 17:29:30 9b18e9b68314: Download complete 17:29:31 9b18e9b68314: Pull complete 17:29:32 891c053d2c06: Verifying Checksum 17:29:32 891c053d2c06: Download complete 17:29:32 35d82f9e3411: Pull complete 17:29:32 e16973657156: Pull complete 17:29:34 db1c61fa0a46: Verifying Checksum 17:29:34 db1c61fa0a46: Download complete 17:29:34 fc693d55d65f: Verifying Checksum 17:29:34 fc693d55d65f: Download complete 17:29:46 fc693d55d65f: Pull complete 17:29:46 7e9fc2657dce: Pull complete 17:29:46 dda99020689f: Pull complete 17:29:53 db1c61fa0a46: Pull complete 17:29:55 891c053d2c06: Pull complete 17:29:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:29:55 ---> f96f9c87975a 17:29:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:29:56 ---> Running in dcc3a6dd7cd6 17:29:57 Removing intermediate container dcc3a6dd7cd6 17:29:57 ---> d672271d5ebf 17:29:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:29:57 ---> Running in 188cc9404105 17:29:57 Removing intermediate container 188cc9404105 17:29:57 ---> 4cccfbbebe69 17:29:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:29:57 ---> Running in 356fc14f7ab1 17:29:58 Removing intermediate container 356fc14f7ab1 17:29:58 ---> 74c0e5c6de03 17:29:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:29:58 ---> Running in abb484949510 17:29:58 Removing intermediate container abb484949510 17:29:58 ---> f30bc929d2a0 17:29:58 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:58 ---> Running in 976c36bcb3cb 17:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:01 (1/14) Installing libintl (0.21-r2) 17:30:01 (2/14) Installing eudev-libs (3.2.11-r0) 17:30:01 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:30:01 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:30:01 (5/14) Installing v4l-utils (1.22.1-r1) 17:30:01 (6/14) Installing udev-init-scripts (35-r0) 17:30:01 Executing udev-init-scripts-35-r0.post-install 17:30:01 (7/14) Installing libblkid (2.38-r1) 17:30:01 (8/14) Installing xz-libs (5.2.5-r1) 17:30:01 (9/14) Installing zstd-libs (1.5.2-r1) 17:30:01 (10/14) Installing kmod-libs (29-r2) 17:30:01 (11/14) Installing eudev (3.2.11-r0) 17:30:01 (12/14) Installing eudev-dev (3.2.11-r0) 17:30:01 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:30:01 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:30:01 Executing busybox-1.35.0-r17.trigger 17:30:01 Executing eudev-3.2.11-r0.trigger 17:30:01 OK: 228 MiB in 65 packages 17:30:03 Removing intermediate container 976c36bcb3cb 17:30:03 ---> e9df8ba82d20 17:30:03 Step 8/13 : WORKDIR /device-usb-camera 17:30:03 ---> Running in 500da5773e11 17:30:03 Removing intermediate container 500da5773e11 17:30:03 ---> fac48bfff91d 17:30:03 Step 9/13 : COPY go.mod vendor* ./ 17:30:06 ---> 926eb903b3b4 17:30:06 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:06 ---> Running in 54d9e4b0c7a8 17:31:14 Removing intermediate container 54d9e4b0c7a8 17:31:14 ---> b0d864252902 17:31:14 Step 11/13 : COPY . . 17:31:14 ---> f12ece09411c 17:31:14 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:31:14 ---> Running in c7198b124eb5 17:31:14  % Total % Received % Xferd Average Speed Time Time Time Current 17:31:14 Dload Upload Total Spent Left Speed 17:31:14 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11471 0 --:--:-- --:--:-- --:--:-- 11419 17:31:14 Removing intermediate container c7198b124eb5 17:31:14 ---> 3f72512d8b71 17:31:14 Step 13/13 : RUN ${MAKE} 17:31:14 ---> Running in c011b50995a4 17:31:14 noop 17:31:14 Removing intermediate container c011b50995a4 17:31:14 ---> 3fbb425b1978 17:31:14 Successfully built 3fbb425b1978 17:31:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:14 + docker inspect -f . ci-base-image-arm64 17:31:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:14 prd-ubuntu20.04-docker-arm64-4c-16g-118465 does not seem to be running inside a container 17:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@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 ******** ci-base-image-arm64 cat 17:31:16 $ docker top ea2d24b6bea6613d3c1ac302ad7cb0d45d6c4585d087f87c4dd1544c416accb5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:17 + go version 17:31:17 go version go1.18.7 linux/arm64 [Pipeline] } 17:31:17 $ docker stop --time=1 ea2d24b6bea6613d3c1ac302ad7cb0d45d6c4585d087f87c4dd1544c416accb5 17:31:19 $ docker rm -f ea2d24b6bea6613d3c1ac302ad7cb0d45d6c4585d087f87c4dd1544c416accb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:19 + docker inspect -f . ci-base-image-arm64 17:31:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:19 prd-ubuntu20.04-docker-arm64-4c-16g-118465 does not seem to be running inside a container 17:31:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@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 ******** ci-base-image-arm64 cat 17:31:21 $ docker top cf7ea1e34e9ebca723ed599c355f92bd48fdb7b1375d05dbb9233965a89bff91 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:22 + git config --global --add safe.directory /w/workspace/device-usb-camera/14 [Pipeline] fileExists [Pipeline] sh 17:31:23 + make test 17:31:23 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:31:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:33:32 # github.com/edgexfoundry/device-usb-camera/internal/driver 17:33:32 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 17:33:32 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 17:33:32 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 17:33:32 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 17:33:32 $ docker stop --time=1 cf7ea1e34e9ebca723ed599c355f92bd48fdb7b1375d05dbb9233965a89bff91 17:33:34 $ docker rm -f cf7ea1e34e9ebca723ed599c355f92bd48fdb7b1375d05dbb9233965a89bff91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:35 17:33:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:36 arm64: Pulling from edgex-lftools-log-publisher 17:33:36 8998bd30e6a1: Pulling fs layer 17:33:36 04944245beec: Pulling fs layer 17:33:36 699f458cf7ca: Pulling fs layer 17:33:36 765212b225bb: Pulling fs layer 17:33:36 f23df028b6ca: Pulling fs layer 17:33:36 d65c8cfc05b1: Pulling fs layer 17:33:36 2437ff75d9bd: Pulling fs layer 17:33:36 f23df028b6ca: Waiting 17:33:36 d65c8cfc05b1: Waiting 17:33:36 2437ff75d9bd: Waiting 17:33:36 765212b225bb: Waiting 17:33:36 04944245beec: Verifying Checksum 17:33:36 04944245beec: Download complete 17:33:36 765212b225bb: Download complete 17:33:36 f23df028b6ca: Verifying Checksum 17:33:36 f23df028b6ca: Download complete 17:33:36 d65c8cfc05b1: Verifying Checksum 17:33:36 d65c8cfc05b1: Download complete 17:33:36 699f458cf7ca: Verifying Checksum 17:33:36 699f458cf7ca: Download complete 17:33:37 8998bd30e6a1: Verifying Checksum 17:33:37 8998bd30e6a1: Download complete 17:33:40 2437ff75d9bd: Verifying Checksum 17:33:40 2437ff75d9bd: Download complete 17:33:41 8998bd30e6a1: Pull complete 17:33:42 04944245beec: Pull complete 17:33:43 699f458cf7ca: Pull complete 17:33:44 765212b225bb: Pull complete 17:33:45 f23df028b6ca: Pull complete 17:33:45 d65c8cfc05b1: Pull complete 17:34:00 2437ff75d9bd: Pull complete 17:34:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:00 prd-ubuntu20.04-docker-arm64-4c-16g-118465 does not seem to be running inside a container 17:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@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:arm64 cat 17:34:04 $ docker top 79bc414eb9eab2863a4cbc90c8975f5fd36263dc3acf0eb1b7fafc2278544ebf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:05 ---> job-cost.sh 17:34:05 lf-activate-venv: SKIPPING 17:34:05 INFO: No Stack... 17:34:05 INFO: Retrieving Pricing Info for: v3-standard-4 17:34:06 INFO: Archiving Costs [Pipeline] sh 17:34:07 + cat /w/workspace/device-usb-camera/14/archives/cost.csv 17:34:07 + cut -d, -f6 [Pipeline] lock 17:34:07 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] 17:34:07 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] did not exist. Created. 17:34:07 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:08 /w/workspace/device-usb-camera/14@tmp/durable-a2bac51a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:34:08 + echo total: 0.10999999940395355 [Pipeline] stash 17:34:08 Warning: overwriting stash ‘stack-cost’ 17:34:09 Stashed 1 file(s) [Pipeline] } 17:34:09 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-14-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:09 $ docker stop --time=1 79bc414eb9eab2863a4cbc90c8975f5fd36263dc3acf0eb1b7fafc2278544ebf 17:34:11 $ docker rm -f 79bc414eb9eab2863a4cbc90c8975f5fd36263dc3acf0eb1b7fafc2278544ebf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:34:11 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:34:15 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 17:34:15 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 17:34:15 total 16 17:34:15 drwxr-xr-x 3 root root 4096 Nov 7 17:26 . 17:34:15 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:26 .. 17:34:15 drwxr-xr-x 2 root root 4096 Nov 7 17:26 cost 17:34:15 -rw-r--r-- 1 root root 89 Nov 7 17:26 cost.csv 17:34:15 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 17:34:15 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 17:34:15 total 16 17:34:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:26 . 17:34:15 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:26 .. 17:34:15 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:26 cost 17:34:15 -rw-r--r-- 1 jenkins jenkins 89 Nov 7 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:34:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:34:16 ---> package-listing.sh 17:34:16 ++ facter osfamily 17:34:16 ++ tr '[:upper:]' '[:lower:]' 17:34:17 + OS_FAMILY=debian 17:34:17 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 17:34:17 + START_PACKAGES=/tmp/packages_start.txt 17:34:17 + END_PACKAGES=/tmp/packages_end.txt 17:34:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:34:17 + PACKAGES=/tmp/packages_start.txt 17:34:17 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 17:34:17 + PACKAGES=/tmp/packages_end.txt 17:34:17 + case "${OS_FAMILY}" in 17:34:17 + dpkg -l 17:34:17 + grep '^ii' 17:34:17 + '[' -f /tmp/packages_start.txt ']' 17:34:17 + '[' -f /tmp/packages_end.txt ']' 17:34:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:34:17 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 17:34:17 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 17:34:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo 17:34:17 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:34:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:18 prd-ubuntu20.04-docker-8c-8g-118460 does not seem to be running inside a container 17:34:18 $ 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:34:18 $ docker top 2c79c2ea78672609679ca051bfd620b0fcc6906502dec4162608c5fea788c390 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:18 + touch /tmp/pre-build-complete [Pipeline] sh 17:34:18 + mkdir -p /var/log/sysstat [Pipeline] sh 17:34:19 + ls /var/log/sa-host 17:34:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:19 provisioning config files... 17:34:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config17843961316277855159tmp [Pipeline] { [Pipeline] echo 17:34:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:34:19 ---> create-netrc.sh [Pipeline] } 17:34:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:34:19 ---> python-tools-install.sh [Pipeline] echo 17:34:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:34:20 ---> sudo-logs.sh 17:34:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:34:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:34:20 ---> job-cost.sh 17:34:20 lf-activate-venv: SKIPPING 17:34:20 DEBUG: total: 0.2199999988079071 17:34:20 INFO: Retrieving Stack Cost... 17:34:21 INFO: Retrieving Pricing Info for: v3-standard-8 17:34:21 INFO: Archiving Costs [Pipeline] echo 17:34:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:34:21 ---> logs-deploy.sh 17:34:21 lf-activate-venv: SKIPPING 17:34:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/14 17:34:21 INFO: archiving workspace using pattern(s): 17:34:22 Archives upload complete. 17:34:22 INFO: archiving logs to Nexus