Pull request #99 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4aba8cca995d5308e86008ac4043bd77e532bb5a+059aeb0713fc4e07acd8c370d817b94cb81fd04d (119e959d7499903fbab9d97df252ba0cc0b0672e) 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-ssh9081681150424288487.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-ssh10959969059752929875.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-ssh16361992731174588753.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-ssh11477862433579937907.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-ssh726527514327082322.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118701 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 Merging remotes/origin/main commit 059aeb0713fc4e07acd8c370d817b94cb81fd04d into PR head commit 4aba8cca995d5308e86008ac4043bd77e532bb5a > 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 > 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 Merge succeeded, producing 4aba8cca995d5308e86008ac4043bd77e532bb5a Checking out Revision 4aba8cca995d5308e86008ac4043bd77e532bb5a (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 23:53:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:53:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:53:48 ========================================================= 23:53:48 EdgeX Global Pipelines Version Info 23:53:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # 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 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 > git rev-list --no-walk 40d47d9e922d6edd252574799a298f309748d719 # timeout=10 23:53:48 ------------------- 23:53:48 stable info: 23:53:48 ------------------- 23:53:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:53:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:53:48 Message: update stable to v1.0.244 23:53:49 ------------------- 23:53:49 experimental info: 23:53:49 ------------------- 23:53:49 Commited By: **** collab-it+edgex@linuxfoundation.org 23:53:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:53:49 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:53:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4aba8cca995d5308e86008ac4043bd77e532bb5a [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4aba8cc [Pipeline] echo 23:53:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:50 provisioning config files... 23:53:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config15731901655987025424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:50 ---> docker-login.sh 23:53:50 nexus3.edgexfoundry.org:10001 23:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:50 Configure a credential helper to remove this warning. See 23:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:50 23:53:50 Login Succeeded 23:53:50 nexus3.edgexfoundry.org:10002 23:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:50 Configure a credential helper to remove this warning. See 23:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:50 23:53:50 Login Succeeded 23:53:50 nexus3.edgexfoundry.org:10003 23:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:51 Configure a credential helper to remove this warning. See 23:53:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:51 23:53:51 Login Succeeded 23:53:51 nexus3.edgexfoundry.org:10004 23:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:51 Configure a credential helper to remove this warning. See 23:53:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:51 23:53:51 Login Succeeded 23:53:51 docker.io 23:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:51 Configure a credential helper to remove this warning. See 23:53:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:51 23:53:51 Login Succeeded 23:53:51 ---> docker-login.sh ends [Pipeline] } 23:53:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:53:51 + git rev-list -1 --merges 4aba8cca995d5308e86008ac4043bd77e532bb5a~1..4aba8cca995d5308e86008ac4043bd77e532bb5a [Pipeline] echo 23:53:51 -----------> git rev-list -1 --merges 4aba8cca995d5308e86008ac4043bd77e532bb5a~1..4aba8cca995d5308e86008ac4043bd77e532bb5a 4aba8cca995d5308e86008ac4043bd77e532bb5a [false] [Pipeline] sh 23:53:52 + git log --format=format:%s -1 4aba8cca995d5308e86008ac4043bd77e532bb5a [Pipeline] echo 23:53:52 ========================================================= 23:53:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:53:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:53:52 + git log --format=format:%s -1 4aba8cca995d5308e86008ac4043bd77e532bb5a [Pipeline] echo 23:53:52 [semverPrep] GIT_COMMIT: 4aba8cca995d5308e86008ac4043bd77e532bb5a, Commit Message: build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5 [Pipeline] echo 23:53:52 [semverPrep] This is not a build commit. [Pipeline] sh 23:53:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:53:52 + grep -v github /etc/ssh/ssh_known_hosts 23:53:52 + [ -e /tmp/ssh_known_hosts ] 23:53:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:53:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:53:52 + sudo tee -a /etc/ssh/ssh_known_hosts 23:53:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:53 23:53:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:53 0.1.4: Pulling from edgex-devops/py-git-semver 23:53:53 b85a868b505f: Pulling fs layer 23:53:53 e2be974225ed: Pulling fs layer 23:53:53 339a4e72a1f5: Pulling fs layer 23:53:53 988bab9f4d93: Pulling fs layer 23:53:53 1469e6f7b9e6: Pulling fs layer 23:53:53 eaf3925da568: Pulling fs layer 23:53:53 988bab9f4d93: Waiting 23:53:53 1469e6f7b9e6: Waiting 23:53:53 bab4dde63d76: Pulling fs layer 23:53:53 bde34c3a00c8: Pulling fs layer 23:53:53 b352a97aabf1: Pulling fs layer 23:53:53 4872d77fe225: Pulling fs layer 23:53:53 5851b861e8e6: Pulling fs layer 23:53:53 eaf3925da568: Waiting 23:53:53 bab4dde63d76: Waiting 23:53:53 bde34c3a00c8: Waiting 23:53:53 b352a97aabf1: Waiting 23:53:53 4872d77fe225: Waiting 23:53:53 5851b861e8e6: Waiting 23:53:53 e2be974225ed: Verifying Checksum 23:53:53 e2be974225ed: Download complete 23:53:53 988bab9f4d93: Download complete 23:53:53 339a4e72a1f5: Verifying Checksum 23:53:53 339a4e72a1f5: Download complete 23:53:53 1469e6f7b9e6: Verifying Checksum 23:53:53 1469e6f7b9e6: Download complete 23:53:53 eaf3925da568: Verifying Checksum 23:53:53 eaf3925da568: Download complete 23:53:53 bde34c3a00c8: Download complete 23:53:53 b352a97aabf1: Download complete 23:53:53 4872d77fe225: Download complete 23:53:53 5851b861e8e6: Download complete 23:53:53 b85a868b505f: Download complete 23:53:54 bab4dde63d76: Verifying Checksum 23:53:54 bab4dde63d76: Download complete 23:53:55 b85a868b505f: Pull complete 23:53:55 e2be974225ed: Pull complete 23:53:55 339a4e72a1f5: Pull complete 23:53:55 988bab9f4d93: Pull complete 23:53:55 1469e6f7b9e6: Pull complete 23:53:55 eaf3925da568: Pull complete 23:53:57 bab4dde63d76: Pull complete 23:53:57 bde34c3a00c8: Pull complete 23:53:58 b352a97aabf1: Pull complete 23:53:58 4872d77fe225: Pull complete 23:53:58 5851b861e8e6: Pull complete 23:53:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:58 prd-ubuntu20.04-docker-8c-8g-118701 does not seem to be running inside a container 23:53:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:53:59 $ docker top b900e11d5af523dce8f58d83076c777310834325bdfd60e4a24d4b8ad4543e86 -eo pid,comm 23:53:59 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). 23:53:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:53:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:59 [ssh-agent] Looking for ssh-agent implementation... 23:53:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:59 $ docker exec b900e11d5af523dce8f58d83076c777310834325bdfd60e4a24d4b8ad4543e86 ssh-agent 23:53:59 SSH_AUTH_SOCK=/tmp/ssh-6SAlg9aIPuUF/agent.33 23:53:59 SSH_AGENT_PID=39 23:53:59 Running ssh-add (command line suppressed) 23:53:59 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_18138853251555451576.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_18138853251555451576.key) 23:53:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:00 + git tag --points-at HEAD [Pipeline] } 23:54:00 $ docker exec --env ******** --env ******** b900e11d5af523dce8f58d83076c777310834325bdfd60e4a24d4b8ad4543e86 ssh-agent -k 23:54:00 unset SSH_AUTH_SOCK; 23:54:00 unset SSH_AGENT_PID; 23:54:00 echo Agent pid 39 killed; 23:54:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:54:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:00 [ssh-agent] Looking for ssh-agent implementation... 23:54:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:00 $ docker exec b900e11d5af523dce8f58d83076c777310834325bdfd60e4a24d4b8ad4543e86 ssh-agent 23:54:00 SSH_AUTH_SOCK=/tmp/ssh-vUsQ1J7zd1y8/agent.71 23:54:00 SSH_AGENT_PID=77 23:54:00 Running ssh-add (command line suppressed) 23:54:00 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_12229176603919142012.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_12229176603919142012.key) 23:54:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:00 + git semver init 23:54:01 2022-11-08 23:54:01,136 [run_init] DEBUG init version:0.0.0 force:False 23:54:01 2022-11-08 23:54:01,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 23:54:01 2022-11-08 23:54:01,138 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 23:54:01 2022-11-08 23:54:01,138 [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) 23:54:02 2022-11-08 23:54:01,942 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 23:54:02 2022-11-08 23:54:01,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 23:54:02 2022-11-08 23:54:01,943 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 23:54:02 2022-11-08 23:54:01,947 [execute] INFO git cat-file --batch-check 23:54:02 2022-11-08 23:54:01,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 23:54:02 2022-11-08 23:54:01,955 [execute] INFO git cat-file --batch 23:54:02 2022-11-08 23:54:01,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 23:54:02 2022-11-08 23:54:01,961 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 23:54:02 0.0.0 [Pipeline] } 23:54:02 $ docker exec --env ******** --env ******** b900e11d5af523dce8f58d83076c777310834325bdfd60e4a24d4b8ad4543e86 ssh-agent -k 23:54:02 unset SSH_AUTH_SOCK; 23:54:02 unset SSH_AGENT_PID; 23:54:02 echo Agent pid 77 killed; 23:54:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:54:02 + git semver [Pipeline] } 23:54:02 $ docker stop --time=1 b900e11d5af523dce8f58d83076c777310834325bdfd60e4a24d4b8ad4543e86 23:54:04 $ docker rm -f b900e11d5af523dce8f58d83076c777310834325bdfd60e4a24d4b8ad4543e86 [Pipeline] // withDockerContainer [Pipeline] sh 23:54:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:54:04 Stashed 1 file(s) [Pipeline] echo 23:54: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 23:54:04 provisioning config files... 23:54:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config1537380933274548549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:05 ---> docker-login.sh 23:54:05 nexus3.edgexfoundry.org:10001 23:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:05 Configure a credential helper to remove this warning. See 23:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:05 23:54:05 Login Succeeded 23:54:05 nexus3.edgexfoundry.org:10002 23:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:05 Configure a credential helper to remove this warning. See 23:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:05 23:54:05 Login Succeeded 23:54:05 nexus3.edgexfoundry.org:10003 23:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:05 Configure a credential helper to remove this warning. See 23:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:05 23:54:05 Login Succeeded 23:54:05 nexus3.edgexfoundry.org:10004 23:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:05 Configure a credential helper to remove this warning. See 23:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:05 23:54:05 Login Succeeded 23:54:05 docker.io 23:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:05 Configure a credential helper to remove this warning. See 23:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:05 23:54:05 Login Succeeded 23:54:05 ---> docker-login.sh ends [Pipeline] } 23:54:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:54:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:05 ========================================================= 23:54:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:54:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54: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 . 23:54:06 Sending build context to Docker daemon 1.58MB 23:54:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:54:06 Step 2/13 : FROM ${BASE} AS builder 23:54:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:54:06 213ec9aee27d: Pulling fs layer 23:54:06 4583459ba037: Pulling fs layer 23:54:06 93c1e223e6f2: Pulling fs layer 23:54:06 53926ce57604: Pulling fs layer 23:54:06 21b2b0c7a3f4: Pulling fs layer 23:54:06 22ff95d597cd: Pulling fs layer 23:54:06 12d6caf4c0d1: Pulling fs layer 23:54:06 96b7cbca73a9: Pulling fs layer 23:54:06 a7acece74701: Pulling fs layer 23:54:06 22ff95d597cd: Waiting 23:54:06 12d6caf4c0d1: Waiting 23:54:06 96b7cbca73a9: Waiting 23:54:06 a7acece74701: Waiting 23:54:06 53926ce57604: Waiting 23:54:06 21b2b0c7a3f4: Waiting 23:54:06 93c1e223e6f2: Verifying Checksum 23:54:06 93c1e223e6f2: Download complete 23:54:06 4583459ba037: Verifying Checksum 23:54:06 4583459ba037: Download complete 23:54:06 21b2b0c7a3f4: Verifying Checksum 23:54:06 21b2b0c7a3f4: Download complete 23:54:06 22ff95d597cd: Verifying Checksum 23:54:06 22ff95d597cd: Download complete 23:54:06 213ec9aee27d: Verifying Checksum 23:54:06 213ec9aee27d: Download complete 23:54:06 12d6caf4c0d1: Verifying Checksum 23:54:06 12d6caf4c0d1: Download complete 23:54:06 213ec9aee27d: Pull complete 23:54:06 4583459ba037: Pull complete 23:54:06 93c1e223e6f2: Pull complete 23:54:07 a7acece74701: Verifying Checksum 23:54:07 a7acece74701: Download complete 23:54:07 96b7cbca73a9: Verifying Checksum 23:54:07 96b7cbca73a9: Download complete 23:54:07 53926ce57604: Verifying Checksum 23:54:07 53926ce57604: Download complete 23:54:11 53926ce57604: Pull complete 23:54:11 21b2b0c7a3f4: Pull complete 23:54:11 22ff95d597cd: Pull complete 23:54:11 12d6caf4c0d1: Pull complete 23:54:13 96b7cbca73a9: Pull complete 23:54:14 a7acece74701: Pull complete 23:54:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:54:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:54:14 ---> db6d94c90886 23:54:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:54:16 ---> Running in 98ab61a5d6e9 23:54:16 Removing intermediate container 98ab61a5d6e9 23:54:16 ---> 6c099a098e39 23:54:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:16 ---> Running in bf0960147584 23:54:16 Removing intermediate container bf0960147584 23:54:16 ---> 886afe8d60c9 23:54:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:54:16 ---> Running in 1be14aa89e0c 23:54:16 Removing intermediate container 1be14aa89e0c 23:54:16 ---> d2260fa40272 23:54:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:54:16 ---> Running in 5ff35716f897 23:54:16 Removing intermediate container 5ff35716f897 23:54:16 ---> 4f4dfc9f73b1 23:54:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:54:16 ---> Running in d8d73609d66f 23:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:54:17 (1/80) Installing mesa (21.3.8-r2) 23:54:17 (2/80) Installing libxau (1.0.9-r0) 23:54:17 (3/80) Installing libxdmcp (1.1.3-r0) 23:54:17 (4/80) Installing libxcb (1.15-r0) 23:54:17 (5/80) Installing libx11 (1.8-r0) 23:54:17 (6/80) Installing libxext (1.3.4-r0) 23:54:17 (7/80) Installing libxfixes (6.0.0-r0) 23:54:17 (8/80) Installing libxxf86vm (1.1.4-r2) 23:54:17 (9/80) Installing libpciaccess (0.16-r0) 23:54:17 (10/80) Installing libdrm (2.4.110-r0) 23:54:17 (11/80) Installing mesa-glapi (21.3.8-r2) 23:54:17 (12/80) Installing libxshmfence (1.3-r1) 23:54:17 (13/80) Installing mesa-gl (21.3.8-r2) 23:54:17 (14/80) Installing icu-data-full (71.1-r2) 23:54:17 (15/80) Installing libice (1.0.10-r0) 23:54:17 (16/80) Installing libuuid (2.38-r1) 23:54:17 (17/80) Installing libsm (1.2.3-r0) 23:54:17 (18/80) Installing libxt (1.2.1-r0) 23:54:17 (19/80) Installing libxmu (1.1.3-r0) 23:54:17 (20/80) Installing xset (1.2.4-r0) 23:54:17 (21/80) Installing xprop (1.2.5-r0) 23:54:17 (22/80) Installing xdg-utils (1.1.3-r3) 23:54:17 (23/80) Installing dbus-libs (1.14.4-r0) 23:54:17 (24/80) Installing libffi (3.4.2-r1) 23:54:17 (25/80) Installing libintl (0.21-r2) 23:54:17 (26/80) Installing libblkid (2.38-r1) 23:54:17 (27/80) Installing libmount (2.38-r1) 23:54:17 (28/80) Installing pcre (8.45-r2) 23:54:17 (29/80) Installing glib (2.72.1-r0) 23:54:17 (30/80) Installing icu-libs (71.1-r2) 23:54:17 (31/80) Installing libpcre2-16 (10.40-r0) 23:54:17 (32/80) Installing zstd-libs (1.5.2-r1) 23:54:18 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 23:54:18 (34/80) Installing hicolor-icon-theme (0.17-r1) 23:54:18 (35/80) Installing wayland-libs-server (1.20.0-r0) 23:54:18 (36/80) Installing mesa-gbm (21.3.8-r2) 23:54:18 (37/80) Installing wayland-libs-client (1.20.0-r0) 23:54:18 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 23:54:18 (39/80) Installing libxcomposite (0.4.5-r0) 23:54:18 (40/80) Installing libbz2 (1.0.8-r1) 23:54:18 (41/80) Installing libpng (1.6.37-r1) 23:54:18 (42/80) Installing freetype (2.12.1-r0) 23:54:18 (43/80) Installing fontconfig (2.14.0-r0) 23:54:18 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 23:54:18 (45/80) Installing wayland-libs-egl (1.20.0-r0) 23:54:18 (46/80) Installing xkeyboard-config (2.35.1-r0) 23:54:18 (47/80) Installing xz-libs (5.2.5-r1) 23:54:18 (48/80) Installing libxml2 (2.9.14-r2) 23:54:18 (49/80) Installing libxkbcommon (1.4.1-r0) 23:54:18 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 23:54:18 (51/80) Installing mesa-egl (21.3.8-r2) 23:54:18 (52/80) Installing avahi-libs (0.8-r6) 23:54:18 (53/80) Installing nettle (3.7.3-r0) 23:54:18 (54/80) Installing p11-kit (0.24.1-r0) 23:54:18 (55/80) Installing libtasn1 (4.18.0-r0) 23:54:18 (56/80) Installing libunistring (1.0-r0) 23:54:18 (57/80) Installing gnutls (3.7.7-r0) 23:54:18 (58/80) Installing cups-libs (2.4.2-r0) 23:54:18 (59/80) Installing graphite2 (1.3.14-r1) 23:54:18 (60/80) Installing harfbuzz (4.3.0-r0) 23:54:18 (61/80) Installing libevdev (1.12.1-r0) 23:54:18 (62/80) Installing mtdev (1.1.6-r0) 23:54:18 (63/80) Installing eudev-libs (3.2.11-r0) 23:54:18 (64/80) Installing libinput-libs (1.20.1-r0) 23:54:18 (65/80) Installing libjpeg-turbo (2.1.3-r1) 23:54:18 (66/80) Installing xcb-util-wm (0.4.1-r1) 23:54:18 (67/80) Installing xcb-util (0.4.0-r3) 23:54:18 (68/80) Installing xcb-util-image (0.4.0-r1) 23:54:18 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 23:54:18 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 23:54:18 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 23:54:18 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 23:54:18 (73/80) Installing v4l-utils-libs (1.22.1-r1) 23:54:18 (74/80) Installing v4l-utils (1.22.1-r1) 23:54:18 (75/80) Installing udev-init-scripts (35-r0) 23:54:18 Executing udev-init-scripts-35-r0.post-install 23:54:18 (76/80) Installing kmod-libs (29-r2) 23:54:18 (77/80) Installing eudev (3.2.11-r0) 23:54:18 (78/80) Installing eudev-dev (3.2.11-r0) 23:54:18 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:54:18 (80/80) Installing v4l-utils-dev (1.22.1-r1) 23:54:18 Executing busybox-1.35.0-r17.trigger 23:54:18 Executing eudev-3.2.11-r0.trigger 23:54:18 OK: 330 MiB in 131 packages 23:54:19 Still waiting to schedule task 23:54:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118699’ 23:54:20 Removing intermediate container d8d73609d66f 23:54:20 ---> 6eae5bc2b5d9 23:54:20 Step 8/13 : WORKDIR /device-usb-camera 23:54:20 ---> Running in 05ab054d90f3 23:54:20 Removing intermediate container 05ab054d90f3 23:54:20 ---> c80abfed1693 23:54:20 Step 9/13 : COPY go.mod vendor* ./ 23:54:20 ---> 87b5e2e8309c 23:54:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:20 ---> Running in a0c9051e7f00 23:54:42 Removing intermediate container a0c9051e7f00 23:54:42 ---> 8f181f9f8aa0 23:54:42 Step 11/13 : COPY . . 23:54:42 ---> 5ae932509cf5 23:54:42 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:54:42 ---> Running in 26d2bbae7b35 23:54:42  % Total % Received % Xferd Average Speed Time Time Time Current 23:54:42 Dload Upload Total Spent Left Speed 23:54:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 39586 0 --:--:-- --:--:-- --:--:-- 40846 23:54:42 Removing intermediate container 26d2bbae7b35 23:54:42 ---> 7b529ebbb927 23:54:42 Step 13/13 : RUN ${MAKE} 23:54:42 ---> Running in f7ec612573e8 23:54:42 noop 23:54:42 Removing intermediate container f7ec612573e8 23:54:42 ---> eacf20f1583f 23:54:42 Successfully built eacf20f1583f 23:54:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:43 + docker inspect -f . ci-base-image-x86_64 23:54:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:43 prd-ubuntu20.04-docker-8c-8g-118701 does not seem to be running inside a container 23:54:43 $ 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 ******** -e ******** ci-base-image-x86_64 cat 23:54:43 $ docker top 6fb3af3ab1b28a096da70d49cb422dfb1e8883028960e19e5c30bf7c93ee79eb -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:43 + go version 23:54:43 go version go1.18.7 linux/amd64 [Pipeline] } 23:54:43 $ docker stop --time=1 6fb3af3ab1b28a096da70d49cb422dfb1e8883028960e19e5c30bf7c93ee79eb 23:54:45 $ docker rm -f 6fb3af3ab1b28a096da70d49cb422dfb1e8883028960e19e5c30bf7c93ee79eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:45 + docker inspect -f . ci-base-image-x86_64 23:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:45 prd-ubuntu20.04-docker-8c-8g-118701 does not seem to be running inside a container 23:54:45 $ 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 ******** -e ******** ci-base-image-x86_64 cat 23:54:46 $ docker top deb173e724394fc6845d57ac1bd8c84fa8dd1283fed6d90e258d68c20c73b6a7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:46 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 23:54:46 + make test 23:54:46 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:54:46 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:54:59 # github.com/edgexfoundry/device-usb-camera/internal/driver 23:54:59 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 23:54:59 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 23:54:59 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 23:54:59 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 23:54:59 $ docker stop --time=1 deb173e724394fc6845d57ac1bd8c84fa8dd1283fed6d90e258d68c20c73b6a7 23:55:00 $ docker rm -f deb173e724394fc6845d57ac1bd8c84fa8dd1283fed6d90e258d68c20c73b6a7 [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 23:55:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:01 23:55:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:01 latest: Pulling from edgex-lftools-log-publisher 23:55:01 5eb5b503b376: Pulling fs layer 23:55:01 5c69ac0246d0: Pulling fs layer 23:55:01 ec43610c2a17: Pulling fs layer 23:55:01 3a2ae6a8a46f: Pulling fs layer 23:55:01 33b1e0a273af: Pulling fs layer 23:55:01 5d3b04190fa2: Pulling fs layer 23:55:01 2f39f015ded8: Pulling fs layer 23:55:01 3a2ae6a8a46f: Waiting 23:55:01 33b1e0a273af: Waiting 23:55:01 5d3b04190fa2: Waiting 23:55:01 2f39f015ded8: Waiting 23:55:01 5c69ac0246d0: Download complete 23:55:01 3a2ae6a8a46f: Verifying Checksum 23:55:01 3a2ae6a8a46f: Download complete 23:55:01 33b1e0a273af: Verifying Checksum 23:55:01 33b1e0a273af: Download complete 23:55:01 5d3b04190fa2: Verifying Checksum 23:55:01 5d3b04190fa2: Download complete 23:55:01 ec43610c2a17: Verifying Checksum 23:55:01 ec43610c2a17: Download complete 23:55:01 5eb5b503b376: Verifying Checksum 23:55:01 5eb5b503b376: Download complete 23:55:02 2f39f015ded8: Download complete 23:55:03 5eb5b503b376: Pull complete 23:55:03 5c69ac0246d0: Pull complete 23:55:03 ec43610c2a17: Pull complete 23:55:03 3a2ae6a8a46f: Pull complete 23:55:04 33b1e0a273af: Pull complete 23:55:04 5d3b04190fa2: Pull complete 23:55:08 2f39f015ded8: Pull complete 23:55:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:08 prd-ubuntu20.04-docker-8c-8g-118701 does not seem to be running inside a container 23:55:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:55:09 $ docker top 0579575715eb3e104210a2b20017ec11dce07d08b1c69986f561317af50191e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:10 ---> job-cost.sh 23:55:10 lf-activate-venv: SKIPPING 23:55:10 INFO: No Stack... 23:55:10 INFO: Retrieving Pricing Info for: v3-standard-8 23:55:10 INFO: Archiving Costs [Pipeline] sh 23:55:11 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 23:55:11 + cut -d, -f6 [Pipeline] lock 23:55:11 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] 23:55:11 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] did not exist. Created. 23:55:11 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:55:11 + echo total: 0.2199999988079071 [Pipeline] stash 23:55:11 Stashed 1 file(s) [Pipeline] } 23:55:11 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] [Pipeline] // lock [Pipeline] } 23:55:11 $ docker stop --time=1 0579575715eb3e104210a2b20017ec11dce07d08b1c69986f561317af50191e9 23:55:12 $ docker rm -f 0579575715eb3e104210a2b20017ec11dce07d08b1c69986f561317af50191e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:55:12 Failed in branch amd64 23:56:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118703 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 23:56:45 Running in /w/workspace/device-usb-camera/16 [Pipeline] { [Pipeline] checkout 23:56:45 Selected Git installation does not exist. Using Default 23:56:45 The recommended git tool is: NONE 23:56:51 using credential edgex-jenkins-ssh 23:56:51 Cloning the remote Git repository 23:56:51 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 23:56:51 > git init /w/workspace/device-usb-camera/16 # timeout=10 23:56:51 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:56:51 > git --version # timeout=10 23:56:51 > git --version # 'git version 2.25.1' 23:56:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:51 Verifying host key using known hosts file 23:56:51 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. 23:56:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:52 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:56:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:54 Merging remotes/origin/main commit 059aeb0713fc4e07acd8c370d817b94cb81fd04d into PR head commit 4aba8cca995d5308e86008ac4043bd77e532bb5a 23:56:53 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:56:53 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:56:53 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:53 Verifying host key using known hosts file 23:56:53 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. 23:56:53 > 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 23:56:54 > git config core.sparsecheckout # timeout=10 23:56:54 > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 23:56:54 > git remote # timeout=10 23:56:54 > git config --get remote.origin.url # timeout=10 23:56:54 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:54 Verifying host key using known hosts file 23:56:54 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. 23:56:54 > git merge 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 23:56:54 > git rev-parse HEAD^{commit} # timeout=10 23:56:54 Merge succeeded, producing 4aba8cca995d5308e86008ac4043bd77e532bb5a 23:56:54 Checking out Revision 4aba8cca995d5308e86008ac4043bd77e532bb5a (PR-99) 23:56:55 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 23:56:54 > git config core.sparsecheckout # timeout=10 23:56:54 > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 23:56:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:56:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:56:55 Dload Upload Total Spent Left Speed 23:56:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 23:56:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:56:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:56:56 + sudo tee /etc/docker/daemon.new 23:56:56 { 23:56:56 "registry-mirrors": [ 23:56:56 "https://nexus3.edgexfoundry.org:10001" 23:56:56 ], 23:56:56 "bip": "10.250.0.254/24", 23:56:56 "hosts": [ 23:56:56 "tcp://0.0.0.0:5555", 23:56:56 "unix:///var/run/docker.sock" 23:56:56 ], 23:56:56 "mtu": 1458, 23:56:56 "selinux-enabled": true, 23:56:56 "seccomp-profile": "/etc/docker/seccomp.json" 23:56:56 } [Pipeline] sh 23:56:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:56:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:15 provisioning config files... 23:57:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/16@tmp/config15902321062070565671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:16 ---> docker-login.sh 23:57:16 nexus3.edgexfoundry.org:10001 23:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:16 Configure a credential helper to remove this warning. See 23:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:16 23:57:16 Login Succeeded 23:57:16 nexus3.edgexfoundry.org:10002 23:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:17 Configure a credential helper to remove this warning. See 23:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:17 23:57:17 Login Succeeded 23:57:17 nexus3.edgexfoundry.org:10003 23:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:17 Configure a credential helper to remove this warning. See 23:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:17 23:57:17 Login Succeeded 23:57:17 nexus3.edgexfoundry.org:10004 23:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:18 Configure a credential helper to remove this warning. See 23:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:18 23:57:18 Login Succeeded 23:57:18 docker.io 23:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:18 Configure a credential helper to remove this warning. See 23:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:18 23:57:18 Login Succeeded 23:57:18 ---> docker-login.sh ends [Pipeline] } 23:57:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:19 ========================================================= 23:57:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:57:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:19 + 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 . 23:57:19 Sending build context to Docker daemon 1.032MB 23:57:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:57:19 Step 2/13 : FROM ${BASE} AS builder 23:57:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:57:19 9b18e9b68314: Pulling fs layer 23:57:19 35d82f9e3411: Pulling fs layer 23:57:19 e16973657156: Pulling fs layer 23:57:19 fc693d55d65f: Pulling fs layer 23:57:19 7e9fc2657dce: Pulling fs layer 23:57:19 dda99020689f: Pulling fs layer 23:57:19 db1c61fa0a46: Pulling fs layer 23:57:19 891c053d2c06: Pulling fs layer 23:57:19 dda99020689f: Waiting 23:57:19 db1c61fa0a46: Waiting 23:57:19 891c053d2c06: Waiting 23:57:19 fc693d55d65f: Waiting 23:57:19 7e9fc2657dce: Waiting 23:57:19 e16973657156: Verifying Checksum 23:57:19 e16973657156: Download complete 23:57:19 35d82f9e3411: Verifying Checksum 23:57:19 35d82f9e3411: Download complete 23:57:19 7e9fc2657dce: Verifying Checksum 23:57:19 7e9fc2657dce: Download complete 23:57:19 dda99020689f: Verifying Checksum 23:57:19 dda99020689f: Download complete 23:57:19 9b18e9b68314: Verifying Checksum 23:57:20 9b18e9b68314: Pull complete 23:57:21 891c053d2c06: Verifying Checksum 23:57:21 891c053d2c06: Download complete 23:57:21 35d82f9e3411: Pull complete 23:57:22 e16973657156: Pull complete 23:57:22 db1c61fa0a46: Download complete 23:57:23 fc693d55d65f: Verifying Checksum 23:57:23 fc693d55d65f: Download complete 23:57:35 fc693d55d65f: Pull complete 23:57:35 7e9fc2657dce: Pull complete 23:57:35 dda99020689f: Pull complete 23:57:42 db1c61fa0a46: Pull complete 23:57:43 891c053d2c06: Pull complete 23:57:43 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:57:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:57:43 ---> f96f9c87975a 23:57:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:57:45 ---> Running in 93299a92133a 23:57:45 Removing intermediate container 93299a92133a 23:57:45 ---> e3f8d269078c 23:57:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:45 ---> Running in db31704bf260 23:57:46 Removing intermediate container db31704bf260 23:57:46 ---> 6581f7912924 23:57:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:57:46 ---> Running in 634cc43fff67 23:57:46 Removing intermediate container 634cc43fff67 23:57:46 ---> 4f30578b0f68 23:57:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:57:46 ---> Running in a9e3f70ecda8 23:57:47 Removing intermediate container a9e3f70ecda8 23:57:47 ---> 0ed8cf4146d0 23:57:47 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:47 ---> Running in 515c2bfff244 23:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:57:49 (1/14) Installing libintl (0.21-r2) 23:57:49 (2/14) Installing eudev-libs (3.2.11-r0) 23:57:49 (3/14) Installing libjpeg-turbo (2.1.3-r1) 23:57:49 (4/14) Installing v4l-utils-libs (1.22.1-r1) 23:57:49 (5/14) Installing v4l-utils (1.22.1-r1) 23:57:49 (6/14) Installing udev-init-scripts (35-r0) 23:57:49 Executing udev-init-scripts-35-r0.post-install 23:57:49 (7/14) Installing libblkid (2.38-r1) 23:57:49 (8/14) Installing xz-libs (5.2.5-r1) 23:57:49 (9/14) Installing zstd-libs (1.5.2-r1) 23:57:49 (10/14) Installing kmod-libs (29-r2) 23:57:49 (11/14) Installing eudev (3.2.11-r0) 23:57:50 (12/14) Installing eudev-dev (3.2.11-r0) 23:57:50 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:57:50 (14/14) Installing v4l-utils-dev (1.22.1-r1) 23:57:50 Executing busybox-1.35.0-r17.trigger 23:57:50 Executing eudev-3.2.11-r0.trigger 23:57:50 OK: 228 MiB in 65 packages 23:57:51 Removing intermediate container 515c2bfff244 23:57:51 ---> cd785505e518 23:57:51 Step 8/13 : WORKDIR /device-usb-camera 23:57:51 ---> Running in dddc5b77582b 23:57:51 Removing intermediate container dddc5b77582b 23:57:51 ---> c177a45a4cd8 23:57:51 Step 9/13 : COPY go.mod vendor* ./ 23:57:52 ---> e6f26a42e795 23:57:52 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:52 ---> Running in 17fb9f8d2fcc 23:59:00 Removing intermediate container 17fb9f8d2fcc 23:59:00 ---> fe4b964426d3 23:59:00 Step 11/13 : COPY . . 23:59:00 ---> 0d6e1248a174 23:59:00 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:59:00 ---> Running in 7b8a68d6e4a8 23:59:00  % Total  % Received % Xferd Average Speed Time Time Time Current 23:59:00 Dload Upload Total Spent Left Speed 23:59:00 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13423 0 --:--:-- --:--:-- --:--:-- 13615 23:59:00 Removing intermediate container 7b8a68d6e4a8 23:59:00 ---> ccada1c0acf9 23:59:00 Step 13/13 : RUN ${MAKE} 23:59:00 ---> Running in ab5de41487ff 23:59:00 noop 23:59:00 Removing intermediate container ab5de41487ff 23:59:00 ---> 72c870e1b06f 23:59:00 Successfully built 72c870e1b06f 23:59:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:00 + docker inspect -f . ci-base-image-arm64 23:59:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:00 prd-ubuntu20.04-docker-arm64-4c-16g-118703 does not seem to be running inside a container 23:59:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@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 23:59:02 $ docker top 1f00fc677232d779a2d02dd40729014e348544a4f64f1c17feac09fe4a8f4156 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:02 + go version 23:59:02 go version go1.18.7 linux/arm64 [Pipeline] } 23:59:03 $ docker stop --time=1 1f00fc677232d779a2d02dd40729014e348544a4f64f1c17feac09fe4a8f4156 23:59:04 $ docker rm -f 1f00fc677232d779a2d02dd40729014e348544a4f64f1c17feac09fe4a8f4156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:05 + docker inspect -f . ci-base-image-arm64 23:59:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:05 prd-ubuntu20.04-docker-arm64-4c-16g-118703 does not seem to be running inside a container 23:59:05 $ 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/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@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 23:59:06 $ docker top 946b5d3433bd38b5dac87632e16ac7060eaf9bc39e9d7fbbf832fc071c0aa3ca -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:07 + git config --global --add safe.directory /w/workspace/device-usb-camera/16 [Pipeline] fileExists [Pipeline] sh 23:59:08 + make test 23:59:08 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:59:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:01:01 # github.com/edgexfoundry/device-usb-camera/internal/driver 00:01:01 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 00:01:01 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 00:01:01 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 00:01:01 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 00:01:01 $ docker stop --time=1 946b5d3433bd38b5dac87632e16ac7060eaf9bc39e9d7fbbf832fc071c0aa3ca 00:01:02 $ docker rm -f 946b5d3433bd38b5dac87632e16ac7060eaf9bc39e9d7fbbf832fc071c0aa3ca [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 00:01:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:04 00:01:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:04 arm64: Pulling from edgex-lftools-log-publisher 00:01:04 8998bd30e6a1: Pulling fs layer 00:01:04 04944245beec: Pulling fs layer 00:01:04 699f458cf7ca: Pulling fs layer 00:01:04 765212b225bb: Pulling fs layer 00:01:04 f23df028b6ca: Pulling fs layer 00:01:04 d65c8cfc05b1: Pulling fs layer 00:01:04 2437ff75d9bd: Pulling fs layer 00:01:04 765212b225bb: Waiting 00:01:04 f23df028b6ca: Waiting 00:01:04 d65c8cfc05b1: Waiting 00:01:04 2437ff75d9bd: Waiting 00:01:04 04944245beec: Verifying Checksum 00:01:04 04944245beec: Download complete 00:01:04 765212b225bb: Verifying Checksum 00:01:04 765212b225bb: Download complete 00:01:04 f23df028b6ca: Verifying Checksum 00:01:04 f23df028b6ca: Download complete 00:01:04 d65c8cfc05b1: Verifying Checksum 00:01:04 d65c8cfc05b1: Download complete 00:01:04 699f458cf7ca: Verifying Checksum 00:01:04 699f458cf7ca: Download complete 00:01:05 8998bd30e6a1: Verifying Checksum 00:01:05 8998bd30e6a1: Download complete 00:01:07 2437ff75d9bd: Verifying Checksum 00:01:07 2437ff75d9bd: Download complete 00:01:09 8998bd30e6a1: Pull complete 00:01:09 04944245beec: Pull complete 00:01:11 699f458cf7ca: Pull complete 00:01:11 765212b225bb: Pull complete 00:01:12 f23df028b6ca: Pull complete 00:01:13 d65c8cfc05b1: Pull complete 00:01:31 2437ff75d9bd: Pull complete 00:01:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:01:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:32 prd-ubuntu20.04-docker-arm64-4c-16g-118703 does not seem to be running inside a container 00:01:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@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 00:01:34 $ docker top bd8092abd8b2f52575326061426b3263bf40af565d57a43b11b83b2b0dd51d4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:34 ---> job-cost.sh 00:01:34 lf-activate-venv: SKIPPING 00:01:34 INFO: No Stack... 00:01:35 INFO: Retrieving Pricing Info for: v3-standard-4 00:01:36 INFO: Archiving Costs [Pipeline] sh 00:01:36 + cat /w/workspace/device-usb-camera/16/archives/cost.csv 00:01:36 + cut -d, -f6 [Pipeline] lock 00:01:36 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] 00:01:36 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] did not exist. Created. 00:01:36 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:37 /w/workspace/device-usb-camera/16@tmp/durable-e7b45b36/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:01:38 + echo total: 0.10999999940395355 [Pipeline] stash 00:01:38 Warning: overwriting stash ‘stack-cost’ 00:01:38 Stashed 1 file(s) [Pipeline] } 00:01:38 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-16-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:38 $ docker stop --time=1 bd8092abd8b2f52575326061426b3263bf40af565d57a43b11b83b2b0dd51d4c 00:01:40 $ docker rm -f bd8092abd8b2f52575326061426b3263bf40af565d57a43b11b83b2b0dd51d4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:01:40 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 00:01:40 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 00:01:40 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 00:01:40 total 16 00:01:40 drwxr-xr-x 3 root root 4096 Nov 8 23:55 . 00:01:40 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 23:55 .. 00:01:40 drwxr-xr-x 2 root root 4096 Nov 8 23:55 cost 00:01:40 -rw-r--r-- 1 root root 89 Nov 8 23:55 cost.csv 00:01:40 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 00:01:40 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 00:01:40 total 16 00:01:40 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:55 . 00:01:40 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 23:55 .. 00:01:40 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:55 cost 00:01:40 -rw-r--r-- 1 jenkins jenkins 89 Nov 8 23:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:01:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:01:42 ---> package-listing.sh 00:01:42 ++ facter osfamily 00:01:42 ++ tr '[:upper:]' '[:lower:]' 00:01:42 + OS_FAMILY=debian 00:01:42 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 00:01:42 + START_PACKAGES=/tmp/packages_start.txt 00:01:42 + END_PACKAGES=/tmp/packages_end.txt 00:01:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:01:42 + PACKAGES=/tmp/packages_start.txt 00:01:42 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 00:01:42 + PACKAGES=/tmp/packages_end.txt 00:01:42 + case "${OS_FAMILY}" in 00:01:42 + dpkg -l 00:01:42 + grep '^ii' 00:01:42 + '[' -f /tmp/packages_start.txt ']' 00:01:42 + '[' -f /tmp/packages_end.txt ']' 00:01:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:01:42 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 00:01:42 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 00:01:42 + 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 00:01:42 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 00:01:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:43 prd-ubuntu20.04-docker-8c-8g-118701 does not seem to be running inside a container 00:01:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:01:43 $ docker top 0f18d5cc8739c85fdaeb352995801f5e40367de195db2f57f694f763adb548ef -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:43 + touch /tmp/pre-build-complete [Pipeline] sh 00:01:44 + mkdir -p /var/log/sysstat [Pipeline] sh 00:01:44 + ls /var/log/sa-host 00:01:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:01:44 provisioning config files... 00:01:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config3826471325506276258tmp [Pipeline] { [Pipeline] echo 00:01:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:01:44 ---> create-netrc.sh [Pipeline] } 00:01:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:01:45 ---> python-tools-install.sh [Pipeline] echo 00:01:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:01:45 ---> sudo-logs.sh 00:01:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:01:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:01:45 ---> job-cost.sh 00:01:45 lf-activate-venv: SKIPPING 00:01:45 DEBUG: total: 0.2199999988079071 00:01:45 INFO: Retrieving Stack Cost... 00:01:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:01:46 INFO: Archiving Costs [Pipeline] echo 00:01:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:01:46 ---> logs-deploy.sh 00:01:46 lf-activate-venv: SKIPPING 00:01:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/16 00:01:46 INFO: archiving workspace using pattern(s): 00:01:47 Archives upload complete. 00:01:48 INFO: archiving logs to Nexus