Pull request #349 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 592e4457d474834c4ef1d8087c317a4be0995ef1+8af420bf6967b65b18f8274e92082c818197a7ec (ad4af9ca35cab7d33c4eb4a05f1bc97e7fde8fc7) 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-ssh15876278950443107105.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh13239953907919595835.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-349/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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15846757601890997123.key > 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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4368858277999691061.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh9555937496839124447.key > 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-349/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-349/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7175566356967064584.key > 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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12475 in /w/workspace/foundry_device-usb-camera_PR-349 [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-349 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8af420bf6967b65b18f8274e92082c818197a7ec into PR head commit 592e4457d474834c4ef1d8087c317a4be0995ef1 Merge succeeded, producing 592e4457d474834c4ef1d8087c317a4be0995ef1 Checking out Revision 592e4457d474834c4ef1d8087c317a4be0995ef1 (PR-349) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 592e4457d474834c4ef1d8087c317a4be0995ef1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8af420bf6967b65b18f8274e92082c818197a7ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 592e4457d474834c4ef1d8087c317a4be0995ef1 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:01:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:01:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:01:14 ========================================================= 18:01:14 EdgeX Global Pipelines Version Info 18:01:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:01:14 ------------------- 18:01:14 stable info: 18:01:14 ------------------- 18:01:14 Commited By: Cherry Wang cherry@iotechsys.com 18:01:14 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 18:01:14 Message: update stable to v1.0.264 18:01:15 ------------------- 18:01:15 experimental info: 18:01:15 ------------------- 18:01:15 Commited By: Cherry Wang cherry@iotechsys.com 18:01:15 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 18:01:15 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:01:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:01:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:01:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:01:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:01:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-349 [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-349 [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-349 [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 592e4457d474834c4ef1d8087c317a4be0995ef1 [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 592e445 [Pipeline] echo 18:01:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:17 provisioning config files... 18:01:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-349@tmp/config18151956291352003834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:18 ---> ****-login.sh 18:01:18 nexus3.edgexfoundry.org:10001 18:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:18 Configure a credential helper to remove this warning. See 18:01:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:18 18:01:18 Login Succeeded 18:01:18 nexus3.edgexfoundry.org:10002 18:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:18 Configure a credential helper to remove this warning. See 18:01:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:18 18:01:18 Login Succeeded 18:01:18 nexus3.edgexfoundry.org:10003 18:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:18 Configure a credential helper to remove this warning. See 18:01:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:18 18:01:18 Login Succeeded 18:01:18 nexus3.edgexfoundry.org:10004 18:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:19 Configure a credential helper to remove this warning. See 18:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:19 18:01:19 Login Succeeded 18:01:19 ****.io 18:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:19 Configure a credential helper to remove this warning. See 18:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:19 18:01:19 Login Succeeded 18:01:19 ---> ****-login.sh ends [Pipeline] } 18:01:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:01:20 + git rev-list -1 --merges 592e4457d474834c4ef1d8087c317a4be0995ef1~1..592e4457d474834c4ef1d8087c317a4be0995ef1 [Pipeline] echo 18:01:20 -----------> git rev-list -1 --merges 592e4457d474834c4ef1d8087c317a4be0995ef1~1..592e4457d474834c4ef1d8087c317a4be0995ef1 592e4457d474834c4ef1d8087c317a4be0995ef1 [false] [Pipeline] sh 18:01:20 + git log --format=format:%s -1 592e4457d474834c4ef1d8087c317a4be0995ef1 [Pipeline] echo 18:01:20 ========================================================= 18:01:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:01:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:01:20 + git log --format=format:%s -1 592e4457d474834c4ef1d8087c317a4be0995ef1 [Pipeline] echo 18:01:21 [semverPrep] GIT_COMMIT: 592e4457d474834c4ef1d8087c317a4be0995ef1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:01:21 [semverPrep] This is not a build commit. [Pipeline] sh 18:01:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:01:21 + grep -v github /etc/ssh/ssh_known_hosts 18:01:21 + [ -e /tmp/ssh_known_hosts ] 18:01:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:01:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 18:01:21 sudo tee -a /etc/ssh/ssh_known_hosts 18:01:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:21 18:01:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:22 0.1.4: Pulling from edgex-devops/py-git-semver 18:01:22 b85a868b505f: Pulling fs layer 18:01:22 e2be974225ed: Pulling fs layer 18:01:22 339a4e72a1f5: Pulling fs layer 18:01:22 988bab9f4d93: Pulling fs layer 18:01:22 1469e6f7b9e6: Pulling fs layer 18:01:22 eaf3925da568: Pulling fs layer 18:01:22 bab4dde63d76: Pulling fs layer 18:01:22 bde34c3a00c8: Pulling fs layer 18:01:22 b352a97aabf1: Pulling fs layer 18:01:22 4872d77fe225: Pulling fs layer 18:01:22 5851b861e8e6: Pulling fs layer 18:01:22 bab4dde63d76: Waiting 18:01:22 bde34c3a00c8: Waiting 18:01:22 b352a97aabf1: Waiting 18:01:22 4872d77fe225: Waiting 18:01:22 5851b861e8e6: Waiting 18:01:22 988bab9f4d93: Waiting 18:01:22 eaf3925da568: Waiting 18:01:22 1469e6f7b9e6: Waiting 18:01:22 e2be974225ed: Verifying Checksum 18:01:22 e2be974225ed: Download complete 18:01:22 988bab9f4d93: Verifying Checksum 18:01:22 988bab9f4d93: Download complete 18:01:22 1469e6f7b9e6: Verifying Checksum 18:01:22 1469e6f7b9e6: Download complete 18:01:22 eaf3925da568: Download complete 18:01:22 339a4e72a1f5: Verifying Checksum 18:01:22 339a4e72a1f5: Download complete 18:01:22 bde34c3a00c8: Download complete 18:01:22 b352a97aabf1: Verifying Checksum 18:01:22 b352a97aabf1: Download complete 18:01:22 4872d77fe225: Verifying Checksum 18:01:22 4872d77fe225: Download complete 18:01:22 5851b861e8e6: Verifying Checksum 18:01:22 5851b861e8e6: Download complete 18:01:22 b85a868b505f: Verifying Checksum 18:01:22 b85a868b505f: Download complete 18:01:22 bab4dde63d76: Verifying Checksum 18:01:22 bab4dde63d76: Download complete 18:01:23 b85a868b505f: Pull complete 18:01:24 e2be974225ed: Pull complete 18:01:24 339a4e72a1f5: Pull complete 18:01:24 988bab9f4d93: Pull complete 18:01:24 1469e6f7b9e6: Pull complete 18:01:24 eaf3925da568: Pull complete 18:01:26 bab4dde63d76: Pull complete 18:01:26 bde34c3a00c8: Pull complete 18:01:27 b352a97aabf1: Pull complete 18:01:27 4872d77fe225: Pull complete 18:01:27 5851b861e8e6: Pull complete 18:01:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:27 prd-ubuntu20.04-docker-8c-8g-12475 does not seem to be running inside a container 18:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-349 -v /w/workspace/foundry_device-usb-camera_PR-349:/w/workspace/foundry_device-usb-camera_PR-349:rw,z -v /w/workspace/foundry_device-usb-camera_PR-349@tmp:/w/workspace/foundry_device-usb-camera_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:01:30 $ docker top b1a0b7d50519bbe4de0bd39512f1261cfc33a808799fd8c4189ea380b88f2eff -eo pid,comm 18:01:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:01:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:01:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:30 [ssh-agent] Looking for ssh-agent implementation... 18:01:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:31 $ docker exec b1a0b7d50519bbe4de0bd39512f1261cfc33a808799fd8c4189ea380b88f2eff ssh-agent 18:01:31 SSH_AUTH_SOCK=/tmp/ssh-VR1puuXxEwoF/agent.33 18:01:31 SSH_AGENT_PID=39 18:01:31 Running ssh-add (command line suppressed) 18:01:31 Identity added: /w/workspace/foundry_device-usb-camera_PR-349@tmp/private_key_15311445685402791213.key (/w/workspace/foundry_device-usb-camera_PR-349@tmp/private_key_15311445685402791213.key) 18:01:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:31 + git tag --points-at HEAD [Pipeline] } 18:01:31 $ docker exec --env ******** --env ******** b1a0b7d50519bbe4de0bd39512f1261cfc33a808799fd8c4189ea380b88f2eff ssh-agent -k 18:01:31 unset SSH_AUTH_SOCK; 18:01:31 unset SSH_AGENT_PID; 18:01:31 echo Agent pid 39 killed; 18:01:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:01:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:32 [ssh-agent] Looking for ssh-agent implementation... 18:01:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:32 $ docker exec b1a0b7d50519bbe4de0bd39512f1261cfc33a808799fd8c4189ea380b88f2eff ssh-agent 18:01:32 SSH_AUTH_SOCK=/tmp/ssh-LQZQkA7PfD7m/agent.72 18:01:32 SSH_AGENT_PID=78 18:01:32 Running ssh-add (command line suppressed) 18:01:32 Identity added: /w/workspace/foundry_device-usb-camera_PR-349@tmp/private_key_14637972535814130838.key (/w/workspace/foundry_device-usb-camera_PR-349@tmp/private_key_14637972535814130838.key) 18:01:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:32 + git semver init 18:01:32 2024-10-01 18:01:32,886 [run_init] DEBUG init version:0.0.0 force:False 18:01:32 2024-10-01 18:01:32,886 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-349/.semver 18:01:32 2024-10-01 18:01:32,887 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-349/.semver 18:01:32 2024-10-01 18:01:32,887 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-349/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-349, universal_newlines=False, shell=None, istream=None) 18:01:34 2024-10-01 18:01:34,502 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-349/.git/info/exclude 18:01:34 2024-10-01 18:01:34,503 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-349/.semver/PR-349 with force:False 18:01:34 2024-10-01 18:01:34,503 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-349/.semver/PR-349 18:01:34 2024-10-01 18:01:34,507 [execute] INFO git cat-file --batch-check 18:01:34 2024-10-01 18:01:34,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-349/.semver, universal_newlines=False, shell=None, istream=) 18:01:34 2024-10-01 18:01:34,513 [execute] INFO git cat-file --batch 18:01:34 2024-10-01 18:01:34,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-349/.semver, universal_newlines=False, shell=None, istream=) 18:01:34 2024-10-01 18:01:34,520 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-349/.semver/PR-349 18:01:34 0.0.0 [Pipeline] } 18:01:34 $ docker exec --env ******** --env ******** b1a0b7d50519bbe4de0bd39512f1261cfc33a808799fd8c4189ea380b88f2eff ssh-agent -k 18:01:35 unset SSH_AUTH_SOCK; 18:01:35 unset SSH_AGENT_PID; 18:01:35 echo Agent pid 78 killed; 18:01:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:01:35 + git semver [Pipeline] } 18:01:35 $ docker stop --time=1 b1a0b7d50519bbe4de0bd39512f1261cfc33a808799fd8c4189ea380b88f2eff 18:01:37 $ docker rm -f --volumes b1a0b7d50519bbe4de0bd39512f1261cfc33a808799fd8c4189ea380b88f2eff [Pipeline] // withDockerContainer [Pipeline] sh 18:01:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:01:37 Stashed 1 file(s) [Pipeline] echo 18:01:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:38 provisioning config files... 18:01:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-349@tmp/config16917360112754653141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:38 ---> ****-login.sh 18:01:38 nexus3.edgexfoundry.org:10001 18:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:38 Configure a credential helper to remove this warning. See 18:01:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:38 18:01:38 Login Succeeded 18:01:38 nexus3.edgexfoundry.org:10002 18:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:38 Configure a credential helper to remove this warning. See 18:01:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:38 18:01:38 Login Succeeded 18:01:38 nexus3.edgexfoundry.org:10003 18:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:39 Configure a credential helper to remove this warning. See 18:01:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:39 18:01:39 Login Succeeded 18:01:39 nexus3.edgexfoundry.org:10004 18:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:39 Configure a credential helper to remove this warning. See 18:01:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:39 18:01:39 Login Succeeded 18:01:39 ****.io 18:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:01:39 Configure a credential helper to remove this warning. See 18:01:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:01:39 18:01:39 Login Succeeded 18:01:39 ---> ****-login.sh ends [Pipeline] } 18:01:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:01:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:01:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:01:39 ========================================================= 18:01:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:01:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:01:40 Sending build context to Docker daemon 20.6MB 18:01:40 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 18:01:40 Step 2/13 : FROM ${BASE} AS builder 18:01:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:01:40 619be1103602: Pulling fs layer 18:01:40 7862e08f4a3e: Pulling fs layer 18:01:40 5df492c9dc93: Pulling fs layer 18:01:40 7629e6793208: Pulling fs layer 18:01:40 4f4fb700ef54: Pulling fs layer 18:01:40 fb5054dd5b73: Pulling fs layer 18:01:40 eeca6798cff9: Pulling fs layer 18:01:40 aa269ceb94a6: Pulling fs layer 18:01:40 ada007ff1a6a: Pulling fs layer 18:01:40 4f4fb700ef54: Waiting 18:01:40 7629e6793208: Waiting 18:01:40 aa269ceb94a6: Waiting 18:01:40 ada007ff1a6a: Waiting 18:01:40 fb5054dd5b73: Waiting 18:01:40 7862e08f4a3e: Download complete 18:01:40 7629e6793208: Verifying Checksum 18:01:40 7629e6793208: Download complete 18:01:40 4f4fb700ef54: Verifying Checksum 18:01:40 4f4fb700ef54: Download complete 18:01:40 fb5054dd5b73: Verifying Checksum 18:01:40 fb5054dd5b73: Download complete 18:01:40 619be1103602: Verifying Checksum 18:01:40 619be1103602: Download complete 18:01:40 eeca6798cff9: Verifying Checksum 18:01:40 eeca6798cff9: Download complete 18:01:40 619be1103602: Pull complete 18:01:40 ada007ff1a6a: Verifying Checksum 18:01:40 ada007ff1a6a: Download complete 18:01:40 7862e08f4a3e: Pull complete 18:01:41 5df492c9dc93: Verifying Checksum 18:01:41 5df492c9dc93: Download complete 18:01:41 aa269ceb94a6: Verifying Checksum 18:01:44 5df492c9dc93: Pull complete 18:01:44 7629e6793208: Pull complete 18:01:44 4f4fb700ef54: Pull complete 18:01:44 fb5054dd5b73: Pull complete 18:01:44 eeca6798cff9: Pull complete 18:01:47 aa269ceb94a6: Pull complete 18:01:47 ada007ff1a6a: Pull complete 18:01:47 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 18:01:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:01:47 ---> f489d0715acc 18:01:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:01:53 Still waiting to schedule task 18:01:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:01:53 ---> Running in f9f6b0b3efd0 18:01:53 Removing intermediate container f9f6b0b3efd0 18:01:53 ---> fb6a926796ec 18:01:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:01:53 ---> Running in 647e6297a7b4 18:01:53 Removing intermediate container 647e6297a7b4 18:01:53 ---> 46c6510e6447 18:01:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:01:53 ---> Running in d481a26f5e66 18:01:53 Removing intermediate container d481a26f5e66 18:01:53 ---> b2a15e4b4dda 18:01:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:01:53 ---> Running in f21fb5f94df0 18:01:53 Removing intermediate container f21fb5f94df0 18:01:53 ---> 0577ad228831 18:01:53 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:53 ---> Running in 6941ff069528 18:01:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:01:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:01:54 (1/13) Installing libintl (0.21.1-r7) 18:01:54 (2/13) Installing eudev-libs (3.2.11-r8) 18:01:54 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 18:01:54 (4/13) Installing v4l-utils-libs (1.24.1-r0) 18:01:54 (5/13) Installing v4l-utils (1.24.1-r0) 18:01:54 (6/13) Installing libdvbv5 (1.24.1-r0) 18:01:54 (7/13) Installing udev-init-scripts (35-r1) 18:01:54 (8/13) Installing libblkid (2.38.1-r8) 18:01:54 (9/13) Installing xz-libs (5.4.3-r0) 18:01:54 (10/13) Installing kmod-libs (30-r3) 18:01:55 (11/13) Installing eudev (3.2.11-r8) 18:01:55 (12/13) Installing eudev-dev (3.2.11-r8) 18:01:55 (13/13) Installing v4l-utils-dev (1.24.1-r0) 18:01:55 Executing busybox-1.36.1-r5.trigger 18:01:55 Executing eudev-3.2.11-r8.trigger 18:01:55 OK: 271 MiB in 65 packages 18:01:56 Removing intermediate container 6941ff069528 18:01:56 ---> f3d6cfc3baa8 18:01:56 Step 8/13 : WORKDIR /device-usb-camera 18:01:56 ---> Running in 59e205aa702b 18:01:56 Removing intermediate container 59e205aa702b 18:01:56 ---> 4ff66bae77ad 18:01:56 Step 9/13 : COPY go.mod vendor* ./ 18:01:56 ---> 40d095d573eb 18:01:56 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:56 ---> Running in a01efa8ca260 18:03:03 Removing intermediate container a01efa8ca260 18:03:03 ---> f00d9cdbf1c6 18:03:03 Step 11/13 : COPY . . 18:03:03 ---> 45efbafd2e1e 18:03:03 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 18:03:03 ---> Running in 4de2016d6a97 18:03:03  % Total % Received % Xferd Average Speed Time Time Time Current 18:03:03 Dload Upload Total Spent Left Speed 18:03:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8579 0 --:--:-- --:--:-- --:--:-- 8634 18:03:03 Removing intermediate container 4de2016d6a97 18:03:03 ---> 8750ce4601e6 18:03:03 Step 13/13 : RUN ${MAKE} 18:03:03 ---> Running in 2241a10a1602 18:03:03 noop 18:03:03 Removing intermediate container 2241a10a1602 18:03:03 ---> 2f6a78348996 18:03:03 Successfully built 2f6a78348996 18:03:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:04 + docker inspect -f . ci-base-image-x86_64 18:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:04 prd-ubuntu20.04-docker-8c-8g-12475 does not seem to be running inside a container 18:03:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-349 -v /w/workspace/foundry_device-usb-camera_PR-349:/w/workspace/foundry_device-usb-camera_PR-349:rw,z -v /w/workspace/foundry_device-usb-camera_PR-349@tmp:/w/workspace/foundry_device-usb-camera_PR-349@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 ******** ci-base-image-x86_64 cat 18:03:04 $ docker top 4173cd271cefc70d28ba95e100552fbeedd9409bba9c2615312b0e2fe2d54ff7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:05 + go version 18:03:05 go version go1.21.9 linux/amd64 [Pipeline] } 18:03:05 $ docker stop --time=1 4173cd271cefc70d28ba95e100552fbeedd9409bba9c2615312b0e2fe2d54ff7 18:03:06 $ docker rm -f --volumes 4173cd271cefc70d28ba95e100552fbeedd9409bba9c2615312b0e2fe2d54ff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:07 + docker inspect -f . ci-base-image-x86_64 18:03:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:07 prd-ubuntu20.04-docker-8c-8g-12475 does not seem to be running inside a container 18:03:07 $ 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-349 -v /w/workspace/foundry_device-usb-camera_PR-349:/w/workspace/foundry_device-usb-camera_PR-349:rw,z -v /w/workspace/foundry_device-usb-camera_PR-349@tmp:/w/workspace/foundry_device-usb-camera_PR-349@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 ******** ci-base-image-x86_64 cat 18:03:07 $ docker top e20c50a9ec38d7f763693b486f058c0a6ffb5707452479be72d9cfa7c3c66e4d -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:08 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-349 [Pipeline] fileExists [Pipeline] sh 18:03:08 + make test 18:03:08 go test ./... -coverprofile=coverage.out ./... 18:03:10 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:03:28 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:03:28 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 4.4% of statements 18:03:38 go vet ./... 18:03:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:03:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:03:42 ./bin/test-attribution-txt.sh 18:03:42 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:03:42 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:03:42 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:03:42 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:03:42 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:03:42 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:03:42 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:03:42 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:03:42 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:03:42 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 18:03:42 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:03:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:03:42 $ docker stop --time=1 e20c50a9ec38d7f763693b486f058c0a6ffb5707452479be72d9cfa7c3c66e4d 18:03:48 $ docker rm -f --volumes e20c50a9ec38d7f763693b486f058c0a6ffb5707452479be72d9cfa7c3c66e4d [Pipeline] // withDockerContainer [Pipeline] sh 18:03:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:49 + ls -al . 18:03:49 total 292 18:03:49 drwxrwxr-x 9 jenkins jenkins 4096 Oct 1 18:03 . 18:03:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:01 .. 18:03:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:03 .git 18:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:01 .github 18:03:49 -rw-rw-r-- 1 jenkins jenkins 379 Oct 1 18:01 .gitignore 18:03:49 -rw-rw-r-- 1 jenkins jenkins 45 Oct 1 18:01 .golangci.yml 18:03:49 -rw-rw-r-- 1 jenkins jenkins 77 Oct 1 18:01 .hadolint.yml 18:03:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 18:01 .semver 18:03:49 -rw-rw-r-- 1 jenkins jenkins 10870 Oct 1 18:01 Attribution.txt 18:03:49 -rw-rw-r-- 1 jenkins jenkins 16561 Oct 1 18:01 CHANGELOG.md 18:03:49 -rw-rw-r-- 1 jenkins jenkins 2453 Oct 1 18:01 Dockerfile 18:03:49 -rw-rw-r-- 1 jenkins jenkins 678 Oct 1 18:01 GOVERNANCE.md 18:03:49 -rw-rw-r-- 1 jenkins jenkins 659 Oct 1 18:01 Jenkinsfile 18:03:49 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 1 18:01 LICENSE 18:03:49 -rw-rw-r-- 1 jenkins jenkins 2611 Oct 1 18:01 Makefile 18:03:49 -rw-rw-r-- 1 jenkins jenkins 622 Oct 1 18:01 OWNERS.md 18:03:49 -rw-rw-r-- 1 jenkins jenkins 2575 Oct 1 18:01 README.md 18:03:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 18:01 VERSION 18:03:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:01 bin 18:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:01 cmd 18:03:49 -rw-r--r-- 1 jenkins jenkins 54703 Oct 1 18:03 coverage.out 18:03:49 -rwxrwxr-x 1 jenkins jenkins 84 Oct 1 18:01 docker-entrypoint.sh 18:03:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:01 docs 18:03:49 -rw-rw-r-- 1 jenkins jenkins 7211 Oct 1 18:01 go.mod 18:03:49 -rw-rw-r-- 1 jenkins jenkins 102023 Oct 1 18:01 go.sum 18:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:01 internal 18:03:49 -rw-rw-r-- 1 jenkins jenkins 231 Oct 1 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:50 + 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=592e4457d474834c4ef1d8087c317a4be0995ef1 --label arch=amd64 --label version=0.0.0 . 18:03:50 Sending build context to Docker daemon 20.65MB 18:03:50 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 18:03:50 Step 2/37 : FROM ${BASE} AS builder 18:03:50 ---> 2f6a78348996 18:03:50 Step 3/37 : ARG ADD_BUILD_TAGS="" 18:03:50 ---> Running in a4b3a70e5887 18:03:50 Removing intermediate container a4b3a70e5887 18:03:50 ---> c701975c2d96 18:03:50 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:03:50 ---> Running in 336a09029909 18:03:50 Removing intermediate container 336a09029909 18:03:50 ---> 05531088865f 18:03:50 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:03:50 ---> Running in f9d6e3a685ee 18:03:51 Removing intermediate container f9d6e3a685ee 18:03:51 ---> c85730bd160d 18:03:51 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:03:51 ---> Running in c21fdb5305ea 18:03:51 Removing intermediate container c21fdb5305ea 18:03:51 ---> 9ce4997fc439 18:03:51 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:51 ---> Running in 1b6ea82a895c 18:03:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:03:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:03:51 OK: 271 MiB in 65 packages 18:03:52 Removing intermediate container 1b6ea82a895c 18:03:52 ---> 926ad09a185c 18:03:52 Step 8/37 : WORKDIR /device-usb-camera 18:03:52 ---> Running in 340374e1f6f9 18:03:52 Removing intermediate container 340374e1f6f9 18:03:52 ---> 8c50b11f2071 18:03:52 Step 9/37 : COPY go.mod vendor* ./ 18:03:52 ---> 10b2217a3512 18:03:52 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:52 ---> Running in dd8180fe0dd5 18:03:53 Removing intermediate container dd8180fe0dd5 18:03:53 ---> a60fff1c4b71 18:03:53 Step 11/37 : COPY . . 18:03:54 ---> 12c9e04f815b 18:03:54 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 18:03:54 ---> Running in ff95029a9f5e 18:03:54  % Total % Received % Xferd Average Speed Time Time Time Current 18:03:54 Dload Upload Total Spent Left Speed 18:03:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 31408 0 --:--:-- --:--:-- --:--:-- 32181 18:03:54 Removing intermediate container ff95029a9f5e 18:03:54 ---> 82839624658c 18:03:54 Step 13/37 : RUN ${MAKE} 18:03:54 ---> Running in b03a613539a6 18:03:55 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.38" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:04:33 Removing intermediate container b03a613539a6 18:04:33 ---> 9833e0998935 18:04:33 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 18:04:33 1.8.2: Pulling from bluenviron/mediamtx 18:04:33 8411072a22a5: Pulling fs layer 18:04:33 8411072a22a5: Verifying Checksum 18:04:33 8411072a22a5: Download complete 18:04:33 8411072a22a5: Pull complete 18:04:33 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 18:04:33 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 18:04:33 ---> 1ac78cb06e13 18:04:33 Step 15/37 : FROM alpine:3.18 18:04:33 3.18: Pulling from library/alpine 18:04:33 1cc3d825d8b2: Pulling fs layer 18:04:33 1cc3d825d8b2: Download complete 18:04:33 1cc3d825d8b2: Pull complete 18:04:33 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 18:04:33 Status: Downloaded newer image for alpine:3.18 18:04:33 ---> 2c64cf60f6f0 18:04:33 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:04:33 ---> Running in 821bc27e4601 18:04:33 Removing intermediate container 821bc27e4601 18:04:33 ---> d2ab20a44abd 18:04:33 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:04:33 ---> Running in 387d5a53275f 18:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:04:33 (1/107) Installing dumb-init (1.2.5-r2) 18:04:33 (2/107) Installing sdl2 (2.26.5-r0) 18:04:33 (3/107) Installing svt-av1-libs (1.6.0-r0) 18:04:33 (4/107) Installing aom-libs (3.6.1-r0) 18:04:33 (5/107) Installing libxau (1.0.11-r2) 18:04:33 (6/107) Installing libmd (1.0.4-r2) 18:04:33 (7/107) Installing libbsd (0.11.7-r1) 18:04:33 (8/107) Installing libxdmcp (1.1.4-r2) 18:04:33 (9/107) Installing libxcb (1.15-r1) 18:04:33 (10/107) Installing libx11 (1.8.7-r0) 18:04:33 (11/107) Installing hwdata-pci (0.370-r0) 18:04:33 (12/107) Installing libpciaccess (0.17-r2) 18:04:33 (13/107) Installing libdrm (2.4.115-r4) 18:04:33 (14/107) Installing libxext (1.3.5-r2) 18:04:33 (15/107) Installing libxfixes (6.0.1-r2) 18:04:33 (16/107) Installing libffi (3.4.4-r2) 18:04:33 (17/107) Installing wayland-libs-client (1.22.0-r2) 18:04:33 (18/107) Installing libva (2.18.0-r1) 18:04:33 (19/107) Installing libvdpau (1.5-r1) 18:04:33 (20/107) Installing libgcc (12.2.1_git20220924-r10) 18:04:33 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 18:04:33 (22/107) Installing onevpl-libs (2023.2.1-r0) 18:04:33 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 18:04:33 (24/107) Installing libdav1d (1.2.1-r0) 18:04:33 (25/107) Installing brotli-libs (1.0.9-r14) 18:04:33 (26/107) Installing libhwy (1.0.4-r1) 18:04:33 (27/107) Installing lcms2 (2.15-r2) 18:04:33 (28/107) Installing libjxl (0.8.2-r0) 18:04:33 (29/107) Installing lame-libs (3.100-r5) 18:04:33 (30/107) Installing opus (1.4-r0) 18:04:33 (31/107) Installing libgomp (12.2.1_git20220924-r10) 18:04:33 (32/107) Installing soxr (0.1.3-r5) 18:04:33 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 18:04:33 (34/107) Installing libogg (1.3.5-r4) 18:04:33 (35/107) Installing libtheora (1.1.1-r17) 18:04:33 (36/107) Installing libvorbis (1.3.7-r1) 18:04:33 (37/107) Installing libvpx (1.13.0-r2) 18:04:33 (38/107) Installing libwebp (1.3.2-r0) 18:04:33 (39/107) Installing x264-libs (0.164_git20220602-r1) 18:04:33 (40/107) Installing numactl (2.0.16-r4) 18:04:33 (41/107) Installing x265-libs (3.5-r4) 18:04:33 (42/107) Installing xvidcore (1.3.7-r1) 18:04:33 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 18:04:33 (44/107) Installing alsa-lib (1.2.9-r1) 18:04:33 (45/107) Installing libexpat (2.6.3-r0) 18:04:33 (46/107) Installing libbz2 (1.0.8-r5) 18:04:33 (47/107) Installing libpng (1.6.44-r0) 18:04:33 (48/107) Installing freetype (2.13.0-r5) 18:04:33 (49/107) Installing fontconfig (2.14.2-r3) 18:04:33 (50/107) Installing fribidi (1.0.13-r0) 18:04:33 (51/107) Installing libintl (0.21.1-r7) 18:04:33 (52/107) Installing libblkid (2.38.1-r8) 18:04:33 (53/107) Installing libmount (2.38.1-r8) 18:04:33 (54/107) Installing pcre2 (10.42-r1) 18:04:33 (55/107) Installing glib (2.76.6-r0) 18:04:33 (56/107) Installing graphite2 (1.3.14-r5) 18:04:33 (57/107) Installing harfbuzz (7.3.0-r0) 18:04:33 (58/107) Installing libunibreak (5.1-r0) 18:04:33 (59/107) Installing libass (0.17.1-r0) 18:04:33 (60/107) Installing libbluray (1.3.4-r0) 18:04:33 (61/107) Installing gmp (6.2.1-r3) 18:04:33 (62/107) Installing nettle (3.8.1-r2) 18:04:33 (63/107) Installing libunistring (1.1-r1) 18:04:33 (64/107) Installing libidn2 (2.3.4-r1) 18:04:33 (65/107) Installing p11-kit (0.24.1-r2) 18:04:33 (66/107) Installing libtasn1 (4.19.0-r1) 18:04:33 (67/107) Installing gnutls (3.8.4-r0) 18:04:33 (68/107) Installing mpg123-libs (1.31.3-r1) 18:04:33 (69/107) Installing libopenmpt (0.7.2-r0) 18:04:33 (70/107) Installing cjson (1.7.17-r0) 18:04:33 (71/107) Installing mbedtls (2.28.9-r0) 18:04:33 (72/107) Installing librist (0.2.7-r0) 18:04:33 (73/107) Installing libsrt (1.5.2-r0) 18:04:33 (74/107) Installing libssh (0.10.5-r0) 18:04:33 (75/107) Installing xz-libs (5.4.3-r0) 18:04:33 (76/107) Installing libxml2 (2.11.8-r0) 18:04:33 (77/107) Installing libsodium (1.0.18-r3) 18:04:33 (78/107) Installing libzmq (4.3.4-r4) 18:04:33 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 18:04:33 (80/107) Installing glslang-libs (1.3.243.0-r1) 18:04:34 (81/107) Installing spirv-tools (1.3.243.0-r1) 18:04:34 (82/107) Installing shaderc (2023.3-r1) 18:04:34 (83/107) Installing vulkan-loader (1.3.243.0-r1) 18:04:34 (84/107) Installing libplacebo (5.264.1-r1) 18:04:34 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 18:04:34 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 18:04:34 (87/107) Installing vidstab (1.1.1-r0) 18:04:34 (88/107) Installing zimg (3.0.5-r0) 18:04:34 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 18:04:34 (90/107) Installing libasyncns (0.8-r1) 18:04:34 (91/107) Installing dbus-libs (1.14.8-r0) 18:04:34 (92/107) Installing libltdl (2.4.7-r2) 18:04:34 (93/107) Installing orc (0.4.39-r0) 18:04:34 (94/107) Installing flac-libs (1.4.3-r0) 18:04:34 (95/107) Installing libsndfile (1.2.0-r2) 18:04:34 (96/107) Installing speexdsp (1.2.1-r1) 18:04:34 (97/107) Installing tdb-libs (1.4.8-r1) 18:04:34 (98/107) Installing libpulse (16.1-r10) 18:04:34 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 18:04:34 (100/107) Installing v4l-utils-libs (1.24.1-r0) 18:04:34 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 18:04:34 (102/107) Installing ffmpeg (6.0.1-r0) 18:04:34 (103/107) Installing udev-init-scripts (35-r1) 18:04:34 (104/107) Installing eudev-libs (3.2.11-r8) 18:04:34 (105/107) Installing zstd-libs (1.5.5-r4) 18:04:34 (106/107) Installing kmod-libs (30-r3) 18:04:34 (107/107) Installing eudev (3.2.11-r8) 18:04:34 Executing busybox-1.36.1-r7.trigger 18:04:34 Executing glib-2.76.6-r0.trigger 18:04:34 Executing eudev-3.2.11-r8.trigger 18:04:34 OK: 131 MiB in 122 packages 18:04:38 Removing intermediate container 387d5a53275f 18:04:38 ---> d919b00cdfe8 18:04:38 Step 18/37 : RUN apk --no-cache upgrade 18:04:38 ---> Running in 6cdd2beac198 18:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:04:38 OK: 131 MiB in 122 packages 18:04:39 Removing intermediate container 6cdd2beac198 18:04:39 ---> db298204f83c 18:04:39 Step 19/37 : WORKDIR / 18:04:39 ---> Running in afb19af0484b 18:04:39 Removing intermediate container afb19af0484b 18:04:39 ---> 90397848f6dd 18:04:39 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 18:04:40 ---> ec2c13953c19 18:04:40 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 18:04:40 ---> 43ccf872d6d6 18:04:40 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 18:04:40 ---> 9ef953a06ccf 18:04:40 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:04:40 ---> d467cd55a044 18:04:40 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:04:40 ---> ee7f8a816bfb 18:04:40 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 18:04:40 ---> 0fc40e4c7b0a 18:04:40 Step 26/37 : COPY --from=rtsp /mediamtx / 18:04:42 ---> 54af572ec20c 18:04:42 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 18:04:42 ---> Running in 528f9ef6bae4 18:04:42 Removing intermediate container 528f9ef6bae4 18:04:42 ---> de8923272ec6 18:04:42 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 18:04:42 ---> Running in e5d3ac6c8ec7 18:04:43 Removing intermediate container e5d3ac6c8ec7 18:04:43 ---> e0022dbd38cc 18:04:43 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 18:04:43 ---> Running in 85d58286750d 18:04:43 Removing intermediate container 85d58286750d 18:04:43 ---> 3e81aa6a1cc9 18:04:43 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 18:04:43 ---> Running in 53f9f1b26549 18:04:44 Removing intermediate container 53f9f1b26549 18:04:44 ---> afde3df50b78 18:04:44 Step 31/37 : EXPOSE 59983 18:04:44 ---> Running in 3b8afb05934c 18:04:44 Removing intermediate container 3b8afb05934c 18:04:44 ---> 8c89d7180a14 18:04:44 Step 32/37 : EXPOSE 8554 18:04:44 ---> Running in 26fdd25cfdda 18:04:44 Removing intermediate container 26fdd25cfdda 18:04:44 ---> 23cad84ee032 18:04:44 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:04:44 ---> Running in c4ffb0c70e07 18:04:44 Removing intermediate container c4ffb0c70e07 18:04:44 ---> 1e34872c1d8d 18:04:44 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:04:44 ---> Running in 6267afbb1c8a 18:04:44 Removing intermediate container 6267afbb1c8a 18:04:44 ---> 03f31cfd437b 18:04:44 Step 35/37 : LABEL arch=amd64 18:04:44 ---> Running in 49c348cdb328 18:04:44 Removing intermediate container 49c348cdb328 18:04:44 ---> c6e7ebd10d17 18:04:44 Step 36/37 : LABEL git_sha=592e4457d474834c4ef1d8087c317a4be0995ef1 18:04:44 ---> Running in ac91a80eb654 18:04:44 Removing intermediate container ac91a80eb654 18:04:44 ---> 75de7a6c79d6 18:04:44 Step 37/37 : LABEL version=0.0.0 18:04:44 ---> Running in f06be1e6404a 18:04:44 Removing intermediate container f06be1e6404a 18:04:44 ---> d719a651be82 18:04:44 [Warning] One or more build-args [ARCH] were not consumed 18:04:44 Successfully built d719a651be82 18:04:44 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:52 18:04:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:52 latest: Pulling from edgex-lftools-log-publisher 18:04:52 5eb5b503b376: Pulling fs layer 18:04:52 5c69ac0246d0: Pulling fs layer 18:04:52 ec43610c2a17: Pulling fs layer 18:04:52 3a2ae6a8a46f: Pulling fs layer 18:04:52 33b1e0a273af: Pulling fs layer 18:04:52 5d3b04190fa2: Pulling fs layer 18:04:52 2f39f015ded8: Pulling fs layer 18:04:52 3a2ae6a8a46f: Waiting 18:04:52 5d3b04190fa2: Waiting 18:04:52 33b1e0a273af: Waiting 18:04:52 5c69ac0246d0: Download complete 18:04:52 3a2ae6a8a46f: Download complete 18:04:52 33b1e0a273af: Verifying Checksum 18:04:52 33b1e0a273af: Download complete 18:04:52 ec43610c2a17: Download complete 18:04:52 5d3b04190fa2: Verifying Checksum 18:04:52 5d3b04190fa2: Download complete 18:04:53 5eb5b503b376: Verifying Checksum 18:04:53 5eb5b503b376: Download complete 18:04:53 2f39f015ded8: Verifying Checksum 18:04:53 2f39f015ded8: Download complete 18:04:54 5eb5b503b376: Pull complete 18:04:54 5c69ac0246d0: Pull complete 18:04:54 ec43610c2a17: Pull complete 18:04:54 3a2ae6a8a46f: Pull complete 18:04:54 33b1e0a273af: Pull complete 18:04:54 5d3b04190fa2: Pull complete 18:04:59 2f39f015ded8: Pull complete 18:04:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:59 prd-ubuntu20.04-docker-8c-8g-12475 does not seem to be running inside a container 18:04:59 $ 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-349 -v /w/workspace/foundry_device-usb-camera_PR-349:/w/workspace/foundry_device-usb-camera_PR-349:rw,z -v /w/workspace/foundry_device-usb-camera_PR-349@tmp:/w/workspace/foundry_device-usb-camera_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:05:04 $ docker top db4f78e34f937a52ad5a1ee2a765ec01cca88024952c7f58ee7ce1a69894d2da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:04 ---> job-cost.sh 18:05:04 lf-activate-venv: SKIPPING 18:05:04 INFO: No Stack... 18:05:05 INFO: Retrieving Pricing Info for: v3-standard-8 18:05:05 INFO: Archiving Costs [Pipeline] sh 18:05:06 + cat /w/workspace/foundry_device-usb-camera_PR-349/archives/cost.csv 18:05:06 + cut -d, -f6 [Pipeline] lock 18:05:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] 18:05:06 Resource [jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] did not exist. Created. 18:05:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:05:06 + echo total: 0.2199999988079071 [Pipeline] stash 18:05:06 Stashed 1 file(s) [Pipeline] } 18:05:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:05:06 $ docker stop --time=1 db4f78e34f937a52ad5a1ee2a765ec01cca88024952c7f58ee7ce1a69894d2da 18:05:07 $ docker rm -f --volumes db4f78e34f937a52ad5a1ee2a765ec01cca88024952c7f58ee7ce1a69894d2da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:07:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12484 in /w/workspace/foundry_device-usb-camera_PR-349 [Pipeline] { [Pipeline] ws 18:07:36 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 18:07:36 Selected Git installation does not exist. Using Default 18:07:36 The recommended git tool is: NONE 18:07:44 using credential edgex-jenkins-ssh 18:07:44 Cloning the remote Git repository 18:07:44 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:07:44 > git init /w/workspace/device-usb-camera/1 # timeout=10 18:07:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:07:45 > git --version # timeout=10 18:07:45 > git --version # 'git version 2.25.1' 18:07:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:48 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:07:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:50 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:07:50 Merging remotes/origin/main commit 8af420bf6967b65b18f8274e92082c818197a7ec into PR head commit 592e4457d474834c4ef1d8087c317a4be0995ef1 18:07:51 Merge succeeded, producing 592e4457d474834c4ef1d8087c317a4be0995ef1 18:07:51 Checking out Revision 592e4457d474834c4ef1d8087c317a4be0995ef1 (PR-349) 18:07:50 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:07:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:07:51 > git config core.sparsecheckout # timeout=10 18:07:51 > git checkout -f 592e4457d474834c4ef1d8087c317a4be0995ef1 # timeout=10 18:07:51 > git remote # timeout=10 18:07:51 > git config --get remote.origin.url # timeout=10 18:07:51 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:51 > git merge 8af420bf6967b65b18f8274e92082c818197a7ec # timeout=10 18:07:51 > git rev-parse HEAD^{commit} # timeout=10 18:07:51 > git config core.sparsecheckout # timeout=10 18:07:51 > git checkout -f 592e4457d474834c4ef1d8087c317a4be0995ef1 # timeout=10 18:07:52 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:07:52 > git --version # timeout=10 18:07:52 > git --version # 'git version 2.25.1' 18:07:52 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:07:57 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:57 Dload Upload Total Spent Left Speed 18:07:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 88468 0 --:--:-- --:--:-- --:--:-- 89083 [Pipeline] sh 18:07:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:07:58 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 18:07:58 /etc/docker/daemon.new 18:07:58 { 18:07:58 "registry-mirrors": [ 18:07:58 "https://nexus3.edgexfoundry.org:10001" 18:07:58 ], 18:07:58 "bip": "10.250.0.254/24", 18:07:58 "hosts": [ 18:07:58 "tcp://0.0.0.0:5555", 18:07:58 "unix:///var/run/docker.sock" 18:07:58 ], 18:07:58 "mtu": 1458, 18:07:58 "selinux-enabled": true, 18:07:58 "seccomp-profile": "/etc/docker/seccomp.json" 18:07:58 } [Pipeline] sh 18:07:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:07:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:17 provisioning config files... 18:08:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6126897223775917100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:17 ---> ****-login.sh 18:08:17 nexus3.edgexfoundry.org:10001 18:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:08:18 Configure a credential helper to remove this warning. See 18:08:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:08:18 18:08:18 Login Succeeded 18:08:18 nexus3.edgexfoundry.org:10002 18:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:08:18 Configure a credential helper to remove this warning. See 18:08:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:08:18 18:08:18 Login Succeeded 18:08:18 nexus3.edgexfoundry.org:10003 18:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:08:19 Configure a credential helper to remove this warning. See 18:08:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:08:19 18:08:19 Login Succeeded 18:08:19 nexus3.edgexfoundry.org:10004 18:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:08:19 Configure a credential helper to remove this warning. See 18:08:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:08:19 18:08:19 Login Succeeded 18:08:19 ****.io 18:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:08:20 Configure a credential helper to remove this warning. See 18:08:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:08:20 18:08:20 Login Succeeded 18:08:20 ---> ****-login.sh ends [Pipeline] } 18:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:08:20 ========================================================= 18:08:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:08:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:08:21 Sending build context to Docker daemon 10.56MB 18:08:21 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 18:08:21 Step 2/13 : FROM ${BASE} AS builder 18:08:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:08:21 c6b39de5b339: Pulling fs layer 18:08:21 a69c41024577: Pulling fs layer 18:08:21 d6de4b400683: Pulling fs layer 18:08:21 35cb2a7552d0: Pulling fs layer 18:08:21 4f4fb700ef54: Pulling fs layer 18:08:21 35cb2a7552d0: Waiting 18:08:21 4f4fb700ef54: Waiting 18:08:21 464afbd9ba4c: Pulling fs layer 18:08:21 00f215d4a9da: Pulling fs layer 18:08:21 d496ad576159: Pulling fs layer 18:08:21 464afbd9ba4c: Waiting 18:08:21 00f215d4a9da: Waiting 18:08:21 d496ad576159: Waiting 18:08:21 a69c41024577: Verifying Checksum 18:08:21 a69c41024577: Download complete 18:08:21 35cb2a7552d0: Verifying Checksum 18:08:21 35cb2a7552d0: Download complete 18:08:21 4f4fb700ef54: Download complete 18:08:21 464afbd9ba4c: Verifying Checksum 18:08:21 464afbd9ba4c: Download complete 18:08:21 c6b39de5b339: Verifying Checksum 18:08:21 c6b39de5b339: Download complete 18:08:22 d496ad576159: Verifying Checksum 18:08:22 d496ad576159: Download complete 18:08:22 c6b39de5b339: Pull complete 18:08:23 a69c41024577: Pull complete 18:08:23 d6de4b400683: Download complete 18:08:24 00f215d4a9da: Verifying Checksum 18:08:24 00f215d4a9da: Download complete 18:08:37 d6de4b400683: Pull complete 18:08:37 35cb2a7552d0: Pull complete 18:08:37 4f4fb700ef54: Pull complete 18:08:37 464afbd9ba4c: Pull complete 18:08:45 00f215d4a9da: Pull complete 18:08:47 d496ad576159: Pull complete 18:08:47 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 18:08:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:08:47 ---> f246e2811388 18:08:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:08:48 ---> Running in 1256cde51669 18:08:48 Removing intermediate container 1256cde51669 18:08:48 ---> b4d1238d7eb7 18:08:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:08:49 ---> Running in 0c7e003e54f0 18:08:49 Removing intermediate container 0c7e003e54f0 18:08:49 ---> f86e9f618c60 18:08:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:08:49 ---> Running in b60d76a6ee54 18:08:49 Removing intermediate container b60d76a6ee54 18:08:49 ---> 34ec9fa219b2 18:08:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:08:49 ---> Running in f72b154eaf3f 18:08:49 Removing intermediate container f72b154eaf3f 18:08:49 ---> 7f728b735364 18:08:49 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:08:49 ---> Running in c1e90ac1ef62 18:08:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:08:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:08:52 (1/13) Installing libintl (0.21.1-r7) 18:08:52 (2/13) Installing eudev-libs (3.2.11-r8) 18:08:52 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 18:08:52 (4/13) Installing v4l-utils-libs (1.24.1-r0) 18:08:52 (5/13) Installing v4l-utils (1.24.1-r0) 18:08:52 (6/13) Installing libdvbv5 (1.24.1-r0) 18:08:52 (7/13) Installing udev-init-scripts (35-r1) 18:08:52 (8/13) Installing libblkid (2.38.1-r8) 18:08:52 (9/13) Installing xz-libs (5.4.3-r0) 18:08:52 (10/13) Installing kmod-libs (30-r3) 18:08:53 (11/13) Installing eudev (3.2.11-r8) 18:08:53 (12/13) Installing eudev-dev (3.2.11-r8) 18:08:53 (13/13) Installing v4l-utils-dev (1.24.1-r0) 18:08:53 Executing busybox-1.36.1-r5.trigger 18:08:53 Executing eudev-3.2.11-r8.trigger 18:08:53 OK: 273 MiB in 65 packages 18:08:56 Removing intermediate container c1e90ac1ef62 18:08:56 ---> c6c7dccf37a8 18:08:56 Step 8/13 : WORKDIR /device-usb-camera 18:08:56 ---> Running in bc7428aeac7a 18:08:57 Removing intermediate container bc7428aeac7a 18:08:57 ---> 8c734bded479 18:08:57 Step 9/13 : COPY go.mod vendor* ./ 18:08:57 ---> 104efc17fc65 18:08:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:57 ---> Running in f39dee419f1a 18:10:49 Removing intermediate container f39dee419f1a 18:10:49 ---> a4095654974e 18:10:49 Step 11/13 : COPY . . 18:10:49 ---> 3497dc1eeff3 18:10:49 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 18:10:49 ---> Running in 49bfc29bc37b 18:10:50  % Total % Received % Xferd Average Speed Time Time Time Current 18:10:50 Dload Upload Total Spent Left Speed 18:10:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0  0  0   0    0   0  0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4872 0 --:--:-- --:--:-- --:--:-- 4871 18:10:51 Removing intermediate container 49bfc29bc37b 18:10:51 ---> 1d2ff01eb219 18:10:51 Step 13/13 : RUN ${MAKE} 18:10:51 ---> Running in fe8fa7e3ce5e 18:10:52 noop 18:10:53 Removing intermediate container fe8fa7e3ce5e 18:10:53 ---> 961fd12276a5 18:10:53 Successfully built 961fd12276a5 18:10:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:54 + docker inspect -f . ci-base-image-arm64 18:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:54 prd-ubuntu20.04-docker-arm64-4c-16g-12484 does not seem to be running inside a container 18:10:54 $ 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 ******** ci-base-image-arm64 cat 18:10:55 $ docker top 811ebf3c3078127a76809cf3904f8860bd6d8c58dbf136f33e46ae064d21e21d -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:56 + go version 18:10:56 go version go1.21.9 linux/arm64 [Pipeline] } 18:10:56 $ docker stop --time=1 811ebf3c3078127a76809cf3904f8860bd6d8c58dbf136f33e46ae064d21e21d 18:10:58 $ docker rm -f --volumes 811ebf3c3078127a76809cf3904f8860bd6d8c58dbf136f33e46ae064d21e21d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:59 + docker inspect -f . ci-base-image-arm64 18:10:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:59 prd-ubuntu20.04-docker-arm64-4c-16g-12484 does not seem to be running inside a container 18:10:59 $ 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 ******** ci-base-image-arm64 cat 18:11:00 $ docker top 91662b7bd528a6fa31b463719309640feef484bd303b1b5dc6eb8cfea5352018 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:01 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 18:11:02 + make test 18:11:02 go test ./... -coverprofile=coverage.out ./... 18:11:08 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:14:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:14:33 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.067s coverage: 4.4% of statements 18:14:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:14:34 go vet ./... 18:15:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:15:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:15:21 ./bin/test-attribution-txt.sh 18:15:21 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:15:21 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:15:21 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:15:21 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:15:21 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:15:21 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:15:21 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:15:21 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:15:21 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:15:21 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 18:15:21 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:15:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:15:21 $ docker stop --time=1 91662b7bd528a6fa31b463719309640feef484bd303b1b5dc6eb8cfea5352018 18:15:22 $ docker rm -f --volumes 91662b7bd528a6fa31b463719309640feef484bd303b1b5dc6eb8cfea5352018 [Pipeline] // withDockerContainer [Pipeline] sh 18:15:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:15:24 Warning: overwriting stash ‘coverage-report’ 18:15:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:15:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:15:26 + ls -al . 18:15:26 total 288 18:15:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:11 . 18:15:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:07 .. 18:15:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:07 .git 18:15:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:07 .github 18:15:26 -rw-rw-r-- 1 jenkins jenkins 379 Oct 1 18:07 .gitignore 18:15:26 -rw-rw-r-- 1 jenkins jenkins 45 Oct 1 18:07 .golangci.yml 18:15:26 -rw-rw-r-- 1 jenkins jenkins 77 Oct 1 18:07 .hadolint.yml 18:15:26 -rw-rw-r-- 1 jenkins jenkins 10870 Oct 1 18:07 Attribution.txt 18:15:26 -rw-rw-r-- 1 jenkins jenkins 16561 Oct 1 18:07 CHANGELOG.md 18:15:26 -rw-rw-r-- 1 jenkins jenkins 2453 Oct 1 18:07 Dockerfile 18:15:26 -rw-rw-r-- 1 jenkins jenkins 678 Oct 1 18:07 GOVERNANCE.md 18:15:26 -rw-rw-r-- 1 jenkins jenkins 659 Oct 1 18:07 Jenkinsfile 18:15:26 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 1 18:07 LICENSE 18:15:26 -rw-rw-r-- 1 jenkins jenkins 2611 Oct 1 18:07 Makefile 18:15:26 -rw-rw-r-- 1 jenkins jenkins 622 Oct 1 18:07 OWNERS.md 18:15:26 -rw-rw-r-- 1 jenkins jenkins 2575 Oct 1 18:07 README.md 18:15:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 18:01 VERSION 18:15:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:07 bin 18:15:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:07 cmd 18:15:26 -rw-r--r-- 1 jenkins jenkins 54703 Oct 1 18:14 coverage.out 18:15:26 -rwxrwxr-x 1 jenkins jenkins 84 Oct 1 18:07 docker-entrypoint.sh 18:15:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:07 docs 18:15:26 -rw-rw-r-- 1 jenkins jenkins 7211 Oct 1 18:07 go.mod 18:15:26 -rw-rw-r-- 1 jenkins jenkins 102023 Oct 1 18:07 go.sum 18:15:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:07 internal 18:15:26 -rw-rw-r-- 1 jenkins jenkins 231 Oct 1 18:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:26 + 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=592e4457d474834c4ef1d8087c317a4be0995ef1 --label arch=arm64 --label version=0.0.0 . 18:15:27 Sending build context to Docker daemon 10.62MB 18:15:27 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 18:15:27 Step 2/37 : FROM ${BASE} AS builder 18:15:27 ---> 961fd12276a5 18:15:27 Step 3/37 : ARG ADD_BUILD_TAGS="" 18:15:27 ---> Running in deb541147665 18:15:27 Removing intermediate container deb541147665 18:15:27 ---> aeab51ee3f34 18:15:27 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:15:27 ---> Running in c87a3ea59082 18:15:27 Removing intermediate container c87a3ea59082 18:15:27 ---> 945312efd75a 18:15:27 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:15:27 ---> Running in 60a7d96c1d72 18:15:28 Removing intermediate container 60a7d96c1d72 18:15:28 ---> 466f95cef76a 18:15:28 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:15:28 ---> Running in 16bdcdd8b1df 18:15:28 Removing intermediate container 16bdcdd8b1df 18:15:28 ---> e392f374c583 18:15:28 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:28 ---> Running in a4b97e6d78f5 18:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:15:30 OK: 273 MiB in 65 packages 18:15:31 Removing intermediate container a4b97e6d78f5 18:15:31 ---> 2792c07fc368 18:15:31 Step 8/37 : WORKDIR /device-usb-camera 18:15:31 ---> Running in 6f2f55c85c83 18:15:32 Removing intermediate container 6f2f55c85c83 18:15:32 ---> fedb26d3c891 18:15:32 Step 9/37 : COPY go.mod vendor* ./ 18:15:32 ---> bb948f26d397 18:15:32 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:32 ---> Running in 517ca960257f 18:15:35 Removing intermediate container 517ca960257f 18:15:35 ---> 60a5ee1f53b0 18:15:35 Step 11/37 : COPY . . 18:15:36 ---> 1728c27e2d40 18:15:36 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 18:15:36 ---> Running in e2b3b11979ec 18:15:37  % Total % Received % Xferd Average Speed Time Time Time Current 18:15:37 Dload Upload Total Spent Left Speed 18:15:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8252 0 --:--:-- --:--:-- --:--:-- 8362 18:15:38 Removing intermediate container e2b3b11979ec 18:15:38 ---> d6352a00eb27 18:15:38 Step 13/37 : RUN ${MAKE} 18:15:38 ---> Running in 2f1608f1377e 18:15:39 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.38" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:19:31 Removing intermediate container 2f1608f1377e 18:19:31 ---> f3d63f53613c 18:19:31 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 18:19:31 1.8.2: Pulling from bluenviron/mediamtx 18:19:31 da4d7e05a7aa: Pulling fs layer 18:19:31 da4d7e05a7aa: Verifying Checksum 18:19:31 da4d7e05a7aa: Download complete 18:19:31 da4d7e05a7aa: Pull complete 18:19:31 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 18:19:31 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 18:19:31 ---> 62c65ed7ef0d 18:19:31 Step 15/37 : FROM alpine:3.18 18:19:31 3.18: Pulling from library/alpine 18:19:31 720f3032cd11: Pulling fs layer 18:19:31 720f3032cd11: Verifying Checksum 18:19:31 720f3032cd11: Download complete 18:19:31 720f3032cd11: Pull complete 18:19:31 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 18:19:31 Status: Downloaded newer image for alpine:3.18 18:19:31 ---> 3e834921e367 18:19:31 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:19:31 ---> Running in 17789672fe55 18:19:31 Removing intermediate container 17789672fe55 18:19:31 ---> 4fbb505965d7 18:19:31 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:19:31 ---> Running in 53702b4754af 18:19:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:19:31 (1/104) Installing dumb-init (1.2.5-r2) 18:19:31 (2/104) Installing sdl2 (2.26.5-r0) 18:19:31 (3/104) Installing svt-av1-libs (1.6.0-r0) 18:19:31 (4/104) Installing aom-libs (3.6.1-r0) 18:19:31 (5/104) Installing libxau (1.0.11-r2) 18:19:31 (6/104) Installing libmd (1.0.4-r2) 18:19:31 (7/104) Installing libbsd (0.11.7-r1) 18:19:31 (8/104) Installing libxdmcp (1.1.4-r2) 18:19:31 (9/104) Installing libxcb (1.15-r1) 18:19:31 (10/104) Installing libx11 (1.8.7-r0) 18:19:31 (11/104) Installing libdrm (2.4.115-r4) 18:19:31 (12/104) Installing libxext (1.3.5-r2) 18:19:31 (13/104) Installing libxfixes (6.0.1-r2) 18:19:31 (14/104) Installing libffi (3.4.4-r2) 18:19:31 (15/104) Installing wayland-libs-client (1.22.0-r2) 18:19:31 (16/104) Installing libva (2.18.0-r1) 18:19:31 (17/104) Installing libvdpau (1.5-r1) 18:19:31 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 18:19:31 (19/104) Installing libdav1d (1.2.1-r0) 18:19:31 (20/104) Installing brotli-libs (1.0.9-r14) 18:19:31 (21/104) Installing libgcc (12.2.1_git20220924-r10) 18:19:31 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 18:19:31 (23/104) Installing libhwy (1.0.4-r1) 18:19:31 (24/104) Installing lcms2 (2.15-r2) 18:19:31 (25/104) Installing libjxl (0.8.2-r0) 18:19:31 (26/104) Installing lame-libs (3.100-r5) 18:19:31 (27/104) Installing opus (1.4-r0) 18:19:31 (28/104) Installing libgomp (12.2.1_git20220924-r10) 18:19:31 (29/104) Installing soxr (0.1.3-r5) 18:19:31 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 18:19:31 (31/104) Installing libogg (1.3.5-r4) 18:19:31 (32/104) Installing libtheora (1.1.1-r17) 18:19:31 (33/104) Installing libvorbis (1.3.7-r1) 18:19:31 (34/104) Installing libvpx (1.13.0-r2) 18:19:31 (35/104) Installing libwebp (1.3.2-r0) 18:19:31 (36/104) Installing x264-libs (0.164_git20220602-r1) 18:19:31 (37/104) Installing numactl (2.0.16-r4) 18:19:31 (38/104) Installing x265-libs (3.5-r4) 18:19:31 (39/104) Installing xvidcore (1.3.7-r1) 18:19:31 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 18:19:31 (41/104) Installing alsa-lib (1.2.9-r1) 18:19:31 (42/104) Installing libexpat (2.6.3-r0) 18:19:31 (43/104) Installing libbz2 (1.0.8-r5) 18:19:31 (44/104) Installing libpng (1.6.44-r0) 18:19:31 (45/104) Installing freetype (2.13.0-r5) 18:19:31 (46/104) Installing fontconfig (2.14.2-r3) 18:19:31 (47/104) Installing fribidi (1.0.13-r0) 18:19:31 (48/104) Installing libintl (0.21.1-r7) 18:19:31 (49/104) Installing libblkid (2.38.1-r8) 18:19:31 (50/104) Installing libmount (2.38.1-r8) 18:19:31 (51/104) Installing pcre2 (10.42-r1) 18:19:31 (52/104) Installing glib (2.76.6-r0) 18:19:31 (53/104) Installing graphite2 (1.3.14-r5) 18:19:31 (54/104) Installing harfbuzz (7.3.0-r0) 18:19:31 (55/104) Installing libunibreak (5.1-r0) 18:19:31 (56/104) Installing libass (0.17.1-r0) 18:19:31 (57/104) Installing libbluray (1.3.4-r0) 18:19:31 (58/104) Installing gmp (6.2.1-r3) 18:19:31 (59/104) Installing nettle (3.8.1-r2) 18:19:31 (60/104) Installing libunistring (1.1-r1) 18:19:31 (61/104) Installing libidn2 (2.3.4-r1) 18:19:31 (62/104) Installing p11-kit (0.24.1-r2) 18:19:31 (63/104) Installing libtasn1 (4.19.0-r1) 18:19:31 (64/104) Installing gnutls (3.8.4-r0) 18:19:31 (65/104) Installing mpg123-libs (1.31.3-r1) 18:19:31 (66/104) Installing libopenmpt (0.7.2-r0) 18:19:31 (67/104) Installing cjson (1.7.17-r0) 18:19:31 (68/104) Installing mbedtls (2.28.9-r0) 18:19:31 (69/104) Installing librist (0.2.7-r0) 18:19:31 (70/104) Installing libsrt (1.5.2-r0) 18:19:31 (71/104) Installing libssh (0.10.5-r0) 18:19:31 (72/104) Installing xz-libs (5.4.3-r0) 18:19:31 (73/104) Installing libxml2 (2.11.8-r0) 18:19:31 (74/104) Installing libsodium (1.0.18-r3) 18:19:31 (75/104) Installing libzmq (4.3.4-r4) 18:19:31 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 18:19:31 (77/104) Installing glslang-libs (1.3.243.0-r1) 18:19:31 (78/104) Installing spirv-tools (1.3.243.0-r1) 18:19:31 (79/104) Installing shaderc (2023.3-r1) 18:19:31 (80/104) Installing vulkan-loader (1.3.243.0-r1) 18:19:31 (81/104) Installing libplacebo (5.264.1-r1) 18:19:31 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 18:19:31 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 18:19:31 (84/104) Installing vidstab (1.1.1-r0) 18:19:31 (85/104) Installing zimg (3.0.5-r0) 18:19:31 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 18:19:31 (87/104) Installing libasyncns (0.8-r1) 18:19:31 (88/104) Installing dbus-libs (1.14.8-r0) 18:19:31 (89/104) Installing libltdl (2.4.7-r2) 18:19:31 (90/104) Installing orc (0.4.39-r0) 18:19:31 (91/104) Installing flac-libs (1.4.3-r0) 18:19:31 (92/104) Installing libsndfile (1.2.0-r2) 18:19:31 (93/104) Installing speexdsp (1.2.1-r1) 18:19:31 (94/104) Installing tdb-libs (1.4.8-r1) 18:19:31 (95/104) Installing libpulse (16.1-r10) 18:19:31 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 18:19:31 (97/104) Installing v4l-utils-libs (1.24.1-r0) 18:19:31 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 18:19:31 (99/104) Installing ffmpeg (6.0.1-r0) 18:19:31 (100/104) Installing udev-init-scripts (35-r1) 18:19:31 (101/104) Installing eudev-libs (3.2.11-r8) 18:19:31 (102/104) Installing zstd-libs (1.5.5-r4) 18:19:31 (103/104) Installing kmod-libs (30-r3) 18:19:31 (104/104) Installing eudev (3.2.11-r8) 18:19:31 Executing busybox-1.36.1-r7.trigger 18:19:31 Executing glib-2.76.6-r0.trigger 18:19:31 Executing eudev-3.2.11-r8.trigger 18:19:31 OK: 110 MiB in 119 packages 18:19:32 Removing intermediate container 53702b4754af 18:19:32 ---> 812bb6f28055 18:19:32 Step 18/37 : RUN apk --no-cache upgrade 18:19:32 ---> Running in bebeeceb0790 18:19:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:19:35 OK: 110 MiB in 119 packages 18:19:36 Removing intermediate container bebeeceb0790 18:19:36 ---> 2fb6c06d8563 18:19:36 Step 19/37 : WORKDIR / 18:19:36 ---> Running in c2105e2b4762 18:19:36 Removing intermediate container c2105e2b4762 18:19:36 ---> 3ff8fba44b6e 18:19:36 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 18:19:38 ---> 3e1513013dc5 18:19:38 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 18:19:38 ---> 3df751e23808 18:19:38 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 18:19:39 ---> b8ae03af2482 18:19:39 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:19:39 ---> a9851f1b740d 18:19:39 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:19:40 ---> 854d1caf2d10 18:19:40 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 18:19:40 ---> 9a4fda55a93e 18:19:40 Step 26/37 : COPY --from=rtsp /mediamtx / 18:19:42 ---> 2d385cd54648 18:19:42 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 18:19:42 ---> Running in f8b40a4cc3bc 18:19:44 Removing intermediate container f8b40a4cc3bc 18:19:44 ---> 97988555a534 18:19:44 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 18:19:44 ---> Running in 435e4e0350dd 18:19:45 Removing intermediate container 435e4e0350dd 18:19:45 ---> b61c65de0d5e 18:19:45 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 18:19:46 ---> Running in 191d6ee7d0b2 18:19:47 Removing intermediate container 191d6ee7d0b2 18:19:47 ---> 59bd13e1b027 18:19:47 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 18:19:47 ---> Running in 64b93740954a 18:19:49 Removing intermediate container 64b93740954a 18:19:49 ---> 00a4eeb84080 18:19:49 Step 31/37 : EXPOSE 59983 18:19:49 ---> Running in a39c1c3b1e99 18:19:49 Removing intermediate container a39c1c3b1e99 18:19:49 ---> 64b42604d1d0 18:19:49 Step 32/37 : EXPOSE 8554 18:19:49 ---> Running in 2503925859ad 18:19:49 Removing intermediate container 2503925859ad 18:19:49 ---> ebcb9521e0f0 18:19:49 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:19:50 ---> Running in b2a0d27adaa0 18:19:50 Removing intermediate container b2a0d27adaa0 18:19:50 ---> cda86d8cd4a7 18:19:50 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:19:50 ---> Running in 3410401487b2 18:19:50 Removing intermediate container 3410401487b2 18:19:50 ---> 89cc13ceb4ea 18:19:50 Step 35/37 : LABEL arch=arm64 18:19:50 ---> Running in 51036f6b0189 18:19:50 Removing intermediate container 51036f6b0189 18:19:50 ---> 0fcc9b9e861d 18:19:50 Step 36/37 : LABEL git_sha=592e4457d474834c4ef1d8087c317a4be0995ef1 18:19:51 ---> Running in 009f8e94312a 18:19:51 Removing intermediate container 009f8e94312a 18:19:51 ---> 179640ee04fc 18:19:51 Step 37/37 : LABEL version=0.0.0 18:19:51 ---> Running in 05d506a3d16e 18:19:51 Removing intermediate container 05d506a3d16e 18:19:51 ---> ad8c29d6c7c5 18:19:51 [Warning] One or more build-args [ARCH] were not consumed 18:19:51 Successfully built ad8c29d6c7c5 18:19:51 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:19:52 18:19:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:19:53 arm64: Pulling from edgex-lftools-log-publisher 18:19:53 8998bd30e6a1: Pulling fs layer 18:19:53 04944245beec: Pulling fs layer 18:19:53 699f458cf7ca: Pulling fs layer 18:19:53 765212b225bb: Pulling fs layer 18:19:53 f23df028b6ca: Pulling fs layer 18:19:53 d65c8cfc05b1: Pulling fs layer 18:19:53 2437ff75d9bd: Pulling fs layer 18:19:53 765212b225bb: Waiting 18:19:53 f23df028b6ca: Waiting 18:19:53 d65c8cfc05b1: Waiting 18:19:53 2437ff75d9bd: Waiting 18:19:53 04944245beec: Verifying Checksum 18:19:53 04944245beec: Download complete 18:19:53 765212b225bb: Verifying Checksum 18:19:53 765212b225bb: Download complete 18:19:53 f23df028b6ca: Verifying Checksum 18:19:53 f23df028b6ca: Download complete 18:19:53 d65c8cfc05b1: Verifying Checksum 18:19:53 d65c8cfc05b1: Download complete 18:19:53 699f458cf7ca: Verifying Checksum 18:19:53 699f458cf7ca: Download complete 18:19:53 8998bd30e6a1: Download complete 18:19:56 2437ff75d9bd: Verifying Checksum 18:19:56 2437ff75d9bd: Download complete 18:19:58 8998bd30e6a1: Pull complete 18:19:58 04944245beec: Pull complete 18:20:00 699f458cf7ca: Pull complete 18:20:00 765212b225bb: Pull complete 18:20:01 f23df028b6ca: Pull complete 18:20:01 d65c8cfc05b1: Pull complete 18:20:19 2437ff75d9bd: Pull complete 18:20:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:19 prd-ubuntu20.04-docker-arm64-4c-16g-12484 does not seem to be running inside a container 18:20:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:20:22 $ docker top dce13f4a717cbf57b3bd056adc2c60432565363d8e7a6df14b65d92c6602fb02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:23 ---> job-cost.sh 18:20:23 lf-activate-venv: SKIPPING 18:20:23 INFO: No Stack... 18:20:23 INFO: Retrieving Pricing Info for: v3-standard-4 18:20:24 INFO: Archiving Costs [Pipeline] sh 18:20:25 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:20:25 + cut -d, -f6 [Pipeline] lock 18:20:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] 18:20:25 Resource [jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] did not exist. Created. 18:20:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:20:26 /w/workspace/device-usb-camera/1@tmp/durable-6447822f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:20:26 + echo total: 0.10999999940395355 [Pipeline] stash 18:20:26 Warning: overwriting stash ‘stack-cost’ 18:20:26 Stashed 1 file(s) [Pipeline] } 18:20:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:20:27 $ docker stop --time=1 dce13f4a717cbf57b3bd056adc2c60432565363d8e7a6df14b65d92c6602fb02 18:20:28 $ docker rm -f --volumes dce13f4a717cbf57b3bd056adc2c60432565363d8e7a6df14b65d92c6602fb02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:20:29 provisioning config files... 18:20:29 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-349@tmp/config6504898457195426578tmp [Pipeline] { [Pipeline] sh 18:20:30 + set +x 18:20:30 + curl -s https://codecov.io/bash 18:20:30 + bash -s -- 18:20:30 18:20:30 _____ _ 18:20:30 / ____| | | 18:20:30 | | ___ __| | ___ ___ _____ __ 18:20:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:20:30 | |___| (_) | (_| | __/ (_| (_) \ V / 18:20:30 \_____\___/ \__,_|\___|\___\___/ \_/ 18:20:30 Bash-1.0.6 18:20:30 18:20:30 18:20:30 ==> git version 2.25.1 found 18:20: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 18:20:30 Release-Date: 2020-01-08 18:20: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 18:20:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:20:30 ==> Jenkins CI detected. 18:20:30 current dir:  /w/workspace/foundry_device-usb-camera_PR-349 18:20:30 project root: . 18:20:30 --> token set from env 18:20:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:20:30 ==> Running gcov in . (disable via -X gcov) 18:20:30 ==> Python coveragepy not found 18:20:30 ==> Searching for coverage reports in: 18:20:30 + . 18:20:30 -> Found 1 reports 18:20:30 ==> Detecting git/mercurial file structure 18:20:30 ==> Reading reports 18:20:30 + ./coverage.out bytes=54703 18:20:30 ==> Appending adjustments 18:20:30 https://docs.codecov.io/docs/fixing-reports 18:20:30 + Found adjustments 18:20:30 ==> Gzipping contents 18:20:30 8.0K /tmp/codecov.n5RWuU.gz 18:20:30 ==> Uploading reports 18:20:30 url: https://codecov.io 18:20:30 query: branch=PR-349&commit=592e4457d474834c4ef1d8087c317a4be0995ef1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=349&job=&cmd_args= 18:20:30 -> Pinging Codecov 18:20:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-349&commit=592e4457d474834c4ef1d8087c317a4be0995ef1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=349&job=&cmd_args= 18:20:30 -> Uploading to 18:20:30 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-usb-camera/592e4457d474834c4ef1d8087c317a4be0995ef1/38f1a188-989d-47f1-9092-c0cb4863e0b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T182030Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=53e852a1714a11ac68e5b0dad0683595df5d6868b67ab224d1b906e00fa3e110 18:20:30 % Total % Received % Xferd Average Speed Time Time Time Current 18:20:30 Dload Upload Total Spent Left Speed 18:20:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 28354 --:--:-- --:--:-- --:--:-- 28354 18:20:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/592e4457d474834c4ef1d8087c317a4be0995ef1 [Pipeline] } 18:20:30 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:20:33 + [ -d /w/workspace/foundry_device-usb-camera_PR-349/archives ] 18:20:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-349/archives 18:20:33 total 16 18:20:33 drwxr-xr-x 3 root root 4096 Oct 1 18:05 . 18:20:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 18:05 .. 18:20:33 drwxr-xr-x 2 root root 4096 Oct 1 18:05 cost 18:20:33 -rw-r--r-- 1 root root 89 Oct 1 18:05 cost.csv 18:20:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-349/archives 18:20:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-349/archives 18:20:33 total 16 18:20:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 18:05 . 18:20:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 18:05 .. 18:20:33 drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 18:05 cost 18:20:33 -rw-r--r-- 1 jenkins jenkins 89 Oct 1 18:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:20:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:20:34 ---> package-listing.sh 18:20:34 ++ facter osfamily 18:20:34 ++ tr '[:upper:]' '[:lower:]' 18:20:34 + OS_FAMILY=debian 18:20:34 + workspace=/w/workspace/foundry_device-usb-camera_PR-349 18:20:34 + START_PACKAGES=/tmp/packages_start.txt 18:20:34 + END_PACKAGES=/tmp/packages_end.txt 18:20:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:20:34 + PACKAGES=/tmp/packages_start.txt 18:20:34 + '[' /w/workspace/foundry_device-usb-camera_PR-349 ']' 18:20:34 + PACKAGES=/tmp/packages_end.txt 18:20:34 + case "${OS_FAMILY}" in 18:20:34 + dpkg -l 18:20:34 + grep '^ii' 18:20:34 + '[' -f /tmp/packages_start.txt ']' 18:20:34 + '[' -f /tmp/packages_end.txt ']' 18:20:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:20:34 + '[' /w/workspace/foundry_device-usb-camera_PR-349 ']' 18:20:34 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-349/archives/ 18:20:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-349/archives/ [Pipeline] echo 18:20: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-349/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:20:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:35 prd-ubuntu20.04-docker-8c-8g-12475 does not seem to be running inside a container 18:20: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-349/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-349 -v /w/workspace/foundry_device-usb-camera_PR-349:/w/workspace/foundry_device-usb-camera_PR-349:rw,z -v /w/workspace/foundry_device-usb-camera_PR-349@tmp:/w/workspace/foundry_device-usb-camera_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:20:36 $ docker top 667c6169de2a47840b59a68dabc4917f2f66e9e067c037392f07ea4736740236 -eo pid,comm [Pipeline] { [Pipeline] sh 18:20:36 + touch /tmp/pre-build-complete [Pipeline] sh 18:20:36 + mkdir -p /var/log/sysstat [Pipeline] sh 18:20:37 + ls /var/log/sa-host 18:20:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:37 provisioning config files... 18:20:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-349@tmp/config1438811693167748236tmp [Pipeline] { [Pipeline] echo 18:20:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:20:37 ---> create-netrc.sh [Pipeline] } 18:20:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:20:38 ---> python-tools-install.sh [Pipeline] echo 18:20:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:20:38 ---> sudo-logs.sh 18:20:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:20:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:20:39 ---> job-cost.sh 18:20:39 lf-activate-venv: SKIPPING 18:20:39 DEBUG: total: 0.2199999988079071 18:20:39 INFO: Retrieving Stack Cost... 18:20:39 INFO: Retrieving Pricing Info for: v3-standard-8 18:20:40 INFO: Archiving Costs [Pipeline] echo 18:20:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:20:40 ---> logs-deploy.sh 18:20:40 lf-activate-venv: SKIPPING 18:20:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-349/1 18:20:40 INFO: archiving workspace using pattern(s): 18:20:41 Archives upload complete. 18:20:41 INFO: archiving logs to Nexus