Pull request #348 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 823647b5eaf199ab5a9a85cf88820b1c95fb2459+e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 (04a5fbc22080239540ed9903130412ff156ea797) 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-ssh11410590708378694608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh510038685564395063.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 f3350a1713306dce7682ed7e37d5774890d03277 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-348/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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh383881119097846348.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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11532137662959824629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh11344517200245734341.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-348/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-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16813923644461139948.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 f3350a1713306dce7682ed7e37d5774890d03277 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-9894 in /w/workspace/foundry_device-usb-camera_PR-348 [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-348 # 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 > 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/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 into PR head commit 823647b5eaf199ab5a9a85cf88820b1c95fb2459 Merge succeeded, producing 823647b5eaf199ab5a9a85cf88820b1c95fb2459 Checking out Revision 823647b5eaf199ab5a9a85cf88820b1c95fb2459 (PR-348) 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 f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 823647b5eaf199ab5a9a85cf88820b1c95fb2459 # 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 e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 823647b5eaf199ab5a9a85cf88820b1c95fb2459 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:57:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:57:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:57:15 ========================================================= 17:57:15 EdgeX Global Pipelines Version Info 17:57:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:57:16 ------------------- 17:57:16 stable info: 17:57:16 ------------------- 17:57:16 Commited By: Cherry Wang cherry@iotechsys.com 17:57:16 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 17:57:16 Message: update stable to v1.0.263 17:57:17 ------------------- 17:57:17 experimental info: 17:57:17 ------------------- 17:57:17 Commited By: Cherry Wang cherry@iotechsys.com 17:57:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 17:57:17 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:57:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:57:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo 17:57:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo 17:57:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo 17:57:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 823647b5eaf199ab5a9a85cf88820b1c95fb2459 [Pipeline] echo 17:57:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 823647b [Pipeline] echo 17:57:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:19 provisioning config files... 17:57:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-348@tmp/config12524405869064853111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:19 ---> ****-login.sh 17:57:19 nexus3.edgexfoundry.org:10001 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 nexus3.edgexfoundry.org:10002 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 nexus3.edgexfoundry.org:10003 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 nexus3.edgexfoundry.org:10004 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 ****.io 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 ---> ****-login.sh ends [Pipeline] } 17:57:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:57:21 + git rev-list -1 --merges 823647b5eaf199ab5a9a85cf88820b1c95fb2459~1..823647b5eaf199ab5a9a85cf88820b1c95fb2459 [Pipeline] echo 17:57:21 -----------> git rev-list -1 --merges 823647b5eaf199ab5a9a85cf88820b1c95fb2459~1..823647b5eaf199ab5a9a85cf88820b1c95fb2459 823647b5eaf199ab5a9a85cf88820b1c95fb2459 [false] [Pipeline] sh 17:57:22 + git log --format=format:%s -1 823647b5eaf199ab5a9a85cf88820b1c95fb2459 [Pipeline] echo 17:57:22 ========================================================= 17:57:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:57:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:22 + git log --format=format:%s -1 823647b5eaf199ab5a9a85cf88820b1c95fb2459 [Pipeline] echo 17:57:22 [semverPrep] GIT_COMMIT: 823647b5eaf199ab5a9a85cf88820b1c95fb2459, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:57:22 [semverPrep] This is not a build commit. [Pipeline] sh 17:57:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:57:23 + grep -v github /etc/ssh/ssh_known_hosts 17:57:23 + [ -e /tmp/ssh_known_hosts ] 17:57:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:57:23 + + sudo tee -a /etc/ssh/ssh_known_hosts 17:57:23 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:57:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:23 17:57:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:24 0.1.4: Pulling from edgex-devops/py-git-semver 17:57:24 b85a868b505f: Pulling fs layer 17:57:24 e2be974225ed: Pulling fs layer 17:57:24 339a4e72a1f5: Pulling fs layer 17:57:24 988bab9f4d93: Pulling fs layer 17:57:24 1469e6f7b9e6: Pulling fs layer 17:57:24 eaf3925da568: Pulling fs layer 17:57:24 bab4dde63d76: Pulling fs layer 17:57:24 bde34c3a00c8: Pulling fs layer 17:57:24 b352a97aabf1: Pulling fs layer 17:57:24 4872d77fe225: Pulling fs layer 17:57:24 5851b861e8e6: Pulling fs layer 17:57:24 bab4dde63d76: Waiting 17:57:24 b352a97aabf1: Waiting 17:57:24 4872d77fe225: Waiting 17:57:24 bde34c3a00c8: Waiting 17:57:24 1469e6f7b9e6: Waiting 17:57:24 5851b861e8e6: Waiting 17:57:24 988bab9f4d93: Waiting 17:57:24 eaf3925da568: Waiting 17:57:24 e2be974225ed: Verifying Checksum 17:57:24 e2be974225ed: Download complete 17:57:24 988bab9f4d93: Verifying Checksum 17:57:24 988bab9f4d93: Download complete 17:57:24 1469e6f7b9e6: Verifying Checksum 17:57:24 1469e6f7b9e6: Download complete 17:57:24 eaf3925da568: Verifying Checksum 17:57:24 eaf3925da568: Download complete 17:57:24 339a4e72a1f5: Verifying Checksum 17:57:24 339a4e72a1f5: Download complete 17:57:24 bde34c3a00c8: Verifying Checksum 17:57:24 bde34c3a00c8: Download complete 17:57:24 b352a97aabf1: Download complete 17:57:24 4872d77fe225: Download complete 17:57:24 5851b861e8e6: Verifying Checksum 17:57:24 b85a868b505f: Verifying Checksum 17:57:24 b85a868b505f: Download complete 17:57:24 bab4dde63d76: Verifying Checksum 17:57:24 bab4dde63d76: Download complete 17:57:25 b85a868b505f: Pull complete 17:57:26 e2be974225ed: Pull complete 17:57:26 339a4e72a1f5: Pull complete 17:57:26 988bab9f4d93: Pull complete 17:57:26 1469e6f7b9e6: Pull complete 17:57:27 eaf3925da568: Pull complete 17:57:29 bab4dde63d76: Pull complete 17:57:29 bde34c3a00c8: Pull complete 17:57:29 b352a97aabf1: Pull complete 17:57:29 4872d77fe225: Pull complete 17:57:29 5851b861e8e6: Pull complete 17:57:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:57:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:29 prd-ubuntu20.04-docker-8c-8g-9894 does not seem to be running inside a container 17:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-348 -v /w/workspace/foundry_device-usb-camera_PR-348:/w/workspace/foundry_device-usb-camera_PR-348:rw,z -v /w/workspace/foundry_device-usb-camera_PR-348@tmp:/w/workspace/foundry_device-usb-camera_PR-348@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:57:32 $ docker top cc5f8019bc1fec482c75da33fb7d959b81f523f22d7d9c40303ffc0019791bc1 -eo pid,comm 17:57:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:57:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:57:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:33 [ssh-agent] Looking for ssh-agent implementation... 17:57:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:33 $ docker exec cc5f8019bc1fec482c75da33fb7d959b81f523f22d7d9c40303ffc0019791bc1 ssh-agent 17:57:33 SSH_AUTH_SOCK=/tmp/ssh-rKFY3Ng1cupy/agent.34 17:57:33 SSH_AGENT_PID=40 17:57:33 Running ssh-add (command line suppressed) 17:57:33 Identity added: /w/workspace/foundry_device-usb-camera_PR-348@tmp/private_key_10408718568905411856.key (/w/workspace/foundry_device-usb-camera_PR-348@tmp/private_key_10408718568905411856.key) 17:57:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:33 + git tag --points-at HEAD [Pipeline] } 17:57:33 $ docker exec --env ******** --env ******** cc5f8019bc1fec482c75da33fb7d959b81f523f22d7d9c40303ffc0019791bc1 ssh-agent -k 17:57:33 unset SSH_AUTH_SOCK; 17:57:33 unset SSH_AGENT_PID; 17:57:33 echo Agent pid 40 killed; 17:57:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:57:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:34 [ssh-agent] Looking for ssh-agent implementation... 17:57:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:34 $ docker exec cc5f8019bc1fec482c75da33fb7d959b81f523f22d7d9c40303ffc0019791bc1 ssh-agent 17:57:34 SSH_AUTH_SOCK=/tmp/ssh-9H1hme6D8SOj/agent.73 17:57:34 SSH_AGENT_PID=79 17:57:34 Running ssh-add (command line suppressed) 17:57:34 Identity added: /w/workspace/foundry_device-usb-camera_PR-348@tmp/private_key_12594344914907758565.key (/w/workspace/foundry_device-usb-camera_PR-348@tmp/private_key_12594344914907758565.key) 17:57:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:34 + git semver init 17:57:34 2024-09-09 17:57:34,865 [run_init] DEBUG init version:0.0.0 force:False 17:57:34 2024-09-09 17:57:34,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-348/.semver 17:57:34 2024-09-09 17:57:34,866 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-348/.semver 17:57:34 2024-09-09 17:57:34,866 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-348/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-348, universal_newlines=False, shell=None, istream=None) 17:57:36 2024-09-09 17:57:36,422 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-348/.git/info/exclude 17:57:36 2024-09-09 17:57:36,423 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-348/.semver/PR-348 with force:False 17:57:36 2024-09-09 17:57:36,423 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-348/.semver/PR-348 17:57:36 2024-09-09 17:57:36,428 [execute] INFO git cat-file --batch-check 17:57:36 2024-09-09 17:57:36,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-348/.semver, universal_newlines=False, shell=None, istream=) 17:57:36 2024-09-09 17:57:36,433 [execute] INFO git cat-file --batch 17:57:36 2024-09-09 17:57:36,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-348/.semver, universal_newlines=False, shell=None, istream=) 17:57:36 2024-09-09 17:57:36,438 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-348/.semver/PR-348 17:57:36 0.0.0 [Pipeline] } 17:57:38 $ docker exec --env ******** --env ******** cc5f8019bc1fec482c75da33fb7d959b81f523f22d7d9c40303ffc0019791bc1 ssh-agent -k 17:57:38 unset SSH_AUTH_SOCK; 17:57:38 unset SSH_AGENT_PID; 17:57:38 echo Agent pid 79 killed; 17:57:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:57:39 + git semver [Pipeline] } 17:57:39 $ docker stop --time=1 cc5f8019bc1fec482c75da33fb7d959b81f523f22d7d9c40303ffc0019791bc1 17:57:40 $ docker rm -f --volumes cc5f8019bc1fec482c75da33fb7d959b81f523f22d7d9c40303ffc0019791bc1 [Pipeline] // withDockerContainer [Pipeline] sh 17:57:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:57:41 Stashed 1 file(s) [Pipeline] echo 17:57:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:54 provisioning config files... 17:57:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-348@tmp/config12780313536797166654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:55 ---> ****-login.sh 17:57:55 nexus3.edgexfoundry.org:10001 17:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:55 Configure a credential helper to remove this warning. See 17:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:55 17:57:55 Login Succeeded 17:57:55 nexus3.edgexfoundry.org:10002 17:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:55 Configure a credential helper to remove this warning. See 17:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:55 17:57:55 Login Succeeded 17:57:55 nexus3.edgexfoundry.org:10003 17:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:55 Configure a credential helper to remove this warning. See 17:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:55 17:57:55 Login Succeeded 17:57:55 nexus3.edgexfoundry.org:10004 17:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:55 Configure a credential helper to remove this warning. See 17:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:55 17:57:55 Login Succeeded 17:57:55 ****.io 17:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:55 Configure a credential helper to remove this warning. See 17:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:55 17:57:55 Login Succeeded 17:57:55 ---> ****-login.sh ends [Pipeline] } 17:57:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:56 ========================================================= 17:57:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:57:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:56 + 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 . 17:57:56 Sending build context to Docker daemon 20.48MB 17:57:56 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:57:56 Step 2/13 : FROM ${BASE} AS builder 17:57:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:57:56 619be1103602: Pulling fs layer 17:57:56 7862e08f4a3e: Pulling fs layer 17:57:56 5df492c9dc93: Pulling fs layer 17:57:56 7629e6793208: Pulling fs layer 17:57:56 4f4fb700ef54: Pulling fs layer 17:57:56 fb5054dd5b73: Pulling fs layer 17:57:56 eeca6798cff9: Pulling fs layer 17:57:56 aa269ceb94a6: Pulling fs layer 17:57:56 ada007ff1a6a: Pulling fs layer 17:57:56 7629e6793208: Waiting 17:57:56 4f4fb700ef54: Waiting 17:57:56 fb5054dd5b73: Waiting 17:57:56 eeca6798cff9: Waiting 17:57:56 aa269ceb94a6: Waiting 17:57:56 ada007ff1a6a: Waiting 17:57:57 7862e08f4a3e: Download complete 17:57:57 7629e6793208: Verifying Checksum 17:57:57 7629e6793208: Download complete 17:57:57 4f4fb700ef54: Verifying Checksum 17:57:57 4f4fb700ef54: Download complete 17:57:57 fb5054dd5b73: Download complete 17:57:57 619be1103602: Verifying Checksum 17:57:57 619be1103602: Download complete 17:57:57 eeca6798cff9: Verifying Checksum 17:57:57 eeca6798cff9: Download complete 17:57:57 619be1103602: Pull complete 17:57:57 ada007ff1a6a: Verifying Checksum 17:57:57 ada007ff1a6a: Download complete 17:57:57 7862e08f4a3e: Pull complete 17:57:57 5df492c9dc93: Verifying Checksum 17:57:57 5df492c9dc93: Download complete 17:57:57 aa269ceb94a6: Verifying Checksum 17:57:57 aa269ceb94a6: Download complete 17:58:01 5df492c9dc93: Pull complete 17:58:01 7629e6793208: Pull complete 17:58:01 4f4fb700ef54: Pull complete 17:58:01 fb5054dd5b73: Pull complete 17:58:01 eeca6798cff9: Pull complete 17:58:03 aa269ceb94a6: Pull complete 17:58:03 ada007ff1a6a: Pull complete 17:58:03 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:58:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:58:03 ---> f489d0715acc 17:58:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:58:07 ---> Running in 04d3a6b7c50d 17:58:07 Removing intermediate container 04d3a6b7c50d 17:58:07 ---> 9b7b578d79a6 17:58:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:58:07 ---> Running in 0c9fb37eae29 17:58:08 Removing intermediate container 0c9fb37eae29 17:58:08 ---> 8c658d457f77 17:58:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:58:08 ---> Running in e84fa1605619 17:58:08 Removing intermediate container e84fa1605619 17:58:08 ---> 8e076d97c251 17:58:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:58:08 ---> Running in 3996bec7339d 17:58:08 Removing intermediate container 3996bec7339d 17:58:08 ---> 789500f86e53 17:58:08 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:08 ---> Running in 8246547f75eb 17:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:58:08 (1/13) Installing libintl (0.21.1-r7) 17:58:08 (2/13) Installing eudev-libs (3.2.11-r8) 17:58:08 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:58:08 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:58:08 (5/13) Installing v4l-utils (1.24.1-r0) 17:58:08 (6/13) Installing libdvbv5 (1.24.1-r0) 17:58:08 (7/13) Installing udev-init-scripts (35-r1) 17:58:08 (8/13) Installing libblkid (2.38.1-r8) 17:58:08 (9/13) Installing xz-libs (5.4.3-r0) 17:58:08 (10/13) Installing kmod-libs (30-r3) 17:58:08 (11/13) Installing eudev (3.2.11-r8) 17:58:09 (12/13) Installing eudev-dev (3.2.11-r8) 17:58:09 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:58:09 Executing busybox-1.36.1-r5.trigger 17:58:09 Executing eudev-3.2.11-r8.trigger 17:58:09 OK: 271 MiB in 65 packages 17:58:09 Removing intermediate container 8246547f75eb 17:58:09 ---> 320f1f693950 17:58:09 Step 8/13 : WORKDIR /device-usb-camera 17:58:09 Still waiting to schedule task 17:58:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:58:09 ---> Running in 01357285e60c 17:58:09 Removing intermediate container 01357285e60c 17:58:09 ---> 14aca6e04922 17:58:09 Step 9/13 : COPY go.mod vendor* ./ 17:58:09 ---> 69a45f658ed5 17:58:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:09 ---> Running in e2c1e23c5a79 17:59:06 Removing intermediate container e2c1e23c5a79 17:59:06 ---> 9e5aed7ea2ab 17:59:06 Step 11/13 : COPY . . 17:59:06 ---> 942907e89542 17:59:06 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:59:06 ---> Running in 4bfe9216c987 17:59:06  % Total % Received % Xferd Average Speed Time Time  Time Current 17:59:06  Dload Upload Total Spent Left Speed 17:59:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9370 0 --:--:-- --:--:-- --:--:-- 9398 17:59:06 Removing intermediate container 4bfe9216c987 17:59:06 ---> 50d9459a303c 17:59:06 Step 13/13 : RUN ${MAKE} 17:59:06 ---> Running in ef6c558472e6 17:59:06 noop 17:59:06 Removing intermediate container ef6c558472e6 17:59:06 ---> e84181115107 17:59:06 Successfully built e84181115107 17:59:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:06 + docker inspect -f . ci-base-image-x86_64 17:59:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:06 prd-ubuntu20.04-docker-8c-8g-9894 does not seem to be running inside a container 17:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-348 -v /w/workspace/foundry_device-usb-camera_PR-348:/w/workspace/foundry_device-usb-camera_PR-348:rw,z -v /w/workspace/foundry_device-usb-camera_PR-348@tmp:/w/workspace/foundry_device-usb-camera_PR-348@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-x86_64 cat 17:59:07 $ docker top 85e2bcaa6ff8288b31276fa85f5fa6b6c566630fe6770ef0ddb7cb12f825512e -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:07 + go version 17:59:07 go version go1.21.9 linux/amd64 [Pipeline] } 17:59:07 $ docker stop --time=1 85e2bcaa6ff8288b31276fa85f5fa6b6c566630fe6770ef0ddb7cb12f825512e 17:59:09 $ docker rm -f --volumes 85e2bcaa6ff8288b31276fa85f5fa6b6c566630fe6770ef0ddb7cb12f825512e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:09 + docker inspect -f . ci-base-image-x86_64 17:59:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:10 prd-ubuntu20.04-docker-8c-8g-9894 does not seem to be running inside a container 17:59:10 $ 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-348 -v /w/workspace/foundry_device-usb-camera_PR-348:/w/workspace/foundry_device-usb-camera_PR-348:rw,z -v /w/workspace/foundry_device-usb-camera_PR-348@tmp:/w/workspace/foundry_device-usb-camera_PR-348@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-x86_64 cat 17:59:10 $ docker top 69bbc91125cdc6b747d2ff4aedaa028abab80fe9982ae24f3eecfd7ec4452445 -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:10 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-348 [Pipeline] fileExists [Pipeline] sh 17:59:11 + make test 17:59:11 go test ./... -coverprofile=coverage.out ./... 17:59:12 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:59:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:59:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 4.4% of statements 17:59:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9895 in /w/workspace/foundry_device-usb-camera_PR-348 [Pipeline] { [Pipeline] ws 17:59:36 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:59:36 Selected Git installation does not exist. Using Default 17:59:36 The recommended git tool is: NONE 17:59:41 using credential edgex-jenkins-ssh 17:59:41 Cloning the remote Git repository 17:59:41 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:59:41 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:59:41 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:59:41 > git --version # timeout=10 17:59:41 > git --version # 'git version 2.25.1' 17:59:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:43 go vet ./... 17:59:44 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:59:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:45 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:59:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:59:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:59:45 Merging remotes/origin/main commit e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 into PR head commit 823647b5eaf199ab5a9a85cf88820b1c95fb2459 17:59:46 Merge succeeded, producing 823647b5eaf199ab5a9a85cf88820b1c95fb2459 17:59:46 Checking out Revision 823647b5eaf199ab5a9a85cf88820b1c95fb2459 (PR-348) 17:59:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:59:46 > git --version # timeout=10 17:59:46 > git --version # 'git version 2.25.1' 17:59:46 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 17:59:45 > git config core.sparsecheckout # timeout=10 17:59:45 > git checkout -f 823647b5eaf199ab5a9a85cf88820b1c95fb2459 # timeout=10 17:59:45 > git remote # timeout=10 17:59:45 > git config --get remote.origin.url # timeout=10 17:59:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:45 > git merge e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 # timeout=10 17:59:46 > git rev-parse HEAD^{commit} # timeout=10 17:59:46 > git config core.sparsecheckout # timeout=10 17:59:46 > git checkout -f 823647b5eaf199ab5a9a85cf88820b1c95fb2459 # timeout=10 17:59:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:59:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:59:48 ./bin/test-attribution-txt.sh 17:59:48 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:59:48 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:59:48 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:59:48 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:59:48 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:59:48 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:59:48 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:59:48 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:59:48 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:59:48 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:59:48 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:59:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:59:48 $ docker stop --time=1 69bbc91125cdc6b747d2ff4aedaa028abab80fe9982ae24f3eecfd7ec4452445 17:59:51 $ docker rm -f --volumes 69bbc91125cdc6b747d2ff4aedaa028abab80fe9982ae24f3eecfd7ec4452445 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 17:59:52 + sudo chown -R jenkins:jenkins . [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stash [Pipeline] script 17:59:52 Stashed 1 file(s) [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 17:59:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:59:53 % Total % Received % Xferd Average Speed Time Time Time Current 17:59:53 Dload Upload Total Spent Left Speed 17:59:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86675 0 --:--:-- --:--:-- --:--:-- 87265 [Pipeline] sh [Pipeline] sh 17:59:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:59:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:59:54 + sudo tee /etc/docker/daemon.new 17:59:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:59:54 { 17:59:54 "registry-mirrors": [ 17:59:54 "https://nexus3.edgexfoundry.org:10001" 17:59:54 ], 17:59:54 "bip": "10.250.0.254/24", 17:59:54 "hosts": [ 17:59:54 "tcp://0.0.0.0:5555", 17:59:54 "unix:///var/run/docker.sock" 17:59:54 ], 17:59:54 "mtu": 1458, 17:59:54 "selinux-enabled": true, 17:59:54 "seccomp-profile": "/etc/docker/seccomp.json" 17:59:54 } [Pipeline] sh 17:59:54 + ls -al . 17:59:54 total 292 17:59:54 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 17:59 . 17:59:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 17:57 .. 17:59:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 17:59 .git 17:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 17:57 .github 17:59:54 -rw-rw-r-- 1 jenkins jenkins 379 Sep 9 17:57 .gitignore 17:59:54 -rw-rw-r-- 1 jenkins jenkins 45 Sep 9 17:57 .golangci.yml 17:59:54 -rw-rw-r-- 1 jenkins jenkins 77 Sep 9 17:57 .hadolint.yml 17:59:54 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 17:57 .semver 17:59:54 -rw-rw-r-- 1 jenkins jenkins 10870 Sep 9 17:57 Attribution.txt 17:59:54 -rw-rw-r-- 1 jenkins jenkins 16561 Sep 9 17:57 CHANGELOG.md 17:59:54 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 9 17:57 Dockerfile 17:59:54 -rw-rw-r-- 1 jenkins jenkins 678 Sep 9 17:57 GOVERNANCE.md 17:59:54 -rw-rw-r-- 1 jenkins jenkins 659 Sep 9 17:57 Jenkinsfile 17:59:54 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 9 17:57 LICENSE 17:59:54 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 9 17:57 Makefile 17:59:54 -rw-rw-r-- 1 jenkins jenkins 622 Sep 9 17:57 OWNERS.md 17:59:54 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 9 17:57 README.md 17:59:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 17:57 VERSION 17:59:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 17:57 bin 17:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 17:57 cmd 17:59:54 -rw-r--r-- 1 jenkins jenkins 54703 Sep 9 17:59 coverage.out 17:59:54 -rwxrwxr-x 1 jenkins jenkins 84 Sep 9 17:57 docker-entrypoint.sh 17:59:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 17:57 docs 17:59:54 -rw-rw-r-- 1 jenkins jenkins 7211 Sep 9 17:57 go.mod 17:59:54 -rw-rw-r-- 1 jenkins jenkins 102023 Sep 9 17:57 go.sum 17:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 17:57 internal 17:59:54 -rw-rw-r-- 1 jenkins jenkins 231 Sep 9 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:59:54 + 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=823647b5eaf199ab5a9a85cf88820b1c95fb2459 --label arch=amd64 --label version=0.0.0 . 17:59:54 Sending build context to Docker daemon 20.54MB 17:59:54 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:59:54 Step 2/37 : FROM ${BASE} AS builder 17:59:54 ---> e84181115107 17:59:54 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:59:54 + sudo service docker restart 17:59:54 ---> Running in 1e54b326abc6 17:59:55 Removing intermediate container 1e54b326abc6 17:59:55 ---> 96ce431eb2dc 17:59:55 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:59:55 ---> Running in 9e4c50077db2 17:59:55 Removing intermediate container 9e4c50077db2 17:59:55 ---> 18e99f0fff59 17:59:55 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:59:55 ---> Running in fcbb467c3b70 17:59:55 Removing intermediate container fcbb467c3b70 17:59:55 ---> 82d12cd6e2dd 17:59:55 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:59:55 ---> Running in 40848893e7e8 17:59:55 Removing intermediate container 40848893e7e8 17:59:55 ---> 5afbe328367a 17:59:55 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:59:55 ---> Running in f566033eb9cb 17:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:59:55 OK: 271 MiB in 65 packages 17:59:56 Removing intermediate container f566033eb9cb 17:59:56 ---> 07ed57ec4d35 17:59:56 Step 8/37 : WORKDIR /device-usb-camera 17:59:56 ---> Running in 15285cba7209 17:59:56 Removing intermediate container 15285cba7209 17:59:56 ---> 92f2b5a4a911 17:59:56 Step 9/37 : COPY go.mod vendor* ./ 17:59:56 ---> 543dfa787df0 17:59:56 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:59:56 ---> Running in 1feb03c88380 17:59:57 Removing intermediate container 1feb03c88380 17:59:57 ---> 546babce31a9 17:59:57 Step 11/37 : COPY . . 17:59:58 ---> aaf31a0d2c6d 17:59:58 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:59:58 ---> Running in 4ab5fe1d67ce 17:59:58  % Total % Received % Xferd Average Speed Time Time Time Current 17:59:58 Dload Upload  Total  Spent Left Speed 17:59:58 0  0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 30713 0 --:--:-- --:--:-- --:--:-- 31235 17:59:58 Removing intermediate container 4ab5fe1d67ce 17:59:58 ---> 8a3ac12577c6 17:59:58 Step 13/37 : RUN ${MAKE} 17:59:58 ---> Running in 000c1322f334 17:59:59 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.37" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:00:13 provisioning config files... 18:00:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config4201341830269610903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:13 ---> ****-login.sh 18:00:13 nexus3.edgexfoundry.org:10001 18:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:00:14 Configure a credential helper to remove this warning. See 18:00:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:00:14 18:00:14 Login Succeeded 18:00:14 nexus3.edgexfoundry.org:10002 18:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:00:14 Configure a credential helper to remove this warning. See 18:00:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:00:14 18:00:14 Login Succeeded 18:00:14 nexus3.edgexfoundry.org:10003 18:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:00:15 Configure a credential helper to remove this warning. See 18:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:00:15 18:00:15 Login Succeeded 18:00:15 nexus3.edgexfoundry.org:10004 18:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:00:15 Configure a credential helper to remove this warning. See 18:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:00:15 18:00:15 Login Succeeded 18:00:15 ****.io 18:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:00:15 Configure a credential helper to remove this warning. See 18:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:00:15 18:00:15 Login Succeeded 18:00:15 ---> ****-login.sh ends [Pipeline] } 18:00:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:00:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:00:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:00:16 ========================================================= 18:00:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:00:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:16 + 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:00:17 Sending build context to Docker daemon 10.51MB 18:00:17 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 18:00:17 Step 2/13 : FROM ${BASE} AS builder 18:00:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:00:17 c6b39de5b339: Pulling fs layer 18:00:17 a69c41024577: Pulling fs layer 18:00:17 d6de4b400683: Pulling fs layer 18:00:17 35cb2a7552d0: Pulling fs layer 18:00:17 4f4fb700ef54: Pulling fs layer 18:00:17 464afbd9ba4c: Pulling fs layer 18:00:17 00f215d4a9da: Pulling fs layer 18:00:17 d496ad576159: Pulling fs layer 18:00:17 35cb2a7552d0: Waiting 18:00:17 4f4fb700ef54: Waiting 18:00:17 464afbd9ba4c: Waiting 18:00:17 00f215d4a9da: Waiting 18:00:17 d496ad576159: Waiting 18:00:17 a69c41024577: Verifying Checksum 18:00:17 a69c41024577: Download complete 18:00:17 35cb2a7552d0: Verifying Checksum 18:00:17 35cb2a7552d0: Download complete 18:00:17 4f4fb700ef54: Verifying Checksum 18:00:17 4f4fb700ef54: Download complete 18:00:17 c6b39de5b339: Verifying Checksum 18:00:17 c6b39de5b339: Download complete 18:00:17 464afbd9ba4c: Verifying Checksum 18:00:17 464afbd9ba4c: Download complete 18:00:18 d496ad576159: Verifying Checksum 18:00:18 d496ad576159: Download complete 18:00:18 c6b39de5b339: Pull complete 18:00:19 a69c41024577: Pull complete 18:00:19 d6de4b400683: Verifying Checksum 18:00:19 d6de4b400683: Download complete 18:00:20 00f215d4a9da: Verifying Checksum 18:00:20 00f215d4a9da: Download complete 18:00:33 d6de4b400683: Pull complete 18:00:33 35cb2a7552d0: Pull complete 18:00:33 4f4fb700ef54: Pull complete 18:00:33 464afbd9ba4c: Pull complete 18:00:37 Removing intermediate container 000c1322f334 18:00:37 ---> ea33ef4c0473 18:00:37 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 18:00:37 1.8.2: Pulling from bluenviron/mediamtx 18:00:37 8411072a22a5: Pulling fs layer 18:00:37 8411072a22a5: Verifying Checksum 18:00:37 8411072a22a5: Download complete 18:00:37 8411072a22a5: Pull complete 18:00:37 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 18:00:37 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 18:00:37 ---> 1ac78cb06e13 18:00:37 Step 15/37 : FROM alpine:3.18 18:00:37 3.18: Pulling from library/alpine 18:00:37 1cc3d825d8b2: Pulling fs layer 18:00:37 1cc3d825d8b2: Verifying Checksum 18:00:37 1cc3d825d8b2: Download complete 18:00:37 1cc3d825d8b2: Pull complete 18:00:37 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 18:00:37 Status: Downloaded newer image for alpine:3.18 18:00:37 ---> 2c64cf60f6f0 18:00:37 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:00:37 ---> Running in 9eac6dbc9859 18:00:37 Removing intermediate container 9eac6dbc9859 18:00:37 ---> 98be5ed8a9f8 18:00:37 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:00:37 ---> Running in 96f67d17ac0f 18:00:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:00:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:00:38 (1/107) Installing dumb-init (1.2.5-r2) 18:00:38 (2/107) Installing sdl2 (2.26.5-r0) 18:00:38 (3/107) Installing svt-av1-libs (1.6.0-r0) 18:00:38 (4/107) Installing aom-libs (3.6.1-r0) 18:00:38 (5/107) Installing libxau (1.0.11-r2) 18:00:38 (6/107) Installing libmd (1.0.4-r2) 18:00:38 (7/107) Installing libbsd (0.11.7-r1) 18:00:38 (8/107) Installing libxdmcp (1.1.4-r2) 18:00:38 (9/107) Installing libxcb (1.15-r1) 18:00:38 (10/107) Installing libx11 (1.8.7-r0) 18:00:38 (11/107) Installing hwdata-pci (0.370-r0) 18:00:38 (12/107) Installing libpciaccess (0.17-r2) 18:00:38 (13/107) Installing libdrm (2.4.115-r4) 18:00:38 (14/107) Installing libxext (1.3.5-r2) 18:00:38 (15/107) Installing libxfixes (6.0.1-r2) 18:00:38 (16/107) Installing libffi (3.4.4-r2) 18:00:38 (17/107) Installing wayland-libs-client (1.22.0-r2) 18:00:38 (18/107) Installing libva (2.18.0-r1) 18:00:38 (19/107) Installing libvdpau (1.5-r1) 18:00:38 (20/107) Installing libgcc (12.2.1_git20220924-r10) 18:00:38 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 18:00:38 (22/107) Installing onevpl-libs (2023.2.1-r0) 18:00:38 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 18:00:38 (24/107) Installing libdav1d (1.2.1-r0) 18:00:38 (25/107) Installing brotli-libs (1.0.9-r14) 18:00:38 (26/107) Installing libhwy (1.0.4-r1) 18:00:38 (27/107) Installing lcms2 (2.15-r2) 18:00:38 (28/107) Installing libjxl (0.8.2-r0) 18:00:38 (29/107) Installing lame-libs (3.100-r5) 18:00:38 (30/107) Installing opus (1.4-r0) 18:00:38 (31/107) Installing libgomp (12.2.1_git20220924-r10) 18:00:38 (32/107) Installing soxr (0.1.3-r5) 18:00:38 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 18:00:38 (34/107) Installing libogg (1.3.5-r4) 18:00:38 (35/107) Installing libtheora (1.1.1-r17) 18:00:38 (36/107) Installing libvorbis (1.3.7-r1) 18:00:38 (37/107) Installing libvpx (1.13.0-r2) 18:00:38 (38/107) Installing libwebp (1.3.2-r0) 18:00:38 (39/107) Installing x264-libs (0.164_git20220602-r1) 18:00:38 (40/107) Installing numactl (2.0.16-r4) 18:00:38 (41/107) Installing x265-libs (3.5-r4) 18:00:38 (42/107) Installing xvidcore (1.3.7-r1) 18:00:38 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 18:00:39 (44/107) Installing alsa-lib (1.2.9-r1) 18:00:39 (45/107) Installing libexpat (2.6.3-r0) 18:00:39 (46/107) Installing libbz2 (1.0.8-r5) 18:00:39 (47/107) Installing libpng (1.6.39-r3) 18:00:39 (48/107) Installing freetype (2.13.0-r5) 18:00:39 (49/107) Installing fontconfig (2.14.2-r3) 18:00:39 (50/107) Installing fribidi (1.0.13-r0) 18:00:39 (51/107) Installing libintl (0.21.1-r7) 18:00:39 (52/107) Installing libblkid (2.38.1-r8) 18:00:39 (53/107) Installing libmount (2.38.1-r8) 18:00:39 (54/107) Installing pcre2 (10.42-r1) 18:00:39 (55/107) Installing glib (2.76.6-r0) 18:00:39 (56/107) Installing graphite2 (1.3.14-r5) 18:00:39 (57/107) Installing harfbuzz (7.3.0-r0) 18:00:39 (58/107) Installing libunibreak (5.1-r0) 18:00:39 (59/107) Installing libass (0.17.1-r0) 18:00:39 (60/107) Installing libbluray (1.3.4-r0) 18:00:39 (61/107) Installing gmp (6.2.1-r3) 18:00:39 (62/107) Installing nettle (3.8.1-r2) 18:00:39 (63/107) Installing libunistring (1.1-r1) 18:00:39 (64/107) Installing libidn2 (2.3.4-r1) 18:00:39 (65/107) Installing p11-kit (0.24.1-r2) 18:00:39 (66/107) Installing libtasn1 (4.19.0-r1) 18:00:39 (67/107) Installing gnutls (3.8.4-r0) 18:00:39 (68/107) Installing mpg123-libs (1.31.3-r1) 18:00:39 (69/107) Installing libopenmpt (0.7.2-r0) 18:00:39 (70/107) Installing cjson (1.7.17-r0) 18:00:39 (71/107) Installing mbedtls (2.28.9-r0) 18:00:39 (72/107) Installing librist (0.2.7-r0) 18:00:39 (73/107) Installing libsrt (1.5.2-r0) 18:00:39 (74/107) Installing libssh (0.10.5-r0) 18:00:39 (75/107) Installing xz-libs (5.4.3-r0) 18:00:39 (76/107) Installing libxml2 (2.11.8-r0) 18:00:39 (77/107) Installing libsodium (1.0.18-r3) 18:00:39 (78/107) Installing libzmq (4.3.4-r4) 18:00:39 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 18:00:39 (80/107) Installing glslang-libs (1.3.243.0-r1) 18:00:39 (81/107) Installing spirv-tools (1.3.243.0-r1) 18:00:39 (82/107) Installing shaderc (2023.3-r1) 18:00:39 (83/107) Installing vulkan-loader (1.3.243.0-r1) 18:00:39 (84/107) Installing libplacebo (5.264.1-r1) 18:00:39 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 18:00:39 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 18:00:39 (87/107) Installing vidstab (1.1.1-r0) 18:00:39 (88/107) Installing zimg (3.0.5-r0) 18:00:39 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 18:00:39 (90/107) Installing libasyncns (0.8-r1) 18:00:39 (91/107) Installing dbus-libs (1.14.8-r0) 18:00:39 (92/107) Installing libltdl (2.4.7-r2) 18:00:39 (93/107) Installing orc (0.4.39-r0) 18:00:39 (94/107) Installing flac-libs (1.4.3-r0) 18:00:39 (95/107) Installing libsndfile (1.2.0-r2) 18:00:39 (96/107) Installing speexdsp (1.2.1-r1) 18:00:39 (97/107) Installing tdb-libs (1.4.8-r1) 18:00:39 (98/107) Installing libpulse (16.1-r10) 18:00:39 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 18:00:39 (100/107) Installing v4l-utils-libs (1.24.1-r0) 18:00:39 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 18:00:39 (102/107) Installing ffmpeg (6.0.1-r0) 18:00:39 (103/107) Installing udev-init-scripts (35-r1) 18:00:39 (104/107) Installing eudev-libs (3.2.11-r8) 18:00:39 (105/107) Installing zstd-libs (1.5.5-r4) 18:00:39 (106/107) Installing kmod-libs (30-r3) 18:00:39 (107/107) Installing eudev (3.2.11-r8) 18:00:39 Executing busybox-1.36.1-r7.trigger 18:00:39 Executing glib-2.76.6-r0.trigger 18:00:39 Executing eudev-3.2.11-r8.trigger 18:00:39 OK: 131 MiB in 122 packages 18:00:41 00f215d4a9da: Pull complete 18:00:42 d496ad576159: Pull complete 18:00:42 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 18:00:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:00:42 ---> f246e2811388 18:00:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:00:43 Removing intermediate container 96f67d17ac0f 18:00:43 ---> 0ceaf13d9352 18:00:43 Step 18/37 : RUN apk --no-cache upgrade 18:00:43 ---> Running in 1d0af6408144 18:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:00:43 OK: 131 MiB in 122 packages 18:00:43 Removing intermediate container 1d0af6408144 18:00:43 ---> b5115b755aab 18:00:43 Step 19/37 : WORKDIR / 18:00:43 ---> Running in e2403ee9ba50 18:00:44 Removing intermediate container e2403ee9ba50 18:00:44 ---> ebeaa5e9afad 18:00:44 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 18:00:44 ---> Running in 4295517ea7dd 18:00:44 Removing intermediate container 4295517ea7dd 18:00:44 ---> b401c00283d0 18:00:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:44 ---> Running in 12490865f1a8 18:00:46 ---> c42552e379cd 18:00:46 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 18:00:46 ---> 4c14f5f47124 18:00:46 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 18:00:46 ---> 324ee103bf52 18:00:46 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:00:46 ---> 4a03c7f92960 18:00:46 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:00:46 ---> c513f85885d9 18:00:46 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 18:00:46 ---> 392e1bd1a25a 18:00:46 Step 26/37 : COPY --from=rtsp /mediamtx / 18:00:46 Removing intermediate container 12490865f1a8 18:00:46 ---> bb6bbab124af 18:00:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:00:46 ---> Running in 805c869972cc 18:00:46 Removing intermediate container 805c869972cc 18:00:46 ---> 9deb534383a0 18:00:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:00:46 ---> Running in a6de3def4dbc 18:00:46 Removing intermediate container a6de3def4dbc 18:00:46 ---> 48f4e5d585cd 18:00:46 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:00:46 ---> Running in 4f3cf57a0473 18:00:51 ---> d23d48ddde58 18:00:51 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 18:00:51 ---> Running in af97fd1730d6 18:00:51 Removing intermediate container af97fd1730d6 18:00:51 ---> 0995d3c0078b 18:00:51 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 18:00:51 ---> Running in dd431b8f2ff0 18:00:51 Removing intermediate container dd431b8f2ff0 18:00:51 ---> 013984b4453e 18:00:51 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 18:00:51 ---> Running in fb04f5c7bc32 18:00:51 Removing intermediate container fb04f5c7bc32 18:00:51 ---> 9386e4185784 18:00:51 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 18:00:51 ---> Running in 5dc3831075c8 18:00:51 Removing intermediate container 5dc3831075c8 18:00:51 ---> df1b19a73032 18:00:51 Step 31/37 : EXPOSE 59983 18:00:51 ---> Running in c66cf0171d73 18:00:51 Removing intermediate container c66cf0171d73 18:00:51 ---> 974b92acb534 18:00:51 Step 32/37 : EXPOSE 8554 18:00:51 ---> Running in 4ee911edd6ea 18:00:51 Removing intermediate container 4ee911edd6ea 18:00:51 ---> fd05ca739118 18:00:51 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:00:51 ---> Running in cd4ee39ce119 18:00:51 Removing intermediate container cd4ee39ce119 18:00:51 ---> 95687ed9f455 18:00:51 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:00:51 ---> Running in 27eb1b19c591 18:00:51 Removing intermediate container 27eb1b19c591 18:00:51 ---> 3be409814ca8 18:00:51 Step 35/37 : LABEL arch=amd64 18:00:51 ---> Running in 06fb0f673f9e 18:00:51 Removing intermediate container 06fb0f673f9e 18:00:51 ---> ba200386ae24 18:00:51 Step 36/37 : LABEL git_sha=823647b5eaf199ab5a9a85cf88820b1c95fb2459 18:00:51 ---> Running in 1de68db503fe 18:00:51 Removing intermediate container 1de68db503fe 18:00:51 ---> 7f98e02d55b1 18:00:51 Step 37/37 : LABEL version=0.0.0 18:00:51 ---> Running in d09eb3ea8e19 18:00:51 Removing intermediate container d09eb3ea8e19 18:00:51 ---> fbe8680dfb0c 18:00:51 [Warning] One or more build-args [ARCH] were not consumed 18:00:51 Successfully built fbe8680dfb0c 18:00:51 Successfully tagged device-usb-camera:latest 18:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [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] } 18:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:52 18:00:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:53 latest: Pulling from edgex-lftools-log-publisher 18:00:53 5eb5b503b376: Pulling fs layer 18:00:53 5c69ac0246d0: Pulling fs layer 18:00:53 ec43610c2a17: Pulling fs layer 18:00:53 3a2ae6a8a46f: Pulling fs layer 18:00:53 33b1e0a273af: Pulling fs layer 18:00:53 5d3b04190fa2: Pulling fs layer 18:00:53 2f39f015ded8: Pulling fs layer 18:00:53 33b1e0a273af: Waiting 18:00:53 5d3b04190fa2: Waiting 18:00:53 2f39f015ded8: Waiting 18:00:53 3a2ae6a8a46f: Waiting 18:00:54 (1/13) Installing libintl (0.21.1-r7) 18:00:54 (2/13) Installing eudev-libs (3.2.11-r8) 18:00:54 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 18:00:54 (4/13) Installing v4l-utils-libs (1.24.1-r0) 18:00:54 (5/13) Installing v4l-utils (1.24.1-r0) 18:00:54 (6/13) Installing libdvbv5 (1.24.1-r0) 18:00:54 (7/13) Installing udev-init-scripts (35-r1) 18:00:54 (8/13) Installing libblkid (2.38.1-r8) 18:00:54 (9/13) Installing xz-libs (5.4.3-r0) 18:00:54 (10/13) Installing kmod-libs (30-r3) 18:00:54 (11/13) Installing eudev (3.2.11-r8) 18:00:54 (12/13) Installing eudev-dev (3.2.11-r8) 18:00:54 (13/13) Installing v4l-utils-dev (1.24.1-r0) 18:00:54 Executing busybox-1.36.1-r5.trigger 18:00:54 Executing eudev-3.2.11-r8.trigger 18:00:54 OK: 273 MiB in 65 packages 18:00:55 5c69ac0246d0: Verifying Checksum 18:00:55 5c69ac0246d0: Download complete 18:00:55 Removing intermediate container 4f3cf57a0473 18:00:55 ---> 4a7dedc21a6f 18:00:55 Step 8/13 : WORKDIR /device-usb-camera 18:00:55 ---> Running in e4442899c495 18:00:55 Removing intermediate container e4442899c495 18:00:55 ---> 18bf98702512 18:00:55 Step 9/13 : COPY go.mod vendor* ./ 18:00:55 ---> dcfcd8d7502f 18:00:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:55 ---> Running in eb39452849ee 18:00:56 3a2ae6a8a46f: Download complete 18:00:56 33b1e0a273af: Download complete 18:00:56 5d3b04190fa2: Verifying Checksum 18:00:56 5d3b04190fa2: Download complete 18:00:56 ec43610c2a17: Verifying Checksum 18:00:56 ec43610c2a17: Download complete 18:00:56 5eb5b503b376: Verifying Checksum 18:00:56 5eb5b503b376: Download complete 18:00:56 2f39f015ded8: Download complete 18:00:57 5eb5b503b376: Pull complete 18:00:57 5c69ac0246d0: Pull complete 18:00:57 ec43610c2a17: Pull complete 18:00:57 3a2ae6a8a46f: Pull complete 18:00:58 33b1e0a273af: Pull complete 18:00:58 5d3b04190fa2: Pull complete 18:01:02 2f39f015ded8: Pull complete 18:01:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:02 prd-ubuntu20.04-docker-8c-8g-9894 does not seem to be running inside a container 18:01:02 $ 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-348 -v /w/workspace/foundry_device-usb-camera_PR-348:/w/workspace/foundry_device-usb-camera_PR-348:rw,z -v /w/workspace/foundry_device-usb-camera_PR-348@tmp:/w/workspace/foundry_device-usb-camera_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:01:07 $ docker top 99aadadac21785eee4d3a5db11cd963c52504138f2c26423bbcd92e50a8239b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:07 ---> job-cost.sh 18:01:07 lf-activate-venv: SKIPPING 18:01:07 INFO: No Stack... 18:01:07 INFO: Retrieving Pricing Info for: v3-standard-8 18:01:08 INFO: Archiving Costs [Pipeline] sh 18:01:08 + cut -d, -f6 18:01:08 + cat /w/workspace/foundry_device-usb-camera_PR-348/archives/cost.csv [Pipeline] lock 18:01:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] 18:01:08 Resource [jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] did not exist. Created. 18:01:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:01:09 + echo total: 0.2199999988079071 [Pipeline] stash 18:01:09 Stashed 1 file(s) [Pipeline] } 18:01:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:01:09 $ docker stop --time=1 99aadadac21785eee4d3a5db11cd963c52504138f2c26423bbcd92e50a8239b1 18:01:10 $ docker rm -f --volumes 99aadadac21785eee4d3a5db11cd963c52504138f2c26423bbcd92e50a8239b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:02:47 Removing intermediate container eb39452849ee 18:02:47 ---> 5706169ccc7c 18:02:47 Step 11/13 : COPY . . 18:02:47 ---> df3b2dc8f717 18:02:47 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 18:02:47 ---> Running in fb9e025d6604 18:02:47  % Total % Received % Xferd Average Speed Time Time Time Current 18:02:47 Dload Upload Total Spent Left Speed 18:02:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8255 0 --:--:-- --:--:-- --:--:-- 8362 18:02:47 Removing intermediate container fb9e025d6604 18:02:47 ---> de629748c739 18:02:47 Step 13/13 : RUN ${MAKE} 18:02:47 ---> Running in d0fdb35f477f 18:02:48 noop 18:02:48 Removing intermediate container d0fdb35f477f 18:02:48 ---> 5a7db1985bb1 18:02:48 Successfully built 5a7db1985bb1 18:02:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:49 + docker inspect -f . ci-base-image-arm64 18:02:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:49 prd-ubuntu20.04-docker-arm64-4c-16g-9895 does not seem to be running inside a container 18:02:49 $ 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 ******** ci-base-image-arm64 cat 18:02:50 $ docker top 9d2c4a7003d557f28169b09ad6dc7feacab7eab602a7ef8af5a79bad256b2eba -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:51 + go version 18:02:51 go version go1.21.9 linux/arm64 [Pipeline] } 18:02:51 $ docker stop --time=1 9d2c4a7003d557f28169b09ad6dc7feacab7eab602a7ef8af5a79bad256b2eba 18:02:53 $ docker rm -f --volumes 9d2c4a7003d557f28169b09ad6dc7feacab7eab602a7ef8af5a79bad256b2eba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:54 + docker inspect -f . ci-base-image-arm64 18:02:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:54 prd-ubuntu20.04-docker-arm64-4c-16g-9895 does not seem to be running inside a container 18:02:54 $ 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 ******** ci-base-image-arm64 cat 18:02:55 $ docker top 3aff2bebfed1188d02b9ff2db01f004c4cd21ce4acdd68080fd0188166ac88a0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:56 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 18:02:56 + make test 18:02:56 go test ./... -coverprofile=coverage.out ./... 18:03:03 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:06:55 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:06:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.062s coverage: 4.4% of statements 18:06:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:06:55 go vet ./... 18:07:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:07:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:07:42 ./bin/test-attribution-txt.sh 18:07:42 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:07:42 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:07:42 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:07:42 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:07:42 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:07:42 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:07:42 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:07:42 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:07:42 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:07:42 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 18:07:42 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:07:42 $ docker stop --time=1 3aff2bebfed1188d02b9ff2db01f004c4cd21ce4acdd68080fd0188166ac88a0 18:07:44 $ docker rm -f --volumes 3aff2bebfed1188d02b9ff2db01f004c4cd21ce4acdd68080fd0188166ac88a0 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:45 Warning: overwriting stash ‘coverage-report’ 18:07:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:47 + ls -al . 18:07:47 total 288 18:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:03 . 18:07:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 17:59 .. 18:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 17:59 .git 18:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 17:59 .github 18:07:47 -rw-rw-r-- 1 jenkins jenkins 379 Sep 9 17:59 .gitignore 18:07:47 -rw-rw-r-- 1 jenkins jenkins 45 Sep 9 17:59 .golangci.yml 18:07:47 -rw-rw-r-- 1 jenkins jenkins 77 Sep 9 17:59 .hadolint.yml 18:07:47 -rw-rw-r-- 1 jenkins jenkins 10870 Sep 9 17:59 Attribution.txt 18:07:47 -rw-rw-r-- 1 jenkins jenkins 16561 Sep 9 17:59 CHANGELOG.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 9 17:59 Dockerfile 18:07:47 -rw-rw-r-- 1 jenkins jenkins 678 Sep 9 17:59 GOVERNANCE.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 659 Sep 9 17:59 Jenkinsfile 18:07:47 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 9 17:59 LICENSE 18:07:47 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 9 17:59 Makefile 18:07:47 -rw-rw-r-- 1 jenkins jenkins 622 Sep 9 17:59 OWNERS.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 9 17:59 README.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 17:57 VERSION 18:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 17:59 bin 18:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 17:59 cmd 18:07:47 -rw-r--r-- 1 jenkins jenkins 54703 Sep 9 18:06 coverage.out 18:07:47 -rwxrwxr-x 1 jenkins jenkins 84 Sep 9 17:59 docker-entrypoint.sh 18:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 17:59 docs 18:07:47 -rw-rw-r-- 1 jenkins jenkins 7211 Sep 9 17:59 go.mod 18:07:47 -rw-rw-r-- 1 jenkins jenkins 102023 Sep 9 17:59 go.sum 18:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 17:59 internal 18:07:47 -rw-rw-r-- 1 jenkins jenkins 231 Sep 9 17:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:47 + 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=823647b5eaf199ab5a9a85cf88820b1c95fb2459 --label arch=arm64 --label version=0.0.0 . 18:07:48 Sending build context to Docker daemon 10.56MB 18:07:48 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 18:07:48 Step 2/37 : FROM ${BASE} AS builder 18:07:48 ---> 5a7db1985bb1 18:07:48 Step 3/37 : ARG ADD_BUILD_TAGS="" 18:07:48 ---> Running in c6b73dfd41ec 18:07:48 Removing intermediate container c6b73dfd41ec 18:07:48 ---> 23e189a19777 18:07:48 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:07:48 ---> Running in 7a64ad9ff50f 18:07:49 Removing intermediate container 7a64ad9ff50f 18:07:49 ---> eb3cae3997c4 18:07:49 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:07:49 ---> Running in 39790ba6d23d 18:07:49 Removing intermediate container 39790ba6d23d 18:07:49 ---> 21b4a3049e58 18:07:49 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:07:49 ---> Running in 94e7fcd0cba9 18:07:49 Removing intermediate container 94e7fcd0cba9 18:07:49 ---> 9e1de6a280d1 18:07:49 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:49 ---> Running in 50450ff4553e 18:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:07:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:07:52 OK: 273 MiB in 65 packages 18:07:53 Removing intermediate container 50450ff4553e 18:07:53 ---> 12f825a85f68 18:07:53 Step 8/37 : WORKDIR /device-usb-camera 18:07:53 ---> Running in 265a5c4be546 18:07:53 Removing intermediate container 265a5c4be546 18:07:53 ---> c983285783b0 18:07:53 Step 9/37 : COPY go.mod vendor* ./ 18:07:54 ---> 5d6d4ac33434 18:07:54 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:54 ---> Running in db18803f9e5d 18:07:56 Removing intermediate container db18803f9e5d 18:07:56 ---> 4000140ac57b 18:07:56 Step 11/37 : COPY . . 18:07:57 ---> d01e50b88339 18:07:57 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 18:07:57 ---> Running in e226240318a5 18:07:58  % Total  % Received % Xferd Average Speed Time Time Time Current 18:07:58  Dload Upload Total Spent Left Speed 18:07:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4780 0 --:--:-- --:--:-- --:--:-- 4783 18:07:59 Removing intermediate container e226240318a5 18:07:59 ---> 0854913d29ba 18:07:59 Step 13/37 : RUN ${MAKE} 18:07:59 ---> Running in 4b4ee76015e7 18:08:00 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.37" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:11:52 Removing intermediate container 4b4ee76015e7 18:11:52 ---> 98f02ba85f3b 18:11:52 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 18:11:52 1.8.2: Pulling from bluenviron/mediamtx 18:11:52 da4d7e05a7aa: Pulling fs layer 18:11:52 da4d7e05a7aa: Verifying Checksum 18:11:52 da4d7e05a7aa: Download complete 18:11:52 da4d7e05a7aa: Pull complete 18:11:52 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 18:11:52 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 18:11:52 ---> 62c65ed7ef0d 18:11:52 Step 15/37 : FROM alpine:3.18 18:11:52 3.18: Pulling from library/alpine 18:11:52 720f3032cd11: Pulling fs layer 18:11:52 720f3032cd11: Download complete 18:11:52 720f3032cd11: Pull complete 18:11:52 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 18:11:52 Status: Downloaded newer image for alpine:3.18 18:11:52 ---> 3e834921e367 18:11:52 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:11:52 ---> Running in a85c683b6188 18:11:52 Removing intermediate container a85c683b6188 18:11:52 ---> 7fa00dccae9a 18:11:52 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:11:52 ---> Running in f492c1fca4a1 18:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:11:52 (1/104) Installing dumb-init (1.2.5-r2) 18:11:52 (2/104) Installing sdl2 (2.26.5-r0) 18:11:52 (3/104) Installing svt-av1-libs (1.6.0-r0) 18:11:52 (4/104) Installing aom-libs (3.6.1-r0) 18:11:52 (5/104) Installing libxau (1.0.11-r2) 18:11:52 (6/104) Installing libmd (1.0.4-r2) 18:11:52 (7/104) Installing libbsd (0.11.7-r1) 18:11:52 (8/104) Installing libxdmcp (1.1.4-r2) 18:11:52 (9/104) Installing libxcb (1.15-r1) 18:11:52 (10/104) Installing libx11 (1.8.7-r0) 18:11:52 (11/104) Installing libdrm (2.4.115-r4) 18:11:52 (12/104) Installing libxext (1.3.5-r2) 18:11:52 (13/104) Installing libxfixes (6.0.1-r2) 18:11:52 (14/104) Installing libffi (3.4.4-r2) 18:11:52 (15/104) Installing wayland-libs-client (1.22.0-r2) 18:11:52 (16/104) Installing libva (2.18.0-r1) 18:11:52 (17/104) Installing libvdpau (1.5-r1) 18:11:52 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 18:11:52 (19/104) Installing libdav1d (1.2.1-r0) 18:11:52 (20/104) Installing brotli-libs (1.0.9-r14) 18:11:52 (21/104) Installing libgcc (12.2.1_git20220924-r10) 18:11:52 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 18:11:52 (23/104) Installing libhwy (1.0.4-r1) 18:11:52 (24/104) Installing lcms2 (2.15-r2) 18:11:52 (25/104) Installing libjxl (0.8.2-r0) 18:11:52 (26/104) Installing lame-libs (3.100-r5) 18:11:52 (27/104) Installing opus (1.4-r0) 18:11:52 (28/104) Installing libgomp (12.2.1_git20220924-r10) 18:11:52 (29/104) Installing soxr (0.1.3-r5) 18:11:52 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 18:11:52 (31/104) Installing libogg (1.3.5-r4) 18:11:52 (32/104) Installing libtheora (1.1.1-r17) 18:11:52 (33/104) Installing libvorbis (1.3.7-r1) 18:11:52 (34/104) Installing libvpx (1.13.0-r2) 18:11:52 (35/104) Installing libwebp (1.3.2-r0) 18:11:52 (36/104) Installing x264-libs (0.164_git20220602-r1) 18:11:52 (37/104) Installing numactl (2.0.16-r4) 18:11:52 (38/104) Installing x265-libs (3.5-r4) 18:11:52 (39/104) Installing xvidcore (1.3.7-r1) 18:11:52 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 18:11:52 (41/104) Installing alsa-lib (1.2.9-r1) 18:11:52 (42/104) Installing libexpat (2.6.3-r0) 18:11:52 (43/104) Installing libbz2 (1.0.8-r5) 18:11:52 (44/104) Installing libpng (1.6.39-r3) 18:11:52 (45/104) Installing freetype (2.13.0-r5) 18:11:52 (46/104) Installing fontconfig (2.14.2-r3) 18:11:52 (47/104) Installing fribidi (1.0.13-r0) 18:11:52 (48/104) Installing libintl (0.21.1-r7) 18:11:52 (49/104) Installing libblkid (2.38.1-r8) 18:11:52 (50/104) Installing libmount (2.38.1-r8) 18:11:52 (51/104) Installing pcre2 (10.42-r1) 18:11:52 (52/104) Installing glib (2.76.6-r0) 18:11:52 (53/104) Installing graphite2 (1.3.14-r5) 18:11:52 (54/104) Installing harfbuzz (7.3.0-r0) 18:11:52 (55/104) Installing libunibreak (5.1-r0) 18:11:52 (56/104) Installing libass (0.17.1-r0) 18:11:52 (57/104) Installing libbluray (1.3.4-r0) 18:11:52 (58/104) Installing gmp (6.2.1-r3) 18:11:52 (59/104) Installing nettle (3.8.1-r2) 18:11:52 (60/104) Installing libunistring (1.1-r1) 18:11:52 (61/104) Installing libidn2 (2.3.4-r1) 18:11:52 (62/104) Installing p11-kit (0.24.1-r2) 18:11:52 (63/104) Installing libtasn1 (4.19.0-r1) 18:11:52 (64/104) Installing gnutls (3.8.4-r0) 18:11:52 (65/104) Installing mpg123-libs (1.31.3-r1) 18:11:52 (66/104) Installing libopenmpt (0.7.2-r0) 18:11:52 (67/104) Installing cjson (1.7.17-r0) 18:11:52 (68/104) Installing mbedtls (2.28.9-r0) 18:11:52 (69/104) Installing librist (0.2.7-r0) 18:11:52 (70/104) Installing libsrt (1.5.2-r0) 18:11:52 (71/104) Installing libssh (0.10.5-r0) 18:11:52 (72/104) Installing xz-libs (5.4.3-r0) 18:11:52 (73/104) Installing libxml2 (2.11.8-r0) 18:11:52 (74/104) Installing libsodium (1.0.18-r3) 18:11:52 (75/104) Installing libzmq (4.3.4-r4) 18:11:52 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 18:11:52 (77/104) Installing glslang-libs (1.3.243.0-r1) 18:11:52 (78/104) Installing spirv-tools (1.3.243.0-r1) 18:11:52 (79/104) Installing shaderc (2023.3-r1) 18:11:52 (80/104) Installing vulkan-loader (1.3.243.0-r1) 18:11:52 (81/104) Installing libplacebo (5.264.1-r1) 18:11:52 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 18:11:52 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 18:11:52 (84/104) Installing vidstab (1.1.1-r0) 18:11:52 (85/104) Installing zimg (3.0.5-r0) 18:11:52 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 18:11:52 (87/104) Installing libasyncns (0.8-r1) 18:11:52 (88/104) Installing dbus-libs (1.14.8-r0) 18:11:52 (89/104) Installing libltdl (2.4.7-r2) 18:11:52 (90/104) Installing orc (0.4.39-r0) 18:11:52 (91/104) Installing flac-libs (1.4.3-r0) 18:11:52 (92/104) Installing libsndfile (1.2.0-r2) 18:11:52 (93/104) Installing speexdsp (1.2.1-r1) 18:11:52 (94/104) Installing tdb-libs (1.4.8-r1) 18:11:52 (95/104) Installing libpulse (16.1-r10) 18:11:52 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 18:11:52 (97/104) Installing v4l-utils-libs (1.24.1-r0) 18:11:52 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 18:11:52 (99/104) Installing ffmpeg (6.0.1-r0) 18:11:52 (100/104) Installing udev-init-scripts (35-r1) 18:11:52 (101/104) Installing eudev-libs (3.2.11-r8) 18:11:52 (102/104) Installing zstd-libs (1.5.5-r4) 18:11:52 (103/104) Installing kmod-libs (30-r3) 18:11:52 (104/104) Installing eudev (3.2.11-r8) 18:11:52 Executing busybox-1.36.1-r7.trigger 18:11:52 Executing glib-2.76.6-r0.trigger 18:11:52 Executing eudev-3.2.11-r8.trigger 18:11:52 OK: 110 MiB in 119 packages 18:11:54 Removing intermediate container f492c1fca4a1 18:11:54 ---> fb11a76d2e03 18:11:54 Step 18/37 : RUN apk --no-cache upgrade 18:11:54 ---> Running in c8cd689aa2f7 18:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:11:56 OK: 110 MiB in 119 packages 18:11:57 Removing intermediate container c8cd689aa2f7 18:11:57 ---> 0153d38b755a 18:11:57 Step 19/37 : WORKDIR / 18:11:57 ---> Running in 104eed32947d 18:11:57 Removing intermediate container 104eed32947d 18:11:57 ---> bcef963a935e 18:11:57 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 18:12:00 ---> 14bef9c31f28 18:12:00 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 18:12:00 ---> 69802a1e7a4f 18:12:00 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 18:12:01 ---> 37867c0d2bfb 18:12:01 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:12:01 ---> cffd6bb3e7a2 18:12:01 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:12:02 ---> d9381edf2410 18:12:02 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 18:12:02 ---> 71f17185d8d7 18:12:02 Step 26/37 : COPY --from=rtsp /mediamtx / 18:12:04 ---> a47e3059cd3b 18:12:04 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 18:12:04 ---> Running in d8bf5ee3f6df 18:12:06 Removing intermediate container d8bf5ee3f6df 18:12:06 ---> 373fc6d25533 18:12:06 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 18:12:06 ---> Running in 452c3e5cc2d0 18:12:08 Removing intermediate container 452c3e5cc2d0 18:12:08 ---> f2c509564fc1 18:12:08 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 18:12:08 ---> Running in ab458361399e 18:12:10 Removing intermediate container ab458361399e 18:12:10 ---> f20c1feb44a6 18:12:10 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 18:12:10 ---> Running in 57373d68b308 18:12:11 Removing intermediate container 57373d68b308 18:12:11 ---> 9a9c35c08770 18:12:11 Step 31/37 : EXPOSE 59983 18:12:11 ---> Running in 7f8586955e83 18:12:11 Removing intermediate container 7f8586955e83 18:12:11 ---> b265668fa5ab 18:12:11 Step 32/37 : EXPOSE 8554 18:12:11 ---> Running in df0567b6fe1b 18:12:12 Removing intermediate container df0567b6fe1b 18:12:12 ---> 93207e92d822 18:12:12 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:12:12 ---> Running in 9f7e10929820 18:12:12 Removing intermediate container 9f7e10929820 18:12:12 ---> 208b9cd1fccc 18:12:12 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:12:12 ---> Running in 4933248f6bcf 18:12:13 Removing intermediate container 4933248f6bcf 18:12:13 ---> 6d58714864a7 18:12:13 Step 35/37 : LABEL arch=arm64 18:12:13 ---> Running in f9e68329580e 18:12:13 Removing intermediate container f9e68329580e 18:12:13 ---> 59b1fde9221b 18:12:13 Step 36/37 : LABEL git_sha=823647b5eaf199ab5a9a85cf88820b1c95fb2459 18:12:13 ---> Running in 728aea38e69b 18:12:13 Removing intermediate container 728aea38e69b 18:12:13 ---> 50ec579c45e4 18:12:13 Step 37/37 : LABEL version=0.0.0 18:12:13 ---> Running in 5b2a388c03cd 18:12:13 Removing intermediate container 5b2a388c03cd 18:12:13 ---> afa9920be184 18:12:13 [Warning] One or more build-args [ARCH] were not consumed 18:12:13 Successfully built afa9920be184 18:12:13 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:12:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:14 18:12:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:15 arm64: Pulling from edgex-lftools-log-publisher 18:12:15 8998bd30e6a1: Pulling fs layer 18:12:15 04944245beec: Pulling fs layer 18:12:15 699f458cf7ca: Pulling fs layer 18:12:15 765212b225bb: Pulling fs layer 18:12:15 f23df028b6ca: Pulling fs layer 18:12:15 d65c8cfc05b1: Pulling fs layer 18:12:15 2437ff75d9bd: Pulling fs layer 18:12:15 765212b225bb: Waiting 18:12:15 f23df028b6ca: Waiting 18:12:15 d65c8cfc05b1: Waiting 18:12:15 2437ff75d9bd: Waiting 18:12:15 04944245beec: Verifying Checksum 18:12:15 04944245beec: Download complete 18:12:15 765212b225bb: Verifying Checksum 18:12:15 765212b225bb: Download complete 18:12:15 f23df028b6ca: Verifying Checksum 18:12:15 f23df028b6ca: Download complete 18:12:15 d65c8cfc05b1: Verifying Checksum 18:12:15 d65c8cfc05b1: Download complete 18:12:15 699f458cf7ca: Verifying Checksum 18:12:15 699f458cf7ca: Download complete 18:12:16 8998bd30e6a1: Verifying Checksum 18:12:16 8998bd30e6a1: Download complete 18:12:18 2437ff75d9bd: Verifying Checksum 18:12:18 2437ff75d9bd: Download complete 18:12:20 8998bd30e6a1: Pull complete 18:12:21 04944245beec: Pull complete 18:12:22 699f458cf7ca: Pull complete 18:12:22 765212b225bb: Pull complete 18:12:23 f23df028b6ca: Pull complete 18:12:23 d65c8cfc05b1: Pull complete 18:12:42 2437ff75d9bd: Pull complete 18:12:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:12:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:42 prd-ubuntu20.04-docker-arm64-4c-16g-9895 does not seem to be running inside a container 18:12:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:12:44 $ docker top 280e9e5258895d0b842dfea52db8dae2a580508caf3cb5676d0f38188046490a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:45 ---> job-cost.sh 18:12:45 lf-activate-venv: SKIPPING 18:12:45 INFO: No Stack... 18:12:46 INFO: Retrieving Pricing Info for: v3-standard-4 18:12:47 INFO: Archiving Costs [Pipeline] sh 18:12:47 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:12:47 + cut -d, -f6 [Pipeline] lock 18:12:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] 18:12:47 Resource [jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] did not exist. Created. 18:12:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:12:48 /w/workspace/device-usb-camera/1@tmp/durable-472afda7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:12:49 + echo total: 0.10999999940395355 [Pipeline] stash 18:12:49 Warning: overwriting stash ‘stack-cost’ 18:12:49 Stashed 1 file(s) [Pipeline] } 18:12:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:12:49 $ docker stop --time=1 280e9e5258895d0b842dfea52db8dae2a580508caf3cb5676d0f38188046490a 18:12:51 $ docker rm -f --volumes 280e9e5258895d0b842dfea52db8dae2a580508caf3cb5676d0f38188046490a [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:12:52 provisioning config files... 18:12:52 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-348@tmp/config10460352772548511916tmp [Pipeline] { [Pipeline] sh 18:12:53 + set +x 18:12:53 + curl -s https://codecov.io/bash 18:12:53 + bash -s -- 18:12:53 18:12:53 _____ _ 18:12:53 / ____| | | 18:12:53 | | ___ __| | ___ ___ _____ __ 18:12:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:12:53 | |___| (_) | (_| | __/ (_| (_) \ V / 18:12:53 \_____\___/ \__,_|\___|\___\___/ \_/ 18:12:53 Bash-1.0.6 18:12:53 18:12:53 18:12:53 ==> git version 2.25.1 found 18:12:53 ==> 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:12:53 Release-Date: 2020-01-08 18:12:53 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:12:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:12:53 ==> Jenkins CI detected. 18:12:53 current dir:  /w/workspace/foundry_device-usb-camera_PR-348 18:12:53 project root: . 18:12:53 --> token set from env 18:12:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:12:53 ==> Running gcov in . (disable via -X gcov) 18:12:53 ==> Python coveragepy not found 18:12:53 ==> Searching for coverage reports in: 18:12:53 + . 18:12:53 -> Found 1 reports 18:12:53 ==> Detecting git/mercurial file structure 18:12:53 ==> Reading reports 18:12:53 + ./coverage.out bytes=54703 18:12:53 ==> Appending adjustments 18:12:53 https://docs.codecov.io/docs/fixing-reports 18:12:53 + Found adjustments 18:12:53 ==> Gzipping contents 18:12:53 8.0K /tmp/codecov.SSXEft.gz 18:12:53 ==> Uploading reports 18:12:53 url: https://codecov.io 18:12:53 query: branch=PR-348&commit=823647b5eaf199ab5a9a85cf88820b1c95fb2459&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=348&job=&cmd_args= 18:12:53 -> Pinging Codecov 18:12:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-348&commit=823647b5eaf199ab5a9a85cf88820b1c95fb2459&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=348&job=&cmd_args= 18:12:54 -> Uploading to 18:12:54 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/73D8F5FF140700D3E01443B452E23636/823647b5eaf199ab5a9a85cf88820b1c95fb2459/2314784b-b9ae-472d-8472-83f4c49c9317.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T181253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3548595656a65b62c089ad64e310f2bf82db063610e163a1e0988ec35465c4a7 18:12:54 % Total % Received % Xferd Average Speed Time Time Time Current 18:12:54 Dload Upload Total Spent Left Speed 18:12:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 21881 --:--:-- --:--:-- --:--:-- 21881 18:12:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/823647b5eaf199ab5a9a85cf88820b1c95fb2459 [Pipeline] } 18:12:54 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:12:57 + [ -d /w/workspace/foundry_device-usb-camera_PR-348/archives ] 18:12:57 + ls -al /w/workspace/foundry_device-usb-camera_PR-348/archives 18:12:57 total 16 18:12:57 drwxr-xr-x 3 root root 4096 Sep 9 18:01 . 18:12:57 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 18:01 .. 18:12:57 drwxr-xr-x 2 root root 4096 Sep 9 18:01 cost 18:12:57 -rw-r--r-- 1 root root 89 Sep 9 18:01 cost.csv 18:12:57 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-348/archives 18:12:57 + ls -al /w/workspace/foundry_device-usb-camera_PR-348/archives 18:12:57 total 16 18:12:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 18:01 . 18:12:57 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 18:01 .. 18:12:57 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 18:01 cost 18:12:57 -rw-r--r-- 1 jenkins jenkins 89 Sep 9 18:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:12:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:12:58 ---> package-listing.sh 18:12:58 ++ facter osfamily 18:12:58 ++ tr '[:upper:]' '[:lower:]' 18:12:58 + OS_FAMILY=debian 18:12:58 + workspace=/w/workspace/foundry_device-usb-camera_PR-348 18:12:58 + START_PACKAGES=/tmp/packages_start.txt 18:12:58 + END_PACKAGES=/tmp/packages_end.txt 18:12:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:12:58 + PACKAGES=/tmp/packages_start.txt 18:12:58 + '[' /w/workspace/foundry_device-usb-camera_PR-348 ']' 18:12:58 + PACKAGES=/tmp/packages_end.txt 18:12:58 + case "${OS_FAMILY}" in 18:12:58 + dpkg -l 18:12:58 + grep '^ii' 18:12:58 + '[' -f /tmp/packages_start.txt ']' 18:12:58 + '[' -f /tmp/packages_end.txt ']' 18:12:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:12:58 + '[' /w/workspace/foundry_device-usb-camera_PR-348 ']' 18:12:58 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-348/archives/ 18:12:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-348/archives/ [Pipeline] echo 18:12:58 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-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:12:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:12:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:00 prd-ubuntu20.04-docker-8c-8g-9894 does not seem to be running inside a container 18:13:00 $ 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-348/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-348 -v /w/workspace/foundry_device-usb-camera_PR-348:/w/workspace/foundry_device-usb-camera_PR-348:rw,z -v /w/workspace/foundry_device-usb-camera_PR-348@tmp:/w/workspace/foundry_device-usb-camera_PR-348@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:13:00 $ docker top f4076f21ebaafe37c33b12f02836d6400d064faa26bdda633fd1d84705af0580 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:00 + touch /tmp/pre-build-complete [Pipeline] sh 18:13:01 + mkdir -p /var/log/sysstat [Pipeline] sh 18:13:01 + ls /var/log/sa-host 18:13:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:01 provisioning config files... 18:13:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-348@tmp/config16984471265946603405tmp [Pipeline] { [Pipeline] echo 18:13:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:13:02 ---> create-netrc.sh [Pipeline] } 18:13:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:13:02 ---> python-tools-install.sh [Pipeline] echo 18:13:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:13:03 ---> sudo-logs.sh 18:13:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:13:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:13:03 ---> job-cost.sh 18:13:03 lf-activate-venv: SKIPPING 18:13:03 DEBUG: total: 0.2199999988079071 18:13:03 INFO: Retrieving Stack Cost... 18:13:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:13:04 INFO: Archiving Costs [Pipeline] echo 18:13:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:13:04 ---> logs-deploy.sh 18:13:04 lf-activate-venv: SKIPPING 18:13:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-348/1 18:13:04 INFO: archiving workspace using pattern(s): 18:13:05 Archives upload complete. 18:13:05 INFO: archiving logs to Nexus