Pull request #107 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 345b3c5613ae76c94415a58ddb707d834bfcb682+2737b4a4757873c341a4cc117393b3c94d892178 (e3b854dbe70d1328dac48f657672f3712e205d8f) 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-ssh4152511239595171043.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6345470579978723400.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh402581218336365061.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11991609255091982025.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8121952418990028993.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-107/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8981472005511991639.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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-116806 in /w/workspace/foundry_device-usb-camera_PR-107 [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/foundry_device-usb-camera_PR-107 # 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 > 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/107/head:refs/remotes/origin/PR-107 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2737b4a4757873c341a4cc117393b3c94d892178 into PR head commit 345b3c5613ae76c94415a58ddb707d834bfcb682 Merge succeeded, producing 345b3c5613ae76c94415a58ddb707d834bfcb682 Checking out Revision 345b3c5613ae76c94415a58ddb707d834bfcb682 (PR-107) > git config core.sparsecheckout # timeout=10 > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # 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 2737b4a4757873c341a4cc117393b3c94d892178 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # timeout=10 Commit message: "fix: update command request and response topic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:19:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:19:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:19:54 ========================================================= 08:19:54 EdgeX Global Pipelines Version Info 08:19:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:19:55 ------------------- 08:19:55 stable info: 08:19:55 ------------------- 08:19:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:19:55 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 08:19:55 Message: update stable to v1.0.243 08:19:55 ------------------- 08:19:55 experimental info: 08:19:55 ------------------- 08:19:55 Commited By: **** collab-it+edgex@linuxfoundation.org 08:19:55 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 08:19:55 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:19:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:19:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-107 [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-107 [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-107 [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 345b3c5 [Pipeline] echo 08:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:19:57 provisioning config files... 08:19:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config16642378060200912024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:57 ---> docker-login.sh 08:19:57 nexus3.edgexfoundry.org:10001 08:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:58 Configure a credential helper to remove this warning. See 08:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:58 08:19:58 Login Succeeded 08:19:58 nexus3.edgexfoundry.org:10002 08:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:58 Configure a credential helper to remove this warning. See 08:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:58 08:19:58 Login Succeeded 08:19:58 nexus3.edgexfoundry.org:10003 08:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:58 Configure a credential helper to remove this warning. See 08:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:58 08:19:58 Login Succeeded 08:19:58 nexus3.edgexfoundry.org:10004 08:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:58 Configure a credential helper to remove this warning. See 08:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:58 08:19:58 Login Succeeded 08:19:58 docker.io 08:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:58 Configure a credential helper to remove this warning. See 08:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:58 08:19:58 Login Succeeded 08:19:58 ---> docker-login.sh ends [Pipeline] } 08:19:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:19:59 + git rev-list -1 --merges 345b3c5613ae76c94415a58ddb707d834bfcb682~1..345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo 08:19:59 -----------> git rev-list -1 --merges 345b3c5613ae76c94415a58ddb707d834bfcb682~1..345b3c5613ae76c94415a58ddb707d834bfcb682 345b3c5613ae76c94415a58ddb707d834bfcb682 [false] [Pipeline] sh 08:20:00 + git log --format=format:%s -1 345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo 08:20:00 ========================================================= 08:20:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:20:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:00 + git log --format=format:%s -1 345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] echo 08:20:00 [semverPrep] GIT_COMMIT: 345b3c5613ae76c94415a58ddb707d834bfcb682, Commit Message: fix: update command request and response topic [Pipeline] echo 08:20:00 [semverPrep] This is not a build commit. [Pipeline] sh 08:20:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:20:00 + grep -v github /etc/ssh/ssh_known_hosts 08:20:00 + [ -e /tmp/ssh_known_hosts ] 08:20:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:20:00 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:20:00 sudo tee -a /etc/ssh/ssh_known_hosts 08:20:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:20:01 08:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:20:01 0.1.4: Pulling from edgex-devops/py-git-semver 08:20:01 b85a868b505f: Pulling fs layer 08:20:01 e2be974225ed: Pulling fs layer 08:20:01 339a4e72a1f5: Pulling fs layer 08:20:01 988bab9f4d93: Pulling fs layer 08:20:01 1469e6f7b9e6: Pulling fs layer 08:20:01 eaf3925da568: Pulling fs layer 08:20:01 bab4dde63d76: Pulling fs layer 08:20:01 bde34c3a00c8: Pulling fs layer 08:20:01 b352a97aabf1: Pulling fs layer 08:20:01 4872d77fe225: Pulling fs layer 08:20:01 5851b861e8e6: Pulling fs layer 08:20:01 1469e6f7b9e6: Waiting 08:20:01 eaf3925da568: Waiting 08:20:01 bab4dde63d76: Waiting 08:20:01 bde34c3a00c8: Waiting 08:20:01 b352a97aabf1: Waiting 08:20:01 4872d77fe225: Waiting 08:20:01 5851b861e8e6: Waiting 08:20:01 988bab9f4d93: Waiting 08:20:01 e2be974225ed: Verifying Checksum 08:20:01 e2be974225ed: Download complete 08:20:01 988bab9f4d93: Download complete 08:20:02 1469e6f7b9e6: Verifying Checksum 08:20:02 1469e6f7b9e6: Download complete 08:20:02 339a4e72a1f5: Verifying Checksum 08:20:02 339a4e72a1f5: Download complete 08:20:02 eaf3925da568: Verifying Checksum 08:20:02 eaf3925da568: Download complete 08:20:02 bde34c3a00c8: Download complete 08:20:02 b352a97aabf1: Download complete 08:20:02 4872d77fe225: Verifying Checksum 08:20:02 4872d77fe225: Download complete 08:20:02 5851b861e8e6: Verifying Checksum 08:20:02 5851b861e8e6: Download complete 08:20:02 b85a868b505f: Verifying Checksum 08:20:02 b85a868b505f: Download complete 08:20:02 bab4dde63d76: Verifying Checksum 08:20:02 bab4dde63d76: Download complete 08:20:03 b85a868b505f: Pull complete 08:20:03 e2be974225ed: Pull complete 08:20:04 339a4e72a1f5: Pull complete 08:20:04 988bab9f4d93: Pull complete 08:20:04 1469e6f7b9e6: Pull complete 08:20:04 eaf3925da568: Pull complete 08:20:06 bab4dde63d76: Pull complete 08:20:06 bde34c3a00c8: Pull complete 08:20:06 b352a97aabf1: Pull complete 08:20:06 4872d77fe225: Pull complete 08:20:06 5851b861e8e6: Pull complete 08:20:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:20:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:06 prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container 08:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:20:08 $ docker top e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 -eo pid,comm 08:20:08 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). 08:20:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:08 [ssh-agent] Looking for ssh-agent implementation... 08:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:08 $ docker exec e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent 08:20:08 SSH_AUTH_SOCK=/tmp/ssh-Engjfk5AvUJo/agent.34 08:20:08 SSH_AGENT_PID=40 08:20:08 Running ssh-add (command line suppressed) 08:20:08 Identity added: /w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_10032735404484101103.key (/w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_10032735404484101103.key) 08:20:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:09 + git tag --points-at HEAD [Pipeline] } 08:20:09 $ docker exec --env ******** --env ******** e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent -k 08:20:09 unset SSH_AUTH_SOCK; 08:20:09 unset SSH_AGENT_PID; 08:20:09 echo Agent pid 40 killed; 08:20:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:20:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:09 [ssh-agent] Looking for ssh-agent implementation... 08:20:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:09 $ docker exec e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent 08:20:09 SSH_AUTH_SOCK=/tmp/ssh-xSOjoEcolLW7/agent.72 08:20:09 SSH_AGENT_PID=78 08:20:09 Running ssh-add (command line suppressed) 08:20:09 Identity added: /w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_13353867885423959842.key (/w/workspace/foundry_device-usb-camera_PR-107@tmp/private_key_13353867885423959842.key) 08:20:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:09 + git semver init 08:20:10 2022-10-25 08:20:10,085 [run_init] DEBUG init version:0.0.0 force:False 08:20:10 2022-10-25 08:20:10,085 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-107/.semver 08:20:10 2022-10-25 08:20:10,086 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-107/.semver 08:20:10 2022-10-25 08:20:10,086 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-107/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-107, universal_newlines=False, shell=None, istream=None) 08:20:11 2022-10-25 08:20:10,872 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-107/.git/info/exclude 08:20:11 2022-10-25 08:20:10,872 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-107/.semver/PR-107 with force:False 08:20:11 2022-10-25 08:20:10,872 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-107/.semver/PR-107 08:20:11 2022-10-25 08:20:10,876 [execute] INFO git cat-file --batch-check 08:20:11 2022-10-25 08:20:10,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-107/.semver, universal_newlines=False, shell=None, istream=) 08:20:11 2022-10-25 08:20:10,882 [execute] INFO git cat-file --batch 08:20:11 2022-10-25 08:20:10,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-107/.semver, universal_newlines=False, shell=None, istream=) 08:20:11 2022-10-25 08:20:10,885 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-107/.semver/PR-107 08:20:11 0.0.0 [Pipeline] } 08:20:11 $ docker exec --env ******** --env ******** e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 ssh-agent -k 08:20:11 unset SSH_AUTH_SOCK; 08:20:11 unset SSH_AGENT_PID; 08:20:11 echo Agent pid 78 killed; 08:20:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:20:11 + git semver [Pipeline] } 08:20:11 $ docker stop --time=1 e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 08:20:13 $ docker rm -f e9aaffadf9e119b519cc43eb70e778cad077df6fde83a7bb6f67d62085776ad4 [Pipeline] // withDockerContainer [Pipeline] sh 08:20:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:20:13 Stashed 1 file(s) [Pipeline] echo 08:20:13 [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 08:20:14 provisioning config files... 08:20:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config8854459924546177009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:20:14 ---> docker-login.sh 08:20:14 nexus3.edgexfoundry.org:10001 08:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:14 Configure a credential helper to remove this warning. See 08:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:14 08:20:14 Login Succeeded 08:20:14 nexus3.edgexfoundry.org:10002 08:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:14 Configure a credential helper to remove this warning. See 08:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:14 08:20:14 Login Succeeded 08:20:14 nexus3.edgexfoundry.org:10003 08:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:15 Configure a credential helper to remove this warning. See 08:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:15 08:20:15 Login Succeeded 08:20:15 nexus3.edgexfoundry.org:10004 08:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:15 Configure a credential helper to remove this warning. See 08:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:15 08:20:15 Login Succeeded 08:20:15 docker.io 08:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:15 Configure a credential helper to remove this warning. See 08:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:15 08:20:15 Login Succeeded 08:20:15 ---> docker-login.sh ends [Pipeline] } 08:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:20:15 ========================================================= 08:20:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:20:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:16 + 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 . 08:20:16 Sending build context to Docker daemon 1.559MB 08:20:16 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 08:20:16 Step 2/14 : FROM ${BASE} AS builder 08:20:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:20:16 213ec9aee27d: Pulling fs layer 08:20:16 4583459ba037: Pulling fs layer 08:20:16 93c1e223e6f2: Pulling fs layer 08:20:16 53926ce57604: Pulling fs layer 08:20:16 21b2b0c7a3f4: Pulling fs layer 08:20:16 30f14e443154: Pulling fs layer 08:20:16 801331c1e519: Pulling fs layer 08:20:16 99cc6dd402b0: Pulling fs layer 08:20:16 7d9ed39f4882: Pulling fs layer 08:20:16 30f14e443154: Waiting 08:20:16 801331c1e519: Waiting 08:20:16 99cc6dd402b0: Waiting 08:20:16 7d9ed39f4882: Waiting 08:20:16 53926ce57604: Waiting 08:20:16 21b2b0c7a3f4: Waiting 08:20:16 93c1e223e6f2: Verifying Checksum 08:20:16 93c1e223e6f2: Download complete 08:20:16 4583459ba037: Download complete 08:20:16 21b2b0c7a3f4: Verifying Checksum 08:20:16 21b2b0c7a3f4: Download complete 08:20:16 30f14e443154: Verifying Checksum 08:20:16 30f14e443154: Download complete 08:20:16 213ec9aee27d: Verifying Checksum 08:20:16 213ec9aee27d: Download complete 08:20:16 801331c1e519: Verifying Checksum 08:20:16 801331c1e519: Download complete 08:20:16 213ec9aee27d: Pull complete 08:20:16 4583459ba037: Pull complete 08:20:16 93c1e223e6f2: Pull complete 08:20:17 7d9ed39f4882: Verifying Checksum 08:20:17 7d9ed39f4882: Download complete 08:20:17 99cc6dd402b0: Verifying Checksum 08:20:17 99cc6dd402b0: Download complete 08:20:17 53926ce57604: Verifying Checksum 08:20:17 53926ce57604: Download complete 08:20:20 53926ce57604: Pull complete 08:20:21 21b2b0c7a3f4: Pull complete 08:20:21 30f14e443154: Pull complete 08:20:21 801331c1e519: Pull complete 08:20:22 99cc6dd402b0: Pull complete 08:20:23 7d9ed39f4882: Pull complete 08:20:23 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 08:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:20:23 ---> 1dedd983c030 08:20:23 Step 3/14 : ARG ADD_BUILD_TAGS="" 08:20:26 ---> Running in 159bc37fce4c 08:20:26 Removing intermediate container 159bc37fce4c 08:20:26 ---> b72f4fa15723 08:20:26 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:20:26 ---> Running in 4ae646f63881 08:20:26 Removing intermediate container 4ae646f63881 08:20:26 ---> 1d63f57b78f1 08:20:26 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 08:20:26 ---> Running in ecfcf18396a4 08:20:26 Removing intermediate container ecfcf18396a4 08:20:26 ---> 005073a30988 08:20:26 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:20:26 ---> Running in e613c43366b5 08:20:26 Removing intermediate container e613c43366b5 08:20:26 ---> 74e314bed741 08:20:26 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:20:26 ---> Running in 4ce312946e8b 08:20:27 Removing intermediate container 4ce312946e8b 08:20:27 ---> 05ede293b640 08:20:27 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:20:27 ---> Running in af2aaa34f4f3 08:20:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:20:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:20:28 (1/80) Installing mesa (21.3.8-r2) 08:20:28 (2/80) Installing libxau (1.0.9-r0) 08:20:28 (3/80) Installing libxdmcp (1.1.3-r0) 08:20:28 (4/80) Installing libxcb (1.15-r0) 08:20:28 (5/80) Installing libx11 (1.8-r0) 08:20:28 (6/80) Installing libxext (1.3.4-r0) 08:20:29 (7/80) Installing libxfixes (6.0.0-r0) 08:20:29 (8/80) Installing libxxf86vm (1.1.4-r2) 08:20:29 (9/80) Installing libpciaccess (0.16-r0) 08:20:29 Still waiting to schedule task 08:20:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:20:29 (10/80) Installing libdrm (2.4.110-r0) 08:20:29 (11/80) Installing mesa-glapi (21.3.8-r2) 08:20:29 (12/80) Installing libxshmfence (1.3-r1) 08:20:29 (13/80) Installing mesa-gl (21.3.8-r2) 08:20:29 (14/80) Installing icu-data-full (71.1-r2) 08:20:30 (15/80) Installing libice (1.0.10-r0) 08:20:30 (16/80) Installing libuuid (2.38-r1) 08:20:30 (17/80) Installing libsm (1.2.3-r0) 08:20:30 (18/80) Installing libxt (1.2.1-r0) 08:20:30 (19/80) Installing libxmu (1.1.3-r0) 08:20:31 (20/80) Installing xset (1.2.4-r0) 08:20:31 (21/80) Installing xprop (1.2.5-r0) 08:20:31 (22/80) Installing xdg-utils (1.1.3-r3) 08:20:31 (23/80) Installing dbus-libs (1.14.4-r0) 08:20:31 (24/80) Installing libffi (3.4.2-r1) 08:20:31 (25/80) Installing libintl (0.21-r2) 08:20:31 (26/80) Installing libblkid (2.38-r1) 08:20:31 (27/80) Installing libmount (2.38-r1) 08:20:31 (28/80) Installing pcre (8.45-r2) 08:20:31 (29/80) Installing glib (2.72.1-r0) 08:20:31 (30/80) Installing icu-libs (71.1-r2) 08:20:32 (31/80) Installing libpcre2-16 (10.40-r0) 08:20:32 (32/80) Installing zstd-libs (1.5.2-r1) 08:20:32 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 08:20:32 (34/80) Installing hicolor-icon-theme (0.17-r1) 08:20:32 (35/80) Installing wayland-libs-server (1.20.0-r0) 08:20:32 (36/80) Installing mesa-gbm (21.3.8-r2) 08:20:32 (37/80) Installing wayland-libs-client (1.20.0-r0) 08:20:32 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 08:20:33 (39/80) Installing libxcomposite (0.4.5-r0) 08:20:33 (40/80) Installing libbz2 (1.0.8-r1) 08:20:33 (41/80) Installing libpng (1.6.37-r1) 08:20:33 (42/80) Installing freetype (2.12.1-r0) 08:20:33 (43/80) Installing fontconfig (2.14.0-r0) 08:20:33 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 08:20:33 (45/80) Installing wayland-libs-egl (1.20.0-r0) 08:20:33 (46/80) Installing xkeyboard-config (2.35.1-r0) 08:20:34 (47/80) Installing xz-libs (5.2.5-r1) 08:20:34 (48/80) Installing libxml2 (2.9.14-r2) 08:20:34 (49/80) Installing libxkbcommon (1.4.1-r0) 08:20:34 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 08:20:35 (51/80) Installing mesa-egl (21.3.8-r2) 08:20:35 (52/80) Installing avahi-libs (0.8-r6) 08:20:35 (53/80) Installing nettle (3.7.3-r0) 08:20:35 (54/80) Installing p11-kit (0.24.1-r0) 08:20:35 (55/80) Installing libtasn1 (4.18.0-r0) 08:20:36 (56/80) Installing libunistring (1.0-r0) 08:20:36 (57/80) Installing gnutls (3.7.7-r0) 08:20:37 (58/80) Installing cups-libs (2.4.2-r0) 08:20:37 (59/80) Installing graphite2 (1.3.14-r1) 08:20:37 (60/80) Installing harfbuzz (4.3.0-r0) 08:20:37 (61/80) Installing libevdev (1.12.1-r0) 08:20:37 (62/80) Installing mtdev (1.1.6-r0) 08:20:37 (63/80) Installing eudev-libs (3.2.11-r0) 08:20:37 (64/80) Installing libinput-libs (1.20.1-r0) 08:20:37 (65/80) Installing libjpeg-turbo (2.1.3-r1) 08:20:37 (66/80) Installing xcb-util-wm (0.4.1-r1) 08:20:37 (67/80) Installing xcb-util (0.4.0-r3) 08:20:38 (68/80) Installing xcb-util-image (0.4.0-r1) 08:20:38 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 08:20:38 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 08:20:38 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 08:20:38 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 08:20:39 (73/80) Installing v4l-utils-libs (1.22.1-r1) 08:20:39 (74/80) Installing v4l-utils (1.22.1-r1) 08:20:39 (75/80) Installing udev-init-scripts (35-r0) 08:20:39 Executing udev-init-scripts-35-r0.post-install 08:20:39 (76/80) Installing kmod-libs (29-r2) 08:20:39 (77/80) Installing eudev (3.2.11-r0) 08:20:39 (78/80) Installing eudev-dev (3.2.11-r0) 08:20:39 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 08:20:39 (80/80) Installing v4l-utils-dev (1.22.1-r1) 08:20:39 Executing busybox-1.35.0-r17.trigger 08:20:39 Executing eudev-3.2.11-r0.trigger 08:20:39 OK: 330 MiB in 131 packages 08:20:42 Removing intermediate container af2aaa34f4f3 08:20:42 ---> 02d4232619bd 08:20:42 Step 9/14 : WORKDIR /device-usb-camera 08:20:42 ---> Running in 1f84bca6d129 08:20:42 Removing intermediate container 1f84bca6d129 08:20:42 ---> 39031b049c9d 08:20:42 Step 10/14 : COPY go.mod vendor* ./ 08:20:42 ---> 180a4cec73ec 08:20:42 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:20:42 ---> Running in b7451d5322f9 08:21:00 Removing intermediate container b7451d5322f9 08:21:00 ---> 64f4fc87488c 08:21:00 Step 12/14 : COPY . . 08:21:00 ---> a70bae674fbb 08:21:00 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 08:21:00 ---> Running in 5c836bab9d61 08:21:00  % Total % Received % Xferd Average Speed Time Time Time Current 08:21:00 Dload Upload Total Spent Left Speed 08:21:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45661 0 --:--:-- --:--:-- --:--:-- 46173 08:21:00 Removing intermediate container 5c836bab9d61 08:21:00 ---> c84eb46ee2df 08:21:00 Step 14/14 : RUN ${MAKE} 08:21:00 ---> Running in 16a0e8f7c81f 08:21:00 noop 08:21:00 Removing intermediate container 16a0e8f7c81f 08:21:00 ---> 49df9a5e6d90 08:21:00 Successfully built 49df9a5e6d90 08:21:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:00 + docker inspect -f . ci-base-image-x86_64 08:21:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:01 prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container 08:21:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:21:01 $ docker top c995e16a67de107aeaae4697fa018b7819f86d6d625660a2d7970c39e09b0d2c -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:01 + go version 08:21:01 go version go1.18.7 linux/amd64 [Pipeline] } 08:21:01 $ docker stop --time=1 c995e16a67de107aeaae4697fa018b7819f86d6d625660a2d7970c39e09b0d2c 08:21:03 $ docker rm -f c995e16a67de107aeaae4697fa018b7819f86d6d625660a2d7970c39e09b0d2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:03 + docker inspect -f . ci-base-image-x86_64 08:21:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:03 prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container 08:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:21:04 $ docker top 2703f1c3b03f1ae73f5089b05ee787f6e8364f89a5c1442a28f4891633016570 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:04 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-107 [Pipeline] fileExists [Pipeline] sh 08:21:05 + make test 08:21:05 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 08:21:05 ? github.com/edgexfoundry/device-usb-camera [no test files] 08:21:15 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 08:21:15 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements 08:21:23 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 08:21:23 CGO_ENABLED=1 go vet ./... 08:21:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:21:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:21:25 ./bin/test-attribution-txt.sh [Pipeline] echo 08:21:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:21:26 $ docker stop --time=1 2703f1c3b03f1ae73f5089b05ee787f6e8364f89a5c1442a28f4891633016570 08:21:27 $ docker rm -f 2703f1c3b03f1ae73f5089b05ee787f6e8364f89a5c1442a28f4891633016570 [Pipeline] // withDockerContainer [Pipeline] sh 08:21:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:21:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:21:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:21:29 + ls -al . 08:21:29 total 204 08:21:29 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:21 . 08:21:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:19 .. 08:21:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:21 .git 08:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 .github 08:21:29 -rw-rw-r-- 1 jenkins jenkins 414 Oct 25 08:19 .gitignore 08:21:29 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 08:19 .golangci.yml 08:21:29 -rw-rw-r-- 1 jenkins jenkins 77 Oct 25 08:19 .hadolint.yml 08:21:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:20 .semver 08:21:29 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 25 08:19 Attribution.txt 08:21:29 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 25 08:19 CHANGELOG.md 08:21:29 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 25 08:19 Dockerfile 08:21:29 -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 08:19 GOVERNANCE.md 08:21:29 -rw-rw-r-- 1 jenkins jenkins 659 Oct 25 08:19 Jenkinsfile 08:21:29 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 08:19 LICENSE 08:21:29 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 25 08:19 Makefile 08:21:29 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 08:19 OWNERS.md 08:21:29 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 25 08:19 README.md 08:21:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 08:20 VERSION 08:21:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:19 bin 08:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 cmd 08:21:29 -rw-r--r-- 1 jenkins jenkins 29387 Oct 25 08:21 coverage.out 08:21:29 -rwxrwxr-x 1 jenkins jenkins 140 Oct 25 08:19 docker-entrypoint.sh 08:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 docs 08:21:29 -rw-rw-r-- 1 jenkins jenkins 3621 Oct 25 08:19 go.mod 08:21:29 -rw-rw-r-- 1 jenkins jenkins 45122 Oct 25 08:19 go.sum 08:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:19 internal 08:21:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:19 snap 08:21:29 -rw-rw-r-- 1 jenkins jenkins 231 Oct 25 08:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:29 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=345b3c5613ae76c94415a58ddb707d834bfcb682 --label arch=amd64 --label version=0.0.0 . 08:21:29 Sending build context to Docker daemon 1.589MB 08:21:29 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 08:21:29 Step 2/36 : FROM ${BASE} AS builder 08:21:29 ---> 49df9a5e6d90 08:21:29 Step 3/36 : ARG ADD_BUILD_TAGS="" 08:21:29 ---> Running in 6b8fa0fa38d1 08:21:30 Removing intermediate container 6b8fa0fa38d1 08:21:30 ---> 03b541dee2b3 08:21:30 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:21:30 ---> Running in 9bf4846a81d8 08:21:30 Removing intermediate container 9bf4846a81d8 08:21:30 ---> a01fecc243ec 08:21:30 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 08:21:30 ---> Running in 3bec66ba26d3 08:21:30 Removing intermediate container 3bec66ba26d3 08:21:30 ---> 1511661d56a0 08:21:30 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:21:30 ---> Running in 3c7b7b24d4be 08:21:30 Removing intermediate container 3c7b7b24d4be 08:21:30 ---> a29817e61e56 08:21:30 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:21:30 ---> Running in 37c4c81f11b6 08:21:31 Removing intermediate container 37c4c81f11b6 08:21:31 ---> b6390e51d066 08:21:31 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:21:31 ---> Running in 1d29562c6980 08:21:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:21:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:21:32 OK: 330 MiB in 131 packages 08:21:32 Removing intermediate container 1d29562c6980 08:21:32 ---> 7808eac5e893 08:21:32 Step 9/36 : WORKDIR /device-usb-camera 08:21:32 ---> Running in c55248338c8a 08:21:33 Removing intermediate container c55248338c8a 08:21:33 ---> 5025eef23e60 08:21:33 Step 10/36 : COPY go.mod vendor* ./ 08:21:33 ---> 993830c99ced 08:21:33 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:21:33 ---> Running in bdbfc0ce971e 08:21:33 Removing intermediate container bdbfc0ce971e 08:21:33 ---> 200069481590 08:21:33 Step 12/36 : COPY . . 08:21:34 ---> ef0b82f3bcad 08:21:34 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 08:21:34 ---> Running in f0198ea52577 08:21:34  % Total % Received % Xferd Average Speed Time Time Time Current 08:21:34 Dload Upload Total Spent Left Speed 08:21:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062   0    0  27069     0 --:--:-- --:--:-- --:--:-- 27230 08:21:34 Removing intermediate container f0198ea52577 08:21:34 ---> ab210f9bd83c 08:21:34 Step 14/36 : RUN ${MAKE} 08:21:34 ---> Running in 576b7746d743 08:21:35 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 08:21:57 Removing intermediate container 576b7746d743 08:21:57 ---> c33455906866 08:21:57 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 08:21:57 v0.18.4: Pulling from aler9/rtsp-simple-server 08:21:57 af6660deedbd: Pulling fs layer 08:21:57 97cd0a44c592: Pulling fs layer 08:21:57 97cd0a44c592: Download complete 08:21:57 af6660deedbd: Verifying Checksum 08:21:57 af6660deedbd: Download complete 08:21:57 af6660deedbd: Pull complete 08:21:57 97cd0a44c592: Pull complete 08:21:57 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 08:21:57 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 08:21:57 ---> fea57e182299 08:21:57 Step 16/36 : FROM alpine:3.16 08:21:57 3.16: Pulling from library/alpine 08:21:57 213ec9aee27d: Already exists 08:21:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:21:57 Status: Downloaded newer image for alpine:3.16 08:21:57 ---> 9c6f07244728 08:21:57 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:21:57 ---> Running in 8ccca0b13689 08:21:57 Removing intermediate container 8ccca0b13689 08:21:57 ---> 093d564d9912 08:21:57 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 08:21:57 ---> Running in ea26b216399f 08:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:21:58 (1/83) Installing dumb-init (1.2.5-r1) 08:21:58 (2/83) Installing sdl2 (2.0.22-r0) 08:21:58 (3/83) Installing libxau (1.0.9-r0) 08:21:58 (4/83) Installing libxdmcp (1.1.3-r0) 08:21:58 (5/83) Installing libxcb (1.15-r0) 08:21:58 (6/83) Installing libx11 (1.8-r0) 08:21:58 (7/83) Installing aom-libs (3.3.0-r0) 08:21:58 (8/83) Installing alsa-lib (1.2.7.2-r0) 08:21:58 (9/83) Installing expat (2.4.9-r0) 08:21:58 (10/83) Installing brotli-libs (1.0.9-r6) 08:21:58 (11/83) Installing libbz2 (1.0.8-r1) 08:21:58 (12/83) Installing libpng (1.6.37-r1) 08:21:58 (13/83) Installing freetype (2.12.1-r0) 08:21:58 (14/83) Installing fontconfig (2.14.0-r0) 08:21:58 (15/83) Installing fribidi (1.0.12-r0) 08:21:58 (16/83) Installing libffi (3.4.2-r1) 08:21:58 (17/83) Installing libintl (0.21-r2) 08:21:58 (18/83) Installing libblkid (2.38-r1) 08:21:58 (19/83) Installing libmount (2.38-r1) 08:21:58 (20/83) Installing pcre (8.45-r2) 08:21:58 (21/83) Installing glib (2.72.1-r0) 08:21:58 (22/83) Installing graphite2 (1.3.14-r1) 08:21:58 (23/83) Installing harfbuzz (4.3.0-r0) 08:21:58 (24/83) Installing libass (0.16.0-r0) 08:21:58 (25/83) Installing libdav1d (1.0.0-r0) 08:21:58 (26/83) Installing libpciaccess (0.16-r0) 08:21:58 (27/83) Installing libdrm (2.4.110-r0) 08:21:58 (28/83) Installing gmp (6.2.1-r2) 08:21:58 (29/83) Installing nettle (3.7.3-r0) 08:21:58 (30/83) Installing p11-kit (0.24.1-r0) 08:21:58 (31/83) Installing libtasn1 (4.18.0-r0) 08:21:58 (32/83) Installing libunistring (1.0-r0) 08:21:58 (33/83) Installing gnutls (3.7.7-r0) 08:21:58 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 08:21:58 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 08:21:58 (36/83) Installing lame (3.100-r0) 08:21:58 (37/83) Installing opus (1.3.1-r1) 08:21:58 (38/83) Installing libasyncns (0.8-r1) 08:21:58 (39/83) Installing dbus-libs (1.14.4-r0) 08:21:58 (40/83) Installing libltdl (2.4.7-r0) 08:21:58 (41/83) Installing orc (0.4.32-r0) 08:21:58 (42/83) Installing libgcc (11.2.1_git20220219-r2) 08:21:58 (43/83) Installing libogg (1.3.5-r1) 08:21:58 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 08:21:58 (45/83) Installing flac (1.3.4-r0) 08:21:58 (46/83) Installing libvorbis (1.3.7-r0) 08:21:58 (47/83) Installing libsndfile (1.1.0-r0) 08:21:58 (48/83) Installing libgomp (11.2.1_git20220219-r2) 08:21:58 (49/83) Installing soxr (0.1.3-r2) 08:21:58 (50/83) Installing speexdsp (1.2.0-r0) 08:21:58 (51/83) Installing tdb-libs (1.4.6-r0) 08:21:58 (52/83) Installing libpulse (15.0-r2) 08:21:58 (53/83) Installing cjson (1.7.15-r3) 08:21:58 (54/83) Installing mbedtls (2.28.1-r0) 08:21:58 (55/83) Installing librist (0.2.6-r1) 08:21:58 (56/83) Installing libsrt (1.4.4-r0) 08:21:58 (57/83) Installing libssh (0.9.6-r1) 08:21:58 (58/83) Installing libtheora (1.1.1-r16) 08:21:58 (59/83) Installing libjpeg-turbo (2.1.3-r1) 08:21:58 (60/83) Installing v4l-utils-libs (1.22.1-r1) 08:21:58 (61/83) Installing libxext (1.3.4-r0) 08:21:58 (62/83) Installing libxfixes (6.0.0-r0) 08:21:58 (63/83) Installing wayland-libs-client (1.20.0-r0) 08:21:58 (64/83) Installing libva (2.14.0-r0) 08:21:58 (65/83) Installing libvdpau (1.5-r0) 08:21:58 (66/83) Installing vidstab (1.1.0-r1) 08:21:58 (67/83) Installing libvpx (1.11.0-r1) 08:21:58 (68/83) Installing libwebp (1.2.3-r0) 08:21:58 (69/83) Installing x264-libs (0.163_git20210613-r0) 08:21:58 (70/83) Installing numactl (2.0.14-r0) 08:21:58 (71/83) Installing x265-libs (3.5-r3) 08:21:58 (72/83) Installing xvidcore (1.3.7-r1) 08:21:58 (73/83) Installing ffmpeg-libs (5.0.1-r1) 08:21:59 (74/83) Installing ffmpeg (5.0.1-r1) 08:21:59 (75/83) Installing udev-init-scripts (35-r0) 08:21:59 Executing udev-init-scripts-35-r0.post-install 08:21:59 (76/83) Installing eudev-libs (3.2.11-r0) 08:21:59 (77/83) Installing xz-libs (5.2.5-r1) 08:21:59 (78/83) Installing zstd-libs (1.5.2-r1) 08:21:59 (79/83) Installing kmod-libs (29-r2) 08:21:59 (80/83) Installing eudev (3.2.11-r0) 08:21:59 (81/83) Installing libsodium (1.0.18-r0) 08:21:59 (82/83) Installing libzmq (4.3.4-r0) 08:21:59 (83/83) Installing zeromq (4.3.4-r0) 08:21:59 Executing busybox-1.35.0-r17.trigger 08:21:59 Executing eudev-3.2.11-r0.trigger 08:21:59 OK: 101 MiB in 97 packages 08:22:01 Removing intermediate container ea26b216399f 08:22:01 ---> 8445b0593204 08:22:01 Step 19/36 : WORKDIR / 08:22:01 ---> Running in 41b5c2109083 08:22:01 Removing intermediate container 41b5c2109083 08:22:01 ---> 848ceffeab05 08:22:01 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 08:22:01 ---> 1022561aba0f 08:22:01 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 08:22:01 ---> d1517106ce31 08:22:01 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 08:22:01 ---> 69b085da2e15 08:22:01 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 08:22:02 ---> b0e9ad64b983 08:22:02 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 08:22:02 ---> 05f475638b4f 08:22:02 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 08:22:02 ---> 71f86799b775 08:22:02 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 08:22:02 ---> 89fd77a9988a 08:22:02 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 08:22:02 ---> Running in b5f1ccded0da 08:22:03 Removing intermediate container b5f1ccded0da 08:22:03 ---> 328b9063e15e 08:22:03 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 08:22:03 ---> Running in b0608f95d02d 08:22:04 Removing intermediate container b0608f95d02d 08:22:04 ---> babd29db4d4e 08:22:04 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 08:22:04 ---> Running in e524e10c729f 08:22:04 Removing intermediate container e524e10c729f 08:22:04 ---> 70e12536b85c 08:22:04 Step 30/36 : EXPOSE 59983 08:22:04 ---> Running in f2d895dd3633 08:22:04 Removing intermediate container f2d895dd3633 08:22:04 ---> b7cab1b9010d 08:22:04 Step 31/36 : EXPOSE 8554 08:22:04 ---> Running in d4fabf116de4 08:22:04 Removing intermediate container d4fabf116de4 08:22:04 ---> 2ec3e534417a 08:22:04 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 08:22:05 ---> Running in b4c6741e7c39 08:22:05 Removing intermediate container b4c6741e7c39 08:22:05 ---> cc1c6e43a894 08:22:05 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 08:22:05 ---> Running in 15588cc53d63 08:22:05 Removing intermediate container 15588cc53d63 08:22:05 ---> 3b92976a5d78 08:22:05 Step 34/36 : LABEL arch=amd64 08:22:05 ---> Running in 157908b64651 08:22:05 Removing intermediate container 157908b64651 08:22:05 ---> 768b5a138cb2 08:22:05 Step 35/36 : LABEL git_sha=345b3c5613ae76c94415a58ddb707d834bfcb682 08:22:05 ---> Running in aaa95deb9b66 08:22:05 Removing intermediate container aaa95deb9b66 08:22:05 ---> 419c0a37276d 08:22:05 Step 36/36 : LABEL version=0.0.0 08:22:05 ---> Running in b3fd2e9aa442 08:22:05 Removing intermediate container b3fd2e9aa442 08:22:05 ---> db67b7a6c632 08:22:05 [Warning] One or more build-args [ARCH] were not consumed 08:22:05 Successfully built db67b7a6c632 08:22:05 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:22:06 08:22:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:22:07 latest: Pulling from edgex-lftools-log-publisher 08:22:07 5eb5b503b376: Pulling fs layer 08:22:07 5c69ac0246d0: Pulling fs layer 08:22:07 ec43610c2a17: Pulling fs layer 08:22:07 3a2ae6a8a46f: Pulling fs layer 08:22:07 33b1e0a273af: Pulling fs layer 08:22:07 5d3b04190fa2: Pulling fs layer 08:22:07 2f39f015ded8: Pulling fs layer 08:22:07 33b1e0a273af: Waiting 08:22:07 3a2ae6a8a46f: Waiting 08:22:07 5d3b04190fa2: Waiting 08:22:07 2f39f015ded8: Waiting 08:22:07 5c69ac0246d0: Verifying Checksum 08:22:07 5c69ac0246d0: Download complete 08:22:07 3a2ae6a8a46f: Verifying Checksum 08:22:07 3a2ae6a8a46f: Download complete 08:22:07 ec43610c2a17: Verifying Checksum 08:22:07 ec43610c2a17: Download complete 08:22:07 5d3b04190fa2: Download complete 08:22:07 5eb5b503b376: Download complete 08:22:07 33b1e0a273af: Verifying Checksum 08:22:07 33b1e0a273af: Download complete 08:22:07 2f39f015ded8: Verifying Checksum 08:22:07 2f39f015ded8: Download complete 08:22:08 5eb5b503b376: Pull complete 08:22:08 5c69ac0246d0: Pull complete 08:22:09 ec43610c2a17: Pull complete 08:22:09 3a2ae6a8a46f: Pull complete 08:22:09 33b1e0a273af: Pull complete 08:22:09 5d3b04190fa2: Pull complete 08:22:13 2f39f015ded8: Pull complete 08:22:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:22:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:22:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:13 prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container 08:22:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:22:16 $ docker top e56cc821463a665464ebe75e0e4ae43d051690790a10a53c8727284451652f06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:16 ---> job-cost.sh 08:22:16 lf-activate-venv: SKIPPING 08:22:16 INFO: No Stack... 08:22:17 INFO: Retrieving Pricing Info for: v3-standard-8 08:22:17 INFO: Archiving Costs [Pipeline] sh 08:22:17 + cat /w/workspace/foundry_device-usb-camera_PR-107/archives/cost.csv 08:22:17 + cut -d, -f6 [Pipeline] lock 08:22:17 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] 08:22:17 Resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] did not exist. Created. 08:22:17 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:22:18 + echo total: 0.2199999988079071 [Pipeline] stash 08:22:18 Stashed 1 file(s) [Pipeline] } 08:22:18 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:22:18 $ docker stop --time=1 e56cc821463a665464ebe75e0e4ae43d051690790a10a53c8727284451652f06 08:22:19 $ docker rm -f e56cc821463a665464ebe75e0e4ae43d051690790a10a53c8727284451652f06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:00:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116821 in /w/workspace/foundry_device-usb-camera_PR-107 [Pipeline] { [Pipeline] ws 09:00:46 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 09:00:46 Selected Git installation does not exist. Using Default 09:00:46 The recommended git tool is: NONE 09:00:51 using credential edgex-jenkins-ssh 09:00:51 Cloning the remote Git repository 09:00:51 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 09:00:52 > git init /w/workspace/device-usb-camera/1 # timeout=10 09:00:52 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:00:52 > git --version # timeout=10 09:00:52 > git --version # 'git version 2.25.1' 09:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:52 Verifying host key using known hosts file 09:00:52 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. 09:00:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:53 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:00:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:54 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:00:54 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:00:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:54 Verifying host key using known hosts file 09:00: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. 09:00:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:00:54 Merging remotes/origin/main commit 2737b4a4757873c341a4cc117393b3c94d892178 into PR head commit 345b3c5613ae76c94415a58ddb707d834bfcb682 09:00:55 Merge succeeded, producing 345b3c5613ae76c94415a58ddb707d834bfcb682 09:00:55 Checking out Revision 345b3c5613ae76c94415a58ddb707d834bfcb682 (PR-107) 09:00:54 > git config core.sparsecheckout # timeout=10 09:00:54 > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # timeout=10 09:00:54 > git remote # timeout=10 09:00:54 > git config --get remote.origin.url # timeout=10 09:00:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:55 Verifying host key using known hosts file 09:00:55 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. 09:00:55 > git merge 2737b4a4757873c341a4cc117393b3c94d892178 # timeout=10 09:00:55 > git rev-parse HEAD^{commit} # timeout=10 09:00:55 > git config core.sparsecheckout # timeout=10 09:00:55 > git checkout -f 345b3c5613ae76c94415a58ddb707d834bfcb682 # timeout=10 09:00:58 Commit message: "fix: update command request and response topic" 09:00:58 > git --version # timeout=10 09:00:58 > git --version # 'git version 2.25.1' 09:00:58 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:00:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:00:59 % Total % Received % Xferd Average Speed Time Time Time Current 09:00:59 Dload Upload Total Spent Left Speed 09:00:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 61774 0 --:--:-- --:--:-- --:--:-- 62078 [Pipeline] sh 09:01:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:01:00 + sudo tee /etc/docker/daemon.new 09:01:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:01:00 { 09:01:00 "registry-mirrors": [ 09:01:00 "https://nexus3.edgexfoundry.org:10001" 09:01:00 ], 09:01:00 "bip": "10.250.0.254/24", 09:01:00 "hosts": [ 09:01:00 "tcp://0.0.0.0:5555", 09:01:00 "unix:///var/run/docker.sock" 09:01:00 ], 09:01:00 "mtu": 1458, 09:01:00 "selinux-enabled": true, 09:01:00 "seccomp-profile": "/etc/docker/seccomp.json" 09:01:00 } [Pipeline] sh 09:01:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:01:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:01:19 provisioning config files... 09:01:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config2997646102899816284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:20 ---> docker-login.sh 09:01:20 nexus3.edgexfoundry.org:10001 09:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:20 Configure a credential helper to remove this warning. See 09:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:20 09:01:20 Login Succeeded 09:01:20 nexus3.edgexfoundry.org:10002 09:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 nexus3.edgexfoundry.org:10003 09:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 nexus3.edgexfoundry.org:10004 09:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 docker.io 09:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:22 Configure a credential helper to remove this warning. See 09:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:22 09:01:22 Login Succeeded 09:01:22 ---> docker-login.sh ends [Pipeline] } 09:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:01:23 ========================================================= 09:01:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:01:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:23 + 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 . 09:01:23 Sending build context to Docker daemon 1.024MB 09:01:23 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 09:01:23 Step 2/14 : FROM ${BASE} AS builder 09:01:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:01:24 9b18e9b68314: Pulling fs layer 09:01:24 d32db5db7311: Pulling fs layer 09:01:24 d0c4b47475fc: Pulling fs layer 09:01:24 5831b945b038: Pulling fs layer 09:01:24 86bbec2aaacd: Pulling fs layer 09:01:24 e10730c5d714: Pulling fs layer 09:01:24 5dd5c2283517: Pulling fs layer 09:01:24 d5ac0230b979: Pulling fs layer 09:01:24 e10730c5d714: Waiting 09:01:24 5831b945b038: Waiting 09:01:24 86bbec2aaacd: Waiting 09:01:24 5dd5c2283517: Waiting 09:01:24 d5ac0230b979: Waiting 09:01:24 d0c4b47475fc: Verifying Checksum 09:01:24 d0c4b47475fc: Download complete 09:01:24 d32db5db7311: Verifying Checksum 09:01:24 d32db5db7311: Download complete 09:01:24 86bbec2aaacd: Verifying Checksum 09:01:24 86bbec2aaacd: Download complete 09:01:24 e10730c5d714: Verifying Checksum 09:01:24 e10730c5d714: Download complete 09:01:24 9b18e9b68314: Verifying Checksum 09:01:24 9b18e9b68314: Download complete 09:01:25 9b18e9b68314: Pull complete 09:01:25 d5ac0230b979: Verifying Checksum 09:01:25 d5ac0230b979: Download complete 09:01:25 d32db5db7311: Pull complete 09:01:25 d0c4b47475fc: Pull complete 09:01:26 5dd5c2283517: Verifying Checksum 09:01:26 5dd5c2283517: Download complete 09:01:27 5831b945b038: Verifying Checksum 09:01:27 5831b945b038: Download complete 09:01:39 5831b945b038: Pull complete 09:01:39 86bbec2aaacd: Pull complete 09:01:39 e10730c5d714: Pull complete 09:01:46 5dd5c2283517: Pull complete 09:01:49 d5ac0230b979: Pull complete 09:01:49 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:01:49 ---> 59b3b1a385d4 09:01:49 Step 3/14 : ARG ADD_BUILD_TAGS="" 09:01:49 ---> Running in c015ebb08fa9 09:01:49 Removing intermediate container c015ebb08fa9 09:01:49 ---> f9531d19df97 09:01:49 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:01:50 ---> Running in f51f02dc46c3 09:01:50 Removing intermediate container f51f02dc46c3 09:01:50 ---> d2053c3a2e71 09:01:50 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:01:50 ---> Running in 2880592d673a 09:01:51 Removing intermediate container 2880592d673a 09:01:51 ---> 785fdd99a5e6 09:01:51 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:01:51 ---> Running in 95e46eaf23af 09:01:51 Removing intermediate container 95e46eaf23af 09:01:51 ---> 3986c807f250 09:01:51 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:01:51 ---> Running in 29d01fa5c4d4 09:01:53 Removing intermediate container 29d01fa5c4d4 09:01:53 ---> 00a0dc29e4db 09:01:53 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:01:53 ---> Running in 3f290eba5c2e 09:01:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:01:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:01:56 (1/14) Installing libintl (0.21-r2) 09:01:56 (2/14) Installing eudev-libs (3.2.11-r0) 09:01:56 (3/14) Installing libjpeg-turbo (2.1.3-r1) 09:01:56 (4/14) Installing v4l-utils-libs (1.22.1-r1) 09:01:56 (5/14) Installing v4l-utils (1.22.1-r1) 09:01:56 (6/14) Installing udev-init-scripts (35-r0) 09:01:56 Executing udev-init-scripts-35-r0.post-install 09:01:56 (7/14) Installing libblkid (2.38-r1) 09:01:56 (8/14) Installing xz-libs (5.2.5-r1) 09:01:57 (9/14) Installing zstd-libs (1.5.2-r1) 09:01:57 (10/14) Installing kmod-libs (29-r2) 09:01:57 (11/14) Installing eudev (3.2.11-r0) 09:01:57 (12/14) Installing eudev-dev (3.2.11-r0) 09:01:57 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:01:57 (14/14) Installing v4l-utils-dev (1.22.1-r1) 09:01:57 Executing busybox-1.35.0-r17.trigger 09:01:57 Executing eudev-3.2.11-r0.trigger 09:01:57 OK: 228 MiB in 65 packages 09:01:59 Removing intermediate container 3f290eba5c2e 09:01:59 ---> ca9c59275810 09:01:59 Step 9/14 : WORKDIR /device-usb-camera 09:01:59 ---> Running in 9b253839c6cf 09:01:59 Removing intermediate container 9b253839c6cf 09:01:59 ---> 3f17d0718cc6 09:01:59 Step 10/14 : COPY go.mod vendor* ./ 09:02:00 ---> 573d6649a9dd 09:02:00 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:00 ---> Running in fb9d32e99361 09:02:56 Removing intermediate container fb9d32e99361 09:02:56 ---> 74b31e2f6d6b 09:02:56 Step 12/14 : COPY . . 09:02:56 ---> 916f1645f422 09:02:56 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:02:56 ---> Running in 4bdc7eed1e9c 09:02:56   % Total % Received % Xferd Average Speed Time Time Time Current 09:02:56  Dload Upload Total Spent Left Speed 09:02:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6476 0 --:--:-- --:--:-- --:--:-- 6515 09:02:56 Removing intermediate container 4bdc7eed1e9c 09:02:56 ---> e89313a24e36 09:02:56 Step 14/14 : RUN ${MAKE} 09:02:56 ---> Running in 6eb114126950 09:02:57 noop 09:02:57 Removing intermediate container 6eb114126950 09:02:57 ---> 8a2855165e0a 09:02:57 Successfully built 8a2855165e0a 09:02:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:58 + docker inspect -f . ci-base-image-arm64 09:02:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:58 prd-ubuntu20.04-docker-arm64-4c-16g-116821 does not seem to be running inside a container 09:02:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:02:59 $ docker top 8008c9f245895ca131fd21d794dc00185483fd4855b599b9393f4702a670d637 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:00 + go version 09:03:00 go version go1.18.7 linux/arm64 [Pipeline] } 09:03:00 $ docker stop --time=1 8008c9f245895ca131fd21d794dc00185483fd4855b599b9393f4702a670d637 09:03:02 $ docker rm -f 8008c9f245895ca131fd21d794dc00185483fd4855b599b9393f4702a670d637 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:03 + docker inspect -f . ci-base-image-arm64 09:03:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:03 prd-ubuntu20.04-docker-arm64-4c-16g-116821 does not seem to be running inside a container 09:03:03 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:03:04 $ docker top a767749ca9375be873da8b2942f64d2fa32fc6d4c423a765e66ee70f8da73a34 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:05 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 09:03:06 + make test 09:03:06 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:03:07 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:04:59 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:04:59 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.081s coverage: 1.9% of statements 09:04:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:04:59 CGO_ENABLED=1 go vet ./... 09:05:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:05:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:05:26 ./bin/test-attribution-txt.sh [Pipeline] echo 09:05:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:05:26 $ docker stop --time=1 a767749ca9375be873da8b2942f64d2fa32fc6d4c423a765e66ee70f8da73a34 09:05:28 $ docker rm -f a767749ca9375be873da8b2942f64d2fa32fc6d4c423a765e66ee70f8da73a34 [Pipeline] // withDockerContainer [Pipeline] sh 09:05:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:05:29 Warning: overwriting stash ‘coverage-report’ 09:05:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:05:30 + ls -al . 09:05:30 total 200 09:05:30 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 09:03 . 09:05:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:00 .. 09:05:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 09:00 .git 09:05:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 .github 09:05:30 -rw-rw-r-- 1 jenkins jenkins 414 Oct 25 09:00 .gitignore 09:05:30 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 09:00 .golangci.yml 09:05:30 -rw-rw-r-- 1 jenkins jenkins 77 Oct 25 09:00 .hadolint.yml 09:05:30 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 25 09:00 Attribution.txt 09:05:30 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 25 09:00 CHANGELOG.md 09:05:30 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 25 09:00 Dockerfile 09:05:30 -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 09:00 GOVERNANCE.md 09:05:30 -rw-rw-r-- 1 jenkins jenkins 659 Oct 25 09:00 Jenkinsfile 09:05:30 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 09:00 LICENSE 09:05:30 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 25 09:00 Makefile 09:05:30 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 09:00 OWNERS.md 09:05:30 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 25 09:00 README.md 09:05:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 08:20 VERSION 09:05:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 09:00 bin 09:05:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 cmd 09:05:30 -rw-r--r-- 1 jenkins jenkins 29387 Oct 25 09:04 coverage.out 09:05:30 -rwxrwxr-x 1 jenkins jenkins 140 Oct 25 09:00 docker-entrypoint.sh 09:05:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 docs 09:05:30 -rw-rw-r-- 1 jenkins jenkins 3621 Oct 25 09:00 go.mod 09:05:30 -rw-rw-r-- 1 jenkins jenkins 45122 Oct 25 09:00 go.sum 09:05:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:00 internal 09:05:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:00 snap 09:05:30 -rw-rw-r-- 1 jenkins jenkins 231 Oct 25 09:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:31 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=345b3c5613ae76c94415a58ddb707d834bfcb682 --label arch=arm64 --label version=0.0.0 . 09:05:31 Sending build context to Docker daemon 1.054MB 09:05:31 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 09:05:31 Step 2/36 : FROM ${BASE} AS builder 09:05:31 ---> 8a2855165e0a 09:05:31 Step 3/36 : ARG ADD_BUILD_TAGS="" 09:05:32 ---> Running in 19752df1df21 09:05:32 Removing intermediate container 19752df1df21 09:05:32 ---> d5f175fe1c2a 09:05:32 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:05:32 ---> Running in c2c21c49366a 09:05:33 Removing intermediate container c2c21c49366a 09:05:33 ---> 3226521fe398 09:05:33 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:05:33 ---> Running in e7905eddc573 09:05:33 Removing intermediate container e7905eddc573 09:05:33 ---> 2959e39c54d9 09:05:33 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:05:33 ---> Running in be37b942d2c7 09:05:33 Removing intermediate container be37b942d2c7 09:05:33 ---> 35e1fc857a45 09:05:33 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:33 ---> Running in 1cc7bffbc070 09:05:36 Removing intermediate container 1cc7bffbc070 09:05:36 ---> 2d1d5b0b5f74 09:05:36 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:05:36 ---> Running in 60e94649fedd 09:05:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:05:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:05:42 OK: 228 MiB in 65 packages 09:05:43 Removing intermediate container 60e94649fedd 09:05:43 ---> 874980eb0ad7 09:05:43 Step 9/36 : WORKDIR /device-usb-camera 09:05:43 ---> Running in bbc3596b66ac 09:05:44 Removing intermediate container bbc3596b66ac 09:05:44 ---> 11c36b340dd6 09:05:44 Step 10/36 : COPY go.mod vendor* ./ 09:05:45 ---> 07f35743fd9e 09:05:45 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:05:45 ---> Running in 95a96bf44d68 09:05:47 Removing intermediate container 95a96bf44d68 09:05:47 ---> d5ab11c79595 09:05:47 Step 12/36 : COPY . . 09:05:48 ---> f2aa51e8093c 09:05:48 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:05:48 ---> Running in 6989090f4bcc 09:05:49  % Total % Received % Xferd Average Speed Time Time Time Current 09:05:49 Dload Upload Total Spent Left Speed 09:05:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12351 0 --:--:-- --:--:-- --:--:-- 12494 09:05:50 Removing intermediate container 6989090f4bcc 09:05:50 ---> f70b0844e1f5 09:05:50 Step 14/36 : RUN ${MAKE} 09:05:51 ---> Running in e9f6e3b50c48 09:05:52 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 09:08:44 Removing intermediate container e9f6e3b50c48 09:08:44 ---> 9d04736f6487 09:08:44 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:08:44 v0.18.4: Pulling from aler9/rtsp-simple-server 09:08:44 eab2503cf8f4: Pulling fs layer 09:08:44 97cd0a44c592: Pulling fs layer 09:08:44 97cd0a44c592: Download complete 09:08:44 eab2503cf8f4: Verifying Checksum 09:08:44 eab2503cf8f4: Download complete 09:08:44 eab2503cf8f4: Pull complete 09:08:44 97cd0a44c592: Pull complete 09:08:44 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:08:44 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:08:44 ---> 7f763cca56b3 09:08:44 Step 16/36 : FROM alpine:3.16 09:08:44 3.16: Pulling from library/alpine 09:08:44 9b18e9b68314: Already exists 09:08:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:08:44 Status: Downloaded newer image for alpine:3.16 09:08:44 ---> a6215f271958 09:08:44 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:08:44 ---> Running in 99ca44c03645 09:08:44 Removing intermediate container 99ca44c03645 09:08:44 ---> dcf8af1eea71 09:08:44 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:08:44 ---> Running in d86873e0ca15 09:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:08:44 (1/82) Installing dumb-init (1.2.5-r1) 09:08:44 (2/82) Installing sdl2 (2.0.22-r0) 09:08:44 (3/82) Installing libxau (1.0.9-r0) 09:08:44 (4/82) Installing libxdmcp (1.1.3-r0) 09:08:44 (5/82) Installing libxcb (1.15-r0) 09:08:44 (6/82) Installing libx11 (1.8-r0) 09:08:44 (7/82) Installing aom-libs (3.3.0-r0) 09:08:44 (8/82) Installing alsa-lib (1.2.7.2-r0) 09:08:44 (9/82) Installing expat (2.4.9-r0) 09:08:44 (10/82) Installing brotli-libs (1.0.9-r6) 09:08:44 (11/82) Installing libbz2 (1.0.8-r1) 09:08:44 (12/82) Installing libpng (1.6.37-r1) 09:08:44 (13/82) Installing freetype (2.12.1-r0) 09:08:44 (14/82) Installing fontconfig (2.14.0-r0) 09:08:44 (15/82) Installing fribidi (1.0.12-r0) 09:08:44 (16/82) Installing libffi (3.4.2-r1) 09:08:44 (17/82) Installing libintl (0.21-r2) 09:08:44 (18/82) Installing libblkid (2.38-r1) 09:08:44 (19/82) Installing libmount (2.38-r1) 09:08:44 (20/82) Installing pcre (8.45-r2) 09:08:44 (21/82) Installing glib (2.72.1-r0) 09:08:44 (22/82) Installing graphite2 (1.3.14-r1) 09:08:44 (23/82) Installing harfbuzz (4.3.0-r0) 09:08:44 (24/82) Installing libass (0.16.0-r0) 09:08:44 (25/82) Installing libdav1d (1.0.0-r0) 09:08:44 (26/82) Installing libdrm (2.4.110-r0) 09:08:44 (27/82) Installing gmp (6.2.1-r2) 09:08:44 (28/82) Installing nettle (3.7.3-r0) 09:08:44 (29/82) Installing p11-kit (0.24.1-r0) 09:08:44 (30/82) Installing libtasn1 (4.18.0-r0) 09:08:44 (31/82) Installing libunistring (1.0-r0) 09:08:44 (32/82) Installing gnutls (3.7.7-r0) 09:08:44 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 09:08:44 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 09:08:44 (35/82) Installing lame (3.100-r0) 09:08:44 (36/82) Installing opus (1.3.1-r1) 09:08:44 (37/82) Installing libasyncns (0.8-r1) 09:08:44 (38/82) Installing dbus-libs (1.14.4-r0) 09:08:44 (39/82) Installing libltdl (2.4.7-r0) 09:08:44 (40/82) Installing orc (0.4.32-r0) 09:08:44 (41/82) Installing libgcc (11.2.1_git20220219-r2) 09:08:44 (42/82) Installing libogg (1.3.5-r1) 09:08:44 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 09:08:44 (44/82) Installing flac (1.3.4-r0) 09:08:44 (45/82) Installing libvorbis (1.3.7-r0) 09:08:44 (46/82) Installing libsndfile (1.1.0-r0) 09:08:44 (47/82) Installing libgomp (11.2.1_git20220219-r2) 09:08:44 (48/82) Installing soxr (0.1.3-r2) 09:08:44 (49/82) Installing speexdsp (1.2.0-r0) 09:08:44 (50/82) Installing tdb-libs (1.4.6-r0) 09:08:44 (51/82) Installing libpulse (15.0-r2) 09:08:44 (52/82) Installing cjson (1.7.15-r3) 09:08:44 (53/82) Installing mbedtls (2.28.1-r0) 09:08:44 (54/82) Installing librist (0.2.6-r1) 09:08:44 (55/82) Installing libsrt (1.4.4-r0) 09:08:44 (56/82) Installing libssh (0.9.6-r1) 09:08:44 (57/82) Installing libtheora (1.1.1-r16) 09:08:44 (58/82) Installing libjpeg-turbo (2.1.3-r1) 09:08:44 (59/82) Installing v4l-utils-libs (1.22.1-r1) 09:08:44 (60/82) Installing libxext (1.3.4-r0) 09:08:44 (61/82) Installing libxfixes (6.0.0-r0) 09:08:44 (62/82) Installing wayland-libs-client (1.20.0-r0) 09:08:44 (63/82) Installing libva (2.14.0-r0) 09:08:44 (64/82) Installing libvdpau (1.5-r0) 09:08:44 (65/82) Installing vidstab (1.1.0-r1) 09:08:44 (66/82) Installing libvpx (1.11.0-r1) 09:08:44 (67/82) Installing libwebp (1.2.3-r0) 09:08:44 (68/82) Installing x264-libs (0.163_git20210613-r0) 09:08:44 (69/82) Installing numactl (2.0.14-r0) 09:08:44 (70/82) Installing x265-libs (3.5-r3) 09:08:44 (71/82) Installing xvidcore (1.3.7-r1) 09:08:44 (72/82) Installing ffmpeg-libs (5.0.1-r1) 09:08:44 (73/82) Installing ffmpeg (5.0.1-r1) 09:08:44 (74/82) Installing udev-init-scripts (35-r0) 09:08:44 Executing udev-init-scripts-35-r0.post-install 09:08:44 (75/82) Installing eudev-libs (3.2.11-r0) 09:08:44 (76/82) Installing xz-libs (5.2.5-r1) 09:08:44 (77/82) Installing zstd-libs (1.5.2-r1) 09:08:44 (78/82) Installing kmod-libs (29-r2) 09:08:44 (79/82) Installing eudev (3.2.11-r0) 09:08:44 (80/82) Installing libsodium (1.0.18-r0) 09:08:44 (81/82) Installing libzmq (4.3.4-r0) 09:08:44 (82/82) Installing zeromq (4.3.4-r0) 09:08:44 Executing busybox-1.35.0-r17.trigger 09:08:44 Executing eudev-3.2.11-r0.trigger 09:08:44 OK: 78 MiB in 96 packages 09:08:44 Removing intermediate container d86873e0ca15 09:08:44 ---> 34e6c5728ef4 09:08:44 Step 19/36 : WORKDIR / 09:08:44 ---> Running in ba71b296559a 09:08:44 Removing intermediate container ba71b296559a 09:08:44 ---> fdc6710a2c7b 09:08:44 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 09:08:44 ---> b09abdb3916b 09:08:44 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 09:08:45 ---> a8734b5cade9 09:08:45 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 09:08:45 ---> d0fda6bcb8c3 09:08:45 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:08:45 ---> ed0c7b9abed7 09:08:45 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:08:46 ---> ef2f1157ad4b 09:08:46 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 09:08:47 ---> 6da74f31a860 09:08:47 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 09:08:48 ---> aa4a307f2a6c 09:08:48 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 09:08:48 ---> Running in 2f6fece2ae8d 09:08:50 Removing intermediate container 2f6fece2ae8d 09:08:50 ---> fa0887d61116 09:08:50 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 09:08:50 ---> Running in 9701322e42cd 09:08:51 Removing intermediate container 9701322e42cd 09:08:51 ---> b202aa58b8f6 09:08:51 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 09:08:51 ---> Running in 48f7452c53da 09:08:53 Removing intermediate container 48f7452c53da 09:08:53 ---> 997c1beb5343 09:08:53 Step 30/36 : EXPOSE 59983 09:08:53 ---> Running in 6105325eff21 09:08:54 Removing intermediate container 6105325eff21 09:08:54 ---> 61599fe4710b 09:08:54 Step 31/36 : EXPOSE 8554 09:08:54 ---> Running in 36dc9b9941c2 09:08:54 Removing intermediate container 36dc9b9941c2 09:08:54 ---> 45f92997a7fb 09:08:54 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:08:54 ---> Running in 2b7f7a6e7e25 09:08:54 Removing intermediate container 2b7f7a6e7e25 09:08:54 ---> d26320b27e50 09:08:54 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:08:54 ---> Running in 87e38e6ca280 09:08:55 Removing intermediate container 87e38e6ca280 09:08:55 ---> 1866b12f1ad6 09:08:55 Step 34/36 : LABEL arch=arm64 09:08:55 ---> Running in 06d3e8fd4ca9 09:08:55 Removing intermediate container 06d3e8fd4ca9 09:08:55 ---> 5f9c15cb7cf2 09:08:55 Step 35/36 : LABEL git_sha=345b3c5613ae76c94415a58ddb707d834bfcb682 09:08:55 ---> Running in f743d229eedf 09:08:56 Removing intermediate container f743d229eedf 09:08:56 ---> fdccf1385b63 09:08:56 Step 36/36 : LABEL version=0.0.0 09:08:56 ---> Running in 5fcb21b270ce 09:08:56 Removing intermediate container 5fcb21b270ce 09:08:56 ---> ea269e2d25cd 09:08:56 [Warning] One or more build-args [ARCH] were not consumed 09:08:56 Successfully built ea269e2d25cd 09:08:56 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:08:57 09:08:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:08:57 arm64: Pulling from edgex-lftools-log-publisher 09:08:57 8998bd30e6a1: Pulling fs layer 09:08:57 04944245beec: Pulling fs layer 09:08:57 699f458cf7ca: Pulling fs layer 09:08:57 765212b225bb: Pulling fs layer 09:08:57 f23df028b6ca: Pulling fs layer 09:08:57 d65c8cfc05b1: Pulling fs layer 09:08:57 2437ff75d9bd: Pulling fs layer 09:08:57 765212b225bb: Waiting 09:08:57 f23df028b6ca: Waiting 09:08:57 2437ff75d9bd: Waiting 09:08:57 d65c8cfc05b1: Waiting 09:08:58 04944245beec: Verifying Checksum 09:08:58 04944245beec: Download complete 09:08:58 765212b225bb: Verifying Checksum 09:08:58 765212b225bb: Download complete 09:08:58 f23df028b6ca: Verifying Checksum 09:08:58 f23df028b6ca: Download complete 09:08:58 d65c8cfc05b1: Verifying Checksum 09:08:58 d65c8cfc05b1: Download complete 09:08:58 699f458cf7ca: Verifying Checksum 09:08:58 699f458cf7ca: Download complete 09:08:58 8998bd30e6a1: Verifying Checksum 09:08:58 8998bd30e6a1: Download complete 09:09:01 2437ff75d9bd: Verifying Checksum 09:09:01 2437ff75d9bd: Download complete 09:09:02 8998bd30e6a1: Pull complete 09:09:03 04944245beec: Pull complete 09:09:04 699f458cf7ca: Pull complete 09:09:04 765212b225bb: Pull complete 09:09:05 f23df028b6ca: Pull complete 09:09:05 d65c8cfc05b1: Pull complete 09:09:20 2437ff75d9bd: Pull complete 09:09:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:09:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:21 prd-ubuntu20.04-docker-arm64-4c-16g-116821 does not seem to be running inside a container 09:09:21 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:09:23 $ docker top 5e4d7f006d9105bbaf60ac9e4c348a3dd973b428b356327c7894eb442dee6f51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:24 ---> job-cost.sh 09:09:24 lf-activate-venv: SKIPPING 09:09:24 INFO: No Stack... 09:09:24 INFO: Retrieving Pricing Info for: v3-standard-4 09:09:25 INFO: Archiving Costs [Pipeline] sh 09:09:26 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 09:09:26 + cut -d, -f6 [Pipeline] lock 09:09:26 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] 09:09:26 Resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] did not exist. Created. 09:09:26 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:09:27 /w/workspace/device-usb-camera/1@tmp/durable-dc844d4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:09:27 + echo total: 0.10999999940395355 [Pipeline] stash 09:09:27 Warning: overwriting stash ‘stack-cost’ 09:09:27 Stashed 1 file(s) [Pipeline] } 09:09:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:09:27 $ docker stop --time=1 5e4d7f006d9105bbaf60ac9e4c348a3dd973b428b356327c7894eb442dee6f51 09:09:29 $ docker rm -f 5e4d7f006d9105bbaf60ac9e4c348a3dd973b428b356327c7894eb442dee6f51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:09:30 provisioning config files... 09:09:30 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config9894912629672020880tmp [Pipeline] { [Pipeline] sh 09:09:30 + set +x 09:09:30 + curl -s https://codecov.io/bash 09:09:30 + bash -s -- 09:09:30 09:09:30 _____ _ 09:09:30 / ____| | | 09:09:30 | | ___ __| | ___ ___ _____ __ 09:09:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:09:30 | |___| (_) | (_| | __/ (_| (_) \ V / 09:09:30 \_____\___/ \__,_|\___|\___\___/ \_/ 09:09:30 Bash-1.0.6 09:09:30 09:09:30 09:09:30 ==> git version 2.25.1 found 09:09:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:09:30 Release-Date: 2020-01-08 09:09:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:09:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:09:30 ==> Jenkins CI detected. 09:09:30 current dir:  /w/workspace/foundry_device-usb-camera_PR-107 09:09:30 project root: . 09:09:30 --> token set from env 09:09:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:09:30 ==> Running gcov in . (disable via -X gcov) 09:09:30 ==> Python coveragepy not found 09:09:30 ==> Searching for coverage reports in: 09:09:30 + . 09:09:30 -> Found 1 reports 09:09:30 ==> Detecting git/mercurial file structure 09:09:30 ==> Reading reports 09:09:30 + ./coverage.out bytes=29387 09:09:30 ==> Appending adjustments 09:09:30 https://docs.codecov.io/docs/fixing-reports 09:09:30 + Found adjustments 09:09:30 ==> Gzipping contents 09:09:30 8.0K /tmp/codecov.jBZIsD.gz 09:09:30 ==> Uploading reports 09:09:30 url: https://codecov.io 09:09:30 query: branch=PR-107&commit=345b3c5613ae76c94415a58ddb707d834bfcb682&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=107&job=&cmd_args= 09:09:30 -> Pinging Codecov 09:09:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-107&commit=345b3c5613ae76c94415a58ddb707d834bfcb682&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=107&job=&cmd_args= 09:09:31 -> Uploading to 09:09:31 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/73D8F5FF140700D3E01443B452E23636/345b3c5613ae76c94415a58ddb707d834bfcb682/dd922c23-e455-41c6-afbc-5a820ad67741.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T090930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45f58d2ef1aa0820cd0942476c56eeeec8f19b033a2c9e1a151d547899817017 09:09:31 % Total % Received % Xferd Average Speed Time Time Time Current 09:09:31 Dload Upload Total Spent Left Speed 09:09:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4191 0 0 100 4191 0 17910 --:--:-- --:--:-- --:--:-- 17910 09:09:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/345b3c5613ae76c94415a58ddb707d834bfcb682 [Pipeline] } 09:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:09:33 + [ -d /w/workspace/foundry_device-usb-camera_PR-107/archives ] 09:09:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-107/archives 09:09:33 total 16 09:09:33 drwxr-xr-x 3 root root 4096 Oct 25 08:22 . 09:09:33 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 08:22 .. 09:09:33 drwxr-xr-x 2 root root 4096 Oct 25 08:22 cost 09:09:33 -rw-r--r-- 1 root root 89 Oct 25 08:22 cost.csv 09:09:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-107/archives 09:09:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-107/archives 09:09:33 total 16 09:09:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:22 . 09:09:33 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 08:22 .. 09:09:33 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 08:22 cost 09:09:33 -rw-r--r-- 1 jenkins jenkins 89 Oct 25 08:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:09:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:09:34 ---> package-listing.sh 09:09:34 ++ facter osfamily 09:09:34 ++ tr '[:upper:]' '[:lower:]' 09:09:34 + OS_FAMILY=debian 09:09:34 + workspace=/w/workspace/foundry_device-usb-camera_PR-107 09:09:34 + START_PACKAGES=/tmp/packages_start.txt 09:09:34 + END_PACKAGES=/tmp/packages_end.txt 09:09:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:09:34 + PACKAGES=/tmp/packages_start.txt 09:09:34 + '[' /w/workspace/foundry_device-usb-camera_PR-107 ']' 09:09:34 + PACKAGES=/tmp/packages_end.txt 09:09:34 + case "${OS_FAMILY}" in 09:09:34 + dpkg -l 09:09:34 + grep '^ii' 09:09:34 + '[' -f /tmp/packages_start.txt ']' 09:09:34 + '[' -f /tmp/packages_end.txt ']' 09:09:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:09:34 + '[' /w/workspace/foundry_device-usb-camera_PR-107 ']' 09:09:34 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-107/archives/ 09:09:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-107/archives/ [Pipeline] echo 09:09:34 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/foundry_device-usb-camera_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:09:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:35 prd-ubuntu20.04-docker-8c-8g-116806 does not seem to be running inside a container 09:09:35 $ 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/foundry_device-usb-camera_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-107 -v /w/workspace/foundry_device-usb-camera_PR-107:/w/workspace/foundry_device-usb-camera_PR-107:rw,z -v /w/workspace/foundry_device-usb-camera_PR-107@tmp:/w/workspace/foundry_device-usb-camera_PR-107@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 09:09:35 $ docker top 5a95035a0f3ca40ec765eede471d426a655a3d6b38470a68f2020f11174f821b -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:36 + touch /tmp/pre-build-complete [Pipeline] sh 09:09:36 + mkdir -p /var/log/sysstat [Pipeline] sh 09:09:36 + ls /var/log/sa-host 09:09:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:36 provisioning config files... 09:09:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-107@tmp/config6142746247335519071tmp [Pipeline] { [Pipeline] echo 09:09:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:09:37 ---> create-netrc.sh [Pipeline] } 09:09:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:09:37 ---> python-tools-install.sh [Pipeline] echo 09:09:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:09:38 ---> sudo-logs.sh 09:09:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:09:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:09:38 ---> job-cost.sh 09:09:38 lf-activate-venv: SKIPPING 09:09:38 DEBUG: total: 0.2199999988079071 09:09:38 INFO: Retrieving Stack Cost... 09:09:38 INFO: Retrieving Pricing Info for: v3-standard-8 09:09:39 INFO: Archiving Costs [Pipeline] echo 09:09:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:09:39 ---> logs-deploy.sh 09:09:39 lf-activate-venv: SKIPPING 09:09:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-107/1 09:09:39 INFO: archiving workspace using pattern(s): 09:09:40 Archives upload complete. 09:09:40 INFO: archiving logs to Nexus