Pull request #345 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4dd745f784fab0c87dffb895a6218d511c5d5d0b+e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 (a86ba18cc9332d5cec746692a6ca692f10ec0eb1) 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-ssh11777588111182084675.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17189757774738892879.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 590556114a56c6d90cc8043840e039c2f74196dc 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-345/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-345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4996063186255689384.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-345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9618832989307982663.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh15058020527559052377.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-345/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-345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9469582571025483441.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 590556114a56c6d90cc8043840e039c2f74196dc 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-8406 in /w/workspace/foundry_device-usb-camera_PR-345 [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-345 # 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/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 into PR head commit 4dd745f784fab0c87dffb895a6218d511c5d5d0b Merge succeeded, producing 4dd745f784fab0c87dffb895a6218d511c5d5d0b Checking out Revision 4dd745f784fab0c87dffb895a6218d511c5d5d0b (PR-345) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 4dd745f784fab0c87dffb895a6218d511c5d5d0b # 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 4dd745f784fab0c87dffb895a6218d511c5d5d0b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:09:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:09:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:09:19 ========================================================= 17:09:19 EdgeX Global Pipelines Version Info 17:09:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:09:20 ------------------- 17:09:20 stable info: 17:09:20 ------------------- 17:09:20 Commited By: Ginny Guan ginny@iotechsys.com 17:09:20 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 17:09:20 Message: update stable to v1.0.260 17:09:20 ------------------- 17:09:20 experimental info: 17:09:20 ------------------- 17:09:20 Commited By: Ginny Guan ginny@iotechsys.com 17:09:20 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 17:09:20 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:09:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:09:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:09:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:09:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:09:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-345 [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-345 [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-345 [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4dd745f784fab0c87dffb895a6218d511c5d5d0b [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4dd745f [Pipeline] echo 17:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:22 provisioning config files... 17:09:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-345@tmp/config16369960268068337944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:23 ---> ****-login.sh 17:09:23 nexus3.edgexfoundry.org:10001 17:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:23 Configure a credential helper to remove this warning. See 17:09:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:23 17:09:23 Login Succeeded 17:09:23 nexus3.edgexfoundry.org:10002 17:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:23 Configure a credential helper to remove this warning. See 17:09:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:23 17:09:23 Login Succeeded 17:09:23 nexus3.edgexfoundry.org:10003 17:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:23 Configure a credential helper to remove this warning. See 17:09:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:23 17:09:23 Login Succeeded 17:09:23 nexus3.edgexfoundry.org:10004 17:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:24 Configure a credential helper to remove this warning. See 17:09:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:24 17:09:24 Login Succeeded 17:09:24 ****.io 17:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:24 Configure a credential helper to remove this warning. See 17:09:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:24 17:09:24 Login Succeeded 17:09:24 ---> ****-login.sh ends [Pipeline] } 17:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:09:25 + git rev-list -1 --merges 4dd745f784fab0c87dffb895a6218d511c5d5d0b~1..4dd745f784fab0c87dffb895a6218d511c5d5d0b [Pipeline] echo 17:09:25 -----------> git rev-list -1 --merges 4dd745f784fab0c87dffb895a6218d511c5d5d0b~1..4dd745f784fab0c87dffb895a6218d511c5d5d0b 4dd745f784fab0c87dffb895a6218d511c5d5d0b [false] [Pipeline] sh 17:09:25 + git log --format=format:%s -1 4dd745f784fab0c87dffb895a6218d511c5d5d0b [Pipeline] echo 17:09:25 ========================================================= 17:09:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:09:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:25 + git log --format=format:%s -1 4dd745f784fab0c87dffb895a6218d511c5d5d0b [Pipeline] echo 17:09:26 [semverPrep] GIT_COMMIT: 4dd745f784fab0c87dffb895a6218d511c5d5d0b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:09:26 [semverPrep] This is not a build commit. [Pipeline] sh 17:09:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:09:26 + grep -v github /etc/ssh/ssh_known_hosts 17:09:26 + [ -e /tmp/ssh_known_hosts ] 17:09:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:09:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:09:26 + sudo tee -a /etc/ssh/ssh_known_hosts 17:09:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:26 17:09:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:27 0.1.4: Pulling from edgex-devops/py-git-semver 17:09:27 b85a868b505f: Pulling fs layer 17:09:27 e2be974225ed: Pulling fs layer 17:09:27 339a4e72a1f5: Pulling fs layer 17:09:27 988bab9f4d93: Pulling fs layer 17:09:27 1469e6f7b9e6: Pulling fs layer 17:09:27 eaf3925da568: Pulling fs layer 17:09:27 bab4dde63d76: Pulling fs layer 17:09:27 bde34c3a00c8: Pulling fs layer 17:09:27 b352a97aabf1: Pulling fs layer 17:09:27 988bab9f4d93: Waiting 17:09:27 1469e6f7b9e6: Waiting 17:09:27 eaf3925da568: Waiting 17:09:27 bab4dde63d76: Waiting 17:09:27 bde34c3a00c8: Waiting 17:09:27 4872d77fe225: Pulling fs layer 17:09:27 5851b861e8e6: Pulling fs layer 17:09:27 b352a97aabf1: Waiting 17:09:27 4872d77fe225: Waiting 17:09:27 5851b861e8e6: Waiting 17:09:27 e2be974225ed: Verifying Checksum 17:09:27 e2be974225ed: Download complete 17:09:27 988bab9f4d93: Verifying Checksum 17:09:27 988bab9f4d93: Download complete 17:09:27 1469e6f7b9e6: Verifying Checksum 17:09:27 1469e6f7b9e6: Download complete 17:09:27 339a4e72a1f5: Verifying Checksum 17:09:27 339a4e72a1f5: Download complete 17:09:27 eaf3925da568: Verifying Checksum 17:09:27 eaf3925da568: Download complete 17:09:27 bde34c3a00c8: Download complete 17:09:27 b352a97aabf1: Verifying Checksum 17:09:27 b352a97aabf1: Download complete 17:09:27 4872d77fe225: Verifying Checksum 17:09:27 4872d77fe225: Download complete 17:09:27 5851b861e8e6: Verifying Checksum 17:09:27 5851b861e8e6: Download complete 17:09:27 b85a868b505f: Verifying Checksum 17:09:27 b85a868b505f: Download complete 17:09:27 bab4dde63d76: Verifying Checksum 17:09:27 bab4dde63d76: Download complete 17:09:28 b85a868b505f: Pull complete 17:09:28 e2be974225ed: Pull complete 17:09:29 339a4e72a1f5: Pull complete 17:09:29 988bab9f4d93: Pull complete 17:09:29 1469e6f7b9e6: Pull complete 17:09:29 eaf3925da568: Pull complete 17:09:31 bab4dde63d76: Pull complete 17:09:31 bde34c3a00c8: Pull complete 17:09:31 b352a97aabf1: Pull complete 17:09:31 4872d77fe225: Pull complete 17:09:31 5851b861e8e6: Pull complete 17:09:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:09:31 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 17:09:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-345 -v /w/workspace/foundry_device-usb-camera_PR-345:/w/workspace/foundry_device-usb-camera_PR-345:rw,z -v /w/workspace/foundry_device-usb-camera_PR-345@tmp:/w/workspace/foundry_device-usb-camera_PR-345@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:09:35 $ docker top 1a43020ca2281a0bc9497c13f51e7c2d08152854a640893caf4fafd260ed1668 -eo pid,comm 17:09:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:09:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:35 [ssh-agent] Looking for ssh-agent implementation... 17:09:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:35 $ docker exec 1a43020ca2281a0bc9497c13f51e7c2d08152854a640893caf4fafd260ed1668 ssh-agent 17:09:35 SSH_AUTH_SOCK=/tmp/ssh-verx4JlZGVf3/agent.33 17:09:35 SSH_AGENT_PID=39 17:09:35 Running ssh-add (command line suppressed) 17:09:35 Identity added: /w/workspace/foundry_device-usb-camera_PR-345@tmp/private_key_6300854772774388792.key (/w/workspace/foundry_device-usb-camera_PR-345@tmp/private_key_6300854772774388792.key) 17:09:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:35 + git tag --points-at HEAD [Pipeline] } 17:09:35 $ docker exec --env ******** --env ******** 1a43020ca2281a0bc9497c13f51e7c2d08152854a640893caf4fafd260ed1668 ssh-agent -k 17:09:36 unset SSH_AUTH_SOCK; 17:09:36 unset SSH_AGENT_PID; 17:09:36 echo Agent pid 39 killed; 17:09:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:09:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:36 [ssh-agent] Looking for ssh-agent implementation... 17:09:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:36 $ docker exec 1a43020ca2281a0bc9497c13f51e7c2d08152854a640893caf4fafd260ed1668 ssh-agent 17:09:36 SSH_AUTH_SOCK=/tmp/ssh-iwZQRxZhcgmC/agent.72 17:09:36 SSH_AGENT_PID=78 17:09:36 Running ssh-add (command line suppressed) 17:09:36 Identity added: /w/workspace/foundry_device-usb-camera_PR-345@tmp/private_key_9533249225990270519.key (/w/workspace/foundry_device-usb-camera_PR-345@tmp/private_key_9533249225990270519.key) 17:09:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:36 + git semver init 17:09:37 2024-08-23 17:09:37,024 [run_init] DEBUG init version:0.0.0 force:False 17:09:37 2024-08-23 17:09:37,025 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-345/.semver 17:09:37 2024-08-23 17:09:37,025 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-345/.semver 17:09:37 2024-08-23 17:09:37,026 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-345/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-345, universal_newlines=False, shell=None, istream=None) 17:09:39 2024-08-23 17:09:38,644 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-345/.git/info/exclude 17:09:39 2024-08-23 17:09:38,645 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-345/.semver/PR-345 with force:False 17:09:39 2024-08-23 17:09:38,645 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-345/.semver/PR-345 17:09:39 2024-08-23 17:09:38,649 [execute] INFO git cat-file --batch-check 17:09:39 2024-08-23 17:09:38,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-345/.semver, universal_newlines=False, shell=None, istream=) 17:09:39 2024-08-23 17:09:38,655 [execute] INFO git cat-file --batch 17:09:39 2024-08-23 17:09:38,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-345/.semver, universal_newlines=False, shell=None, istream=) 17:09:39 2024-08-23 17:09:38,660 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-345/.semver/PR-345 17:09:39 0.0.0 [Pipeline] } 17:09:39 $ docker exec --env ******** --env ******** 1a43020ca2281a0bc9497c13f51e7c2d08152854a640893caf4fafd260ed1668 ssh-agent -k 17:09:39 unset SSH_AUTH_SOCK; 17:09:39 unset SSH_AGENT_PID; 17:09:39 echo Agent pid 78 killed; 17:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:39 + git semver [Pipeline] } 17:09:40 $ docker stop --time=1 1a43020ca2281a0bc9497c13f51e7c2d08152854a640893caf4fafd260ed1668 17:09:41 $ docker rm -f --volumes 1a43020ca2281a0bc9497c13f51e7c2d08152854a640893caf4fafd260ed1668 [Pipeline] // withDockerContainer [Pipeline] sh 17:09:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:09:42 Stashed 1 file(s) [Pipeline] echo 17:09:42 [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:09:42 provisioning config files... 17:09:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-345@tmp/config16247837863958769355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:43 ---> ****-login.sh 17:09:43 nexus3.edgexfoundry.org:10001 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 nexus3.edgexfoundry.org:10002 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 nexus3.edgexfoundry.org:10003 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 nexus3.edgexfoundry.org:10004 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 ****.io 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 ---> ****-login.sh ends [Pipeline] } 17:09:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:09:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:09:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:09:44 ========================================================= 17:09:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:09:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:44 + 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:09:44 Sending build context to Docker daemon 20.48MB 17:09:44 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:09:44 Step 2/13 : FROM ${BASE} AS builder 17:09:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:09:44 619be1103602: Pulling fs layer 17:09:44 7862e08f4a3e: Pulling fs layer 17:09:44 5df492c9dc93: Pulling fs layer 17:09:44 7629e6793208: Pulling fs layer 17:09:44 4f4fb700ef54: Pulling fs layer 17:09:44 fb5054dd5b73: Pulling fs layer 17:09:44 eeca6798cff9: Pulling fs layer 17:09:44 aa269ceb94a6: Pulling fs layer 17:09:44 ada007ff1a6a: Pulling fs layer 17:09:44 7629e6793208: Waiting 17:09:44 aa269ceb94a6: Waiting 17:09:44 eeca6798cff9: Waiting 17:09:44 4f4fb700ef54: Waiting 17:09:44 ada007ff1a6a: Waiting 17:09:44 7862e08f4a3e: Verifying Checksum 17:09:44 7862e08f4a3e: Download complete 17:09:44 7629e6793208: Verifying Checksum 17:09:44 7629e6793208: Download complete 17:09:44 4f4fb700ef54: Verifying Checksum 17:09:44 4f4fb700ef54: Download complete 17:09:44 fb5054dd5b73: Download complete 17:09:44 619be1103602: Verifying Checksum 17:09:44 619be1103602: Download complete 17:09:44 eeca6798cff9: Verifying Checksum 17:09:44 eeca6798cff9: Download complete 17:09:44 619be1103602: Pull complete 17:09:45 ada007ff1a6a: Verifying Checksum 17:09:45 ada007ff1a6a: Download complete 17:09:45 7862e08f4a3e: Pull complete 17:09:45 5df492c9dc93: Verifying Checksum 17:09:45 5df492c9dc93: Download complete 17:09:45 aa269ceb94a6: Verifying Checksum 17:09:45 aa269ceb94a6: Download complete 17:09:48 5df492c9dc93: Pull complete 17:09:48 7629e6793208: Pull complete 17:09:48 4f4fb700ef54: Pull complete 17:09:48 fb5054dd5b73: Pull complete 17:09:48 eeca6798cff9: Pull complete 17:09:50 aa269ceb94a6: Pull complete 17:09:50 ada007ff1a6a: Pull complete 17:09:50 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:09:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:09:50 ---> f489d0715acc 17:09:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:09:56 ---> Running in c79f58aa2952 17:09:56 Removing intermediate container c79f58aa2952 17:09:56 ---> 04567bd57e09 17:09:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:09:56 ---> Running in 977c03489ef2 17:09:56 Removing intermediate container 977c03489ef2 17:09:56 ---> 59ca66efbd3a 17:09:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:09:56 ---> Running in 8ea8b8d23269 17:09:56 Removing intermediate container 8ea8b8d23269 17:09:56 ---> ad3ed8cafcb8 17:09:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:09:56 ---> Running in 23b70f0f564e 17:09:56 Removing intermediate container 23b70f0f564e 17:09:56 ---> 5b31f2c50287 17:09:56 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:09:56 ---> Running in 7081507001e0 17:09:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:09:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:09:56 (1/13) Installing libintl (0.21.1-r7) 17:09:56 (2/13) Installing eudev-libs (3.2.11-r8) 17:09:56 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:09:56 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:09:56 (5/13) Installing v4l-utils (1.24.1-r0) 17:09:56 (6/13) Installing libdvbv5 (1.24.1-r0) 17:09:56 (7/13) Installing udev-init-scripts (35-r1) 17:09:56 (8/13) Installing libblkid (2.38.1-r8) 17:09:56 (9/13) Installing xz-libs (5.4.3-r0) 17:09:56 (10/13) Installing kmod-libs (30-r3) 17:09:56 (11/13) Installing eudev (3.2.11-r8) 17:09:56 (12/13) Installing eudev-dev (3.2.11-r8) 17:09:57 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:09:57 Executing busybox-1.36.1-r5.trigger 17:09:57 Executing eudev-3.2.11-r8.trigger 17:09:57 OK: 271 MiB in 65 packages 17:09:57 Removing intermediate container 7081507001e0 17:09:57 ---> 672204b2d9ad 17:09:57 Step 8/13 : WORKDIR /device-usb-camera 17:09:57 ---> Running in f0bb3f5a97d5 17:09:57 Removing intermediate container f0bb3f5a97d5 17:09:57 ---> e2fcd62dc11a 17:09:57 Step 9/13 : COPY go.mod vendor* ./ 17:09:57 Still waiting to schedule task 17:09:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:09:57 ---> 157c011c13b8 17:09:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:09:57 ---> Running in 652f58f3e38f 17:10:54 Removing intermediate container 652f58f3e38f 17:10:54 ---> 667466a16170 17:10:54 Step 11/13 : COPY . . 17:10:54 ---> a522574c0c21 17:10:54 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:10:54 ---> Running in 3f89422d1888 17:10:54  % Total % Received % Xferd Average Speed Time Time Time Current 17:10:54 Dload Upload Total Spent Left Speed 17:10:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7416 0 --:--:-- --:--:-- --:--:-- 7426 100 1062 100 1062 0 0 7411 0 --:--:-- --:--:-- --:--:-- 7375 17:10:54 Removing intermediate container 3f89422d1888 17:10:54 ---> 5472a84469b4 17:10:54 Step 13/13 : RUN ${MAKE} 17:10:54 ---> Running in c75fc51893cb 17:10:54 noop 17:10:54 Removing intermediate container c75fc51893cb 17:10:54 ---> 62654cc69132 17:10:54 Successfully built 62654cc69132 17:10:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:54 + docker inspect -f . ci-base-image-x86_64 17:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:54 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 17:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-345 -v /w/workspace/foundry_device-usb-camera_PR-345:/w/workspace/foundry_device-usb-camera_PR-345:rw,z -v /w/workspace/foundry_device-usb-camera_PR-345@tmp:/w/workspace/foundry_device-usb-camera_PR-345@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:10:55 $ docker top f0a03df45b96dd57ac350be990ffac0b025f4b88f6fc274ed676d25279b1721e -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:55 + go version 17:10:55 go version go1.21.9 linux/amd64 [Pipeline] } 17:10:55 $ docker stop --time=1 f0a03df45b96dd57ac350be990ffac0b025f4b88f6fc274ed676d25279b1721e 17:10:56 $ docker rm -f --volumes f0a03df45b96dd57ac350be990ffac0b025f4b88f6fc274ed676d25279b1721e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:57 + docker inspect -f . ci-base-image-x86_64 17:10:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:57 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 17:10:57 $ 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-345 -v /w/workspace/foundry_device-usb-camera_PR-345:/w/workspace/foundry_device-usb-camera_PR-345:rw,z -v /w/workspace/foundry_device-usb-camera_PR-345@tmp:/w/workspace/foundry_device-usb-camera_PR-345@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:10:58 $ docker top 0aa2d5a12c404bebb21973c5d60f00928e907397661f923111774dac6a5a33ec -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:58 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-345 [Pipeline] fileExists [Pipeline] sh 17:10:59 + make test 17:10:59 go test ./... -coverprofile=coverage.out ./... 17:11:01 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:11:22 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:11:22 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 4.4% of statements 17:11:31 go vet ./... 17:11:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8407 in /w/workspace/foundry_device-usb-camera_PR-345 [Pipeline] { [Pipeline] ws 17:11:32 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:11:32 Selected Git installation does not exist. Using Default 17:11:32 The recommended git tool is: NONE 17:11:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:36 ./bin/test-attribution-txt.sh 17:11:36 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:11:36 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:11:36 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:11:36 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:11:36 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:11:36 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:11:36 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:11:36 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:11:36 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:11:36 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:11:36 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:11:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:11:36 $ docker stop --time=1 0aa2d5a12c404bebb21973c5d60f00928e907397661f923111774dac6a5a33ec 17:11:39 using credential edgex-jenkins-ssh 17:11:39 Cloning the remote Git repository 17:11:39 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:11:40 $ docker rm -f --volumes 0aa2d5a12c404bebb21973c5d60f00928e907397661f923111774dac6a5a33ec [Pipeline] // withDockerContainer [Pipeline] sh 17:11:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:11:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 17:11:39 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:11:40 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:11:40 > git --version # timeout=10 17:11:40 > git --version # 'git version 2.25.1' 17:11:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 17:11:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:11:41 + ls -al . 17:11:41 total 292 17:11:41 drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 17:10 . 17:11:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:09 .. 17:11:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 17:11 .git 17:11:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:09 .github 17:11:41 -rw-rw-r-- 1 jenkins jenkins 379 Aug 23 17:09 .gitignore 17:11:41 -rw-rw-r-- 1 jenkins jenkins 45 Aug 23 17:09 .golangci.yml 17:11:41 -rw-rw-r-- 1 jenkins jenkins 77 Aug 23 17:09 .hadolint.yml 17:11:41 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 17:09 .semver 17:11:41 -rw-rw-r-- 1 jenkins jenkins 10870 Aug 23 17:09 Attribution.txt 17:11:41 -rw-rw-r-- 1 jenkins jenkins 16561 Aug 23 17:09 CHANGELOG.md 17:11:41 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 23 17:09 Dockerfile 17:11:41 -rw-rw-r-- 1 jenkins jenkins 678 Aug 23 17:09 GOVERNANCE.md 17:11:41 -rw-rw-r-- 1 jenkins jenkins 659 Aug 23 17:09 Jenkinsfile 17:11:41 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 17:09 LICENSE 17:11:41 -rw-rw-r-- 1 jenkins jenkins 2611 Aug 23 17:09 Makefile 17:11:41 -rw-rw-r-- 1 jenkins jenkins 622 Aug 23 17:09 OWNERS.md 17:11:41 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 23 17:09 README.md 17:11:41 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 17:09 VERSION 17:11:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 17:09 bin 17:11:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:09 cmd 17:11:41 -rw-r--r-- 1 jenkins jenkins 54703 Aug 23 17:11 coverage.out 17:11:41 -rwxrwxr-x 1 jenkins jenkins 84 Aug 23 17:09 docker-entrypoint.sh 17:11:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 17:09 docs 17:11:41 -rw-rw-r-- 1 jenkins jenkins 7210 Aug 23 17:09 go.mod 17:11:41 -rw-rw-r-- 1 jenkins jenkins 102021 Aug 23 17:09 go.sum 17:11:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:09 internal 17:11:41 -rw-rw-r-- 1 jenkins jenkins 231 Aug 23 17:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:42 + 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=4dd745f784fab0c87dffb895a6218d511c5d5d0b --label arch=amd64 --label version=0.0.0 . 17:11:42 Sending build context to Docker daemon 20.53MB 17:11:42 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:11:42 Step 2/37 : FROM ${BASE} AS builder 17:11:42 ---> 62654cc69132 17:11:42 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:11:42 ---> Running in ba6541bdf56b 17:11:42 Removing intermediate container ba6541bdf56b 17:11:42 ---> 728df38cd1b8 17:11:42 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:11:42 ---> Running in 5f218e298a1d 17:11:42 Removing intermediate container 5f218e298a1d 17:11:42 ---> 65932639dd28 17:11:42 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:11:42 ---> Running in 5f70fd97f6f3 17:11:42 Removing intermediate container 5f70fd97f6f3 17:11:42 ---> 5287167d3263 17:11:42 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:11:42 ---> Running in 36ad770cd43f 17:11:43 Removing intermediate container 36ad770cd43f 17:11:43 ---> be9283ee2e0a 17:11:43 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:43 ---> Running in a95d3404722a 17:11:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:11:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:11:43 OK: 271 MiB in 65 packages 17:11:43 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:11:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:44 Removing intermediate container a95d3404722a 17:11:44 ---> e167f0b128f2 17:11:44 Step 8/37 : WORKDIR /device-usb-camera 17:11:44 ---> Running in e8b2e36e5629 17:11:44 Removing intermediate container e8b2e36e5629 17:11:44 ---> 3fd3254fc88f 17:11:44 Step 9/37 : COPY go.mod vendor* ./ 17:11:44 ---> 5e2de6053325 17:11:44 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:44 ---> Running in 561eaa6e70ab 17:11:45 Merging remotes/origin/main commit e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 into PR head commit 4dd745f784fab0c87dffb895a6218d511c5d5d0b 17:11:45 Removing intermediate container 561eaa6e70ab 17:11:45 ---> e4fc0176a89d 17:11:45 Step 11/37 : COPY . . 17:11:45 Merge succeeded, producing 4dd745f784fab0c87dffb895a6218d511c5d5d0b 17:11:45 Checking out Revision 4dd745f784fab0c87dffb895a6218d511c5d5d0b (PR-345) 17:11:44 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:11:44 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:11:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:11:45 > git config core.sparsecheckout # timeout=10 17:11:45 > git checkout -f 4dd745f784fab0c87dffb895a6218d511c5d5d0b # timeout=10 17:11:45 > git remote # timeout=10 17:11:45 > git config --get remote.origin.url # timeout=10 17:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:45 > git merge e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 # timeout=10 17:11:45 > git rev-parse HEAD^{commit} # timeout=10 17:11:45 > git config core.sparsecheckout # timeout=10 17:11:45 > git checkout -f 4dd745f784fab0c87dffb895a6218d511c5d5d0b # timeout=10 17:11:46 ---> 50ff6b9ce5d9 17:11:46 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:11:46 ---> Running in 9859b86d92c8 17:11:46  % Total % Received % Xferd Average Speed Time Time Time Current 17:11:46 Dload Upload Total Spent Left Speed 17:11:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 38336 0 --:--:-- --:--:-- --:--:-- 39333 17:11:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:11:46 > git --version # timeout=10 17:11:46 > git --version # 'git version 2.25.1' 17:11:46 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 17:11:46 Removing intermediate container 9859b86d92c8 17:11:46 ---> 9675f258c6f4 17:11:46 Step 13/37 : RUN ${MAKE} 17:11:46 ---> Running in 4dcbcf3cfe3d 17:11:46 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.32" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:11:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:11:51 % Total % Received % Xferd Average Speed Time Time Time Current 17:11:51 Dload Upload Total Spent Left Speed 17:11:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] sh 17:11:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:11:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 17:11:52 sudo tee /etc/docker/daemon.new 17:11:52 { 17:11:52 "registry-mirrors": [ 17:11:52 "https://nexus3.edgexfoundry.org:10001" 17:11:52 ], 17:11:52 "bip": "10.250.0.254/24", 17:11:52 "hosts": [ 17:11:52 "tcp://0.0.0.0:5555", 17:11:52 "unix:///var/run/docker.sock" 17:11:52 ], 17:11:52 "mtu": 1458, 17:11:52 "selinux-enabled": true, 17:11:52 "seccomp-profile": "/etc/docker/seccomp.json" 17:11:52 } [Pipeline] sh 17:11:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:11:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:12:11 provisioning config files... 17:12:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1101257371373980557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:11 ---> ****-login.sh 17:12:11 nexus3.edgexfoundry.org:10001 17:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:12 Configure a credential helper to remove this warning. See 17:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:12 17:12:12 Login Succeeded 17:12:12 nexus3.edgexfoundry.org:10002 17:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:12 Configure a credential helper to remove this warning. See 17:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:12 17:12:12 Login Succeeded 17:12:12 nexus3.edgexfoundry.org:10003 17:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:13 Configure a credential helper to remove this warning. See 17:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:13 17:12:13 Login Succeeded 17:12:13 nexus3.edgexfoundry.org:10004 17:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:13 Configure a credential helper to remove this warning. See 17:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:13 17:12:13 Login Succeeded 17:12:13 ****.io 17:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:13 Configure a credential helper to remove this warning. See 17:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:13 17:12:13 Login Succeeded 17:12:13 ---> ****-login.sh ends [Pipeline] } 17:12:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:12:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:12:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:12:14 ========================================================= 17:12:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:12:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:15 + 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 . 17:12:18 Sending build context to Docker daemon 10.5MB 17:12:18 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:12:18 Step 2/13 : FROM ${BASE} AS builder 17:12:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:12:18 c6b39de5b339: Pulling fs layer 17:12:18 a69c41024577: Pulling fs layer 17:12:18 d6de4b400683: Pulling fs layer 17:12:18 35cb2a7552d0: Pulling fs layer 17:12:18 4f4fb700ef54: Pulling fs layer 17:12:18 464afbd9ba4c: Pulling fs layer 17:12:18 00f215d4a9da: Pulling fs layer 17:12:18 d496ad576159: Pulling fs layer 17:12:18 35cb2a7552d0: Waiting 17:12:18 4f4fb700ef54: Waiting 17:12:18 d496ad576159: Waiting 17:12:18 00f215d4a9da: Waiting 17:12:18 464afbd9ba4c: Waiting 17:12:18 a69c41024577: Verifying Checksum 17:12:18 a69c41024577: Download complete 17:12:18 35cb2a7552d0: Verifying Checksum 17:12:18 35cb2a7552d0: Download complete 17:12:18 4f4fb700ef54: Verifying Checksum 17:12:18 4f4fb700ef54: Download complete 17:12:18 464afbd9ba4c: Verifying Checksum 17:12:18 464afbd9ba4c: Download complete 17:12:18 c6b39de5b339: Download complete 17:12:18 d496ad576159: Verifying Checksum 17:12:18 d496ad576159: Download complete 17:12:19 c6b39de5b339: Pull complete 17:12:20 a69c41024577: Pull complete 17:12:20 d6de4b400683: Verifying Checksum 17:12:20 d6de4b400683: Download complete 17:12:21 00f215d4a9da: Verifying Checksum 17:12:21 00f215d4a9da: Download complete 17:12:25 Removing intermediate container 4dcbcf3cfe3d 17:12:25 ---> cc330fa3133b 17:12:25 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:12:25 1.8.2: Pulling from bluenviron/mediamtx 17:12:25 8411072a22a5: Pulling fs layer 17:12:25 8411072a22a5: Verifying Checksum 17:12:25 8411072a22a5: Download complete 17:12:25 8411072a22a5: Pull complete 17:12:25 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:12:25 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:12:25 ---> 1ac78cb06e13 17:12:25 Step 15/37 : FROM alpine:3.18 17:12:25 3.18: Pulling from library/alpine 17:12:25 930bdd4d222e: Pulling fs layer 17:12:25 930bdd4d222e: Verifying Checksum 17:12:25 930bdd4d222e: Download complete 17:12:25 930bdd4d222e: Pull complete 17:12:25 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 17:12:25 Status: Downloaded newer image for alpine:3.18 17:12:25 ---> 18f865063206 17:12:25 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:12:25 ---> Running in bfe1a1beca0d 17:12:25 Removing intermediate container bfe1a1beca0d 17:12:25 ---> 0767256e4d69 17:12:25 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:12:25 ---> Running in e7e5ee19dfd2 17:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:12:25 (1/107) Installing dumb-init (1.2.5-r2) 17:12:25 (2/107) Installing sdl2 (2.26.5-r0) 17:12:25 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:12:25 (4/107) Installing aom-libs (3.6.1-r0) 17:12:25 (5/107) Installing libxau (1.0.11-r2) 17:12:25 (6/107) Installing libmd (1.0.4-r2) 17:12:25 (7/107) Installing libbsd (0.11.7-r1) 17:12:25 (8/107) Installing libxdmcp (1.1.4-r2) 17:12:25 (9/107) Installing libxcb (1.15-r1) 17:12:25 (10/107) Installing libx11 (1.8.7-r0) 17:12:25 (11/107) Installing hwdata-pci (0.370-r0) 17:12:25 (12/107) Installing libpciaccess (0.17-r2) 17:12:25 (13/107) Installing libdrm (2.4.115-r4) 17:12:25 (14/107) Installing libxext (1.3.5-r2) 17:12:25 (15/107) Installing libxfixes (6.0.1-r2) 17:12:25 (16/107) Installing libffi (3.4.4-r2) 17:12:25 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:12:25 (18/107) Installing libva (2.18.0-r1) 17:12:25 (19/107) Installing libvdpau (1.5-r1) 17:12:25 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:12:25 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:12:25 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:12:25 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:12:25 (24/107) Installing libdav1d (1.2.1-r0) 17:12:25 (25/107) Installing brotli-libs (1.0.9-r14) 17:12:25 (26/107) Installing libhwy (1.0.4-r1) 17:12:25 (27/107) Installing lcms2 (2.15-r2) 17:12:25 (28/107) Installing libjxl (0.8.2-r0) 17:12:25 (29/107) Installing lame-libs (3.100-r5) 17:12:25 (30/107) Installing opus (1.4-r0) 17:12:25 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:12:25 (32/107) Installing soxr (0.1.3-r5) 17:12:25 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:12:25 (34/107) Installing libogg (1.3.5-r4) 17:12:25 (35/107) Installing libtheora (1.1.1-r17) 17:12:25 (36/107) Installing libvorbis (1.3.7-r1) 17:12:25 (37/107) Installing libvpx (1.13.0-r2) 17:12:25 (38/107) Installing libwebp (1.3.2-r0) 17:12:25 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:12:25 (40/107) Installing numactl (2.0.16-r4) 17:12:25 (41/107) Installing x265-libs (3.5-r4) 17:12:25 (42/107) Installing xvidcore (1.3.7-r1) 17:12:25 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:12:25 (44/107) Installing alsa-lib (1.2.9-r1) 17:12:25 (45/107) Installing libexpat (2.6.2-r0) 17:12:25 (46/107) Installing libbz2 (1.0.8-r5) 17:12:25 (47/107) Installing libpng (1.6.39-r3) 17:12:25 (48/107) Installing freetype (2.13.0-r5) 17:12:25 (49/107) Installing fontconfig (2.14.2-r3) 17:12:25 (50/107) Installing fribidi (1.0.13-r0) 17:12:25 (51/107) Installing libintl (0.21.1-r7) 17:12:25 (52/107) Installing libblkid (2.38.1-r8) 17:12:25 (53/107) Installing libmount (2.38.1-r8) 17:12:25 (54/107) Installing pcre2 (10.42-r1) 17:12:25 (55/107) Installing glib (2.76.6-r0) 17:12:25 (56/107) Installing graphite2 (1.3.14-r5) 17:12:25 (57/107) Installing harfbuzz (7.3.0-r0) 17:12:25 (58/107) Installing libunibreak (5.1-r0) 17:12:25 (59/107) Installing libass (0.17.1-r0) 17:12:25 (60/107) Installing libbluray (1.3.4-r0) 17:12:25 (61/107) Installing gmp (6.2.1-r3) 17:12:25 (62/107) Installing nettle (3.8.1-r2) 17:12:25 (63/107) Installing libunistring (1.1-r1) 17:12:25 (64/107) Installing libidn2 (2.3.4-r1) 17:12:25 (65/107) Installing p11-kit (0.24.1-r2) 17:12:25 (66/107) Installing libtasn1 (4.19.0-r1) 17:12:25 (67/107) Installing gnutls (3.8.4-r0) 17:12:25 (68/107) Installing mpg123-libs (1.31.3-r1) 17:12:25 (69/107) Installing libopenmpt (0.7.2-r0) 17:12:25 (70/107) Installing cjson (1.7.17-r0) 17:12:25 (71/107) Installing mbedtls (2.28.8-r0) 17:12:25 (72/107) Installing librist (0.2.7-r0) 17:12:25 (73/107) Installing libsrt (1.5.2-r0) 17:12:25 (74/107) Installing libssh (0.10.5-r0) 17:12:25 (75/107) Installing xz-libs (5.4.3-r0) 17:12:25 (76/107) Installing libxml2 (2.11.8-r0) 17:12:25 (77/107) Installing libsodium (1.0.18-r3) 17:12:25 (78/107) Installing libzmq (4.3.4-r4) 17:12:25 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:12:25 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:12:25 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:12:25 (82/107) Installing shaderc (2023.3-r1) 17:12:25 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:12:25 (84/107) Installing libplacebo (5.264.1-r1) 17:12:25 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:12:25 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:12:25 (87/107) Installing vidstab (1.1.1-r0) 17:12:25 (88/107) Installing zimg (3.0.5-r0) 17:12:25 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:12:25 (90/107) Installing libasyncns (0.8-r1) 17:12:25 (91/107) Installing dbus-libs (1.14.8-r0) 17:12:25 (92/107) Installing libltdl (2.4.7-r2) 17:12:25 (93/107) Installing orc (0.4.34-r0) 17:12:25 (94/107) Installing flac-libs (1.4.3-r0) 17:12:25 (95/107) Installing libsndfile (1.2.0-r2) 17:12:25 (96/107) Installing speexdsp (1.2.1-r1) 17:12:25 (97/107) Installing tdb-libs (1.4.8-r1) 17:12:25 (98/107) Installing libpulse (16.1-r10) 17:12:25 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:12:25 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:12:25 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:12:25 (102/107) Installing ffmpeg (6.0.1-r0) 17:12:25 (103/107) Installing udev-init-scripts (35-r1) 17:12:25 (104/107) Installing eudev-libs (3.2.11-r8) 17:12:25 (105/107) Installing zstd-libs (1.5.5-r4) 17:12:25 (106/107) Installing kmod-libs (30-r3) 17:12:25 (107/107) Installing eudev (3.2.11-r8) 17:12:25 Executing busybox-1.36.1-r7.trigger 17:12:25 Executing glib-2.76.6-r0.trigger 17:12:25 Executing eudev-3.2.11-r8.trigger 17:12:25 OK: 131 MiB in 122 packages 17:12:27 Removing intermediate container e7e5ee19dfd2 17:12:27 ---> db31ac4e0817 17:12:27 Step 18/37 : RUN apk --no-cache upgrade 17:12:27 ---> Running in a03f6381e2c1 17:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:12:27 OK: 131 MiB in 122 packages 17:12:27 Removing intermediate container a03f6381e2c1 17:12:27 ---> 0deff13d1edc 17:12:27 Step 19/37 : WORKDIR / 17:12:27 ---> Running in 51aa50c3e0ba 17:12:27 Removing intermediate container 51aa50c3e0ba 17:12:27 ---> 85fc403ec7e3 17:12:27 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:12:29 ---> de8d969c46ac 17:12:29 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:12:29 ---> 3b073db5e43c 17:12:29 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:12:29 ---> 92b09df4094f 17:12:29 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:12:29 ---> c7a702550d80 17:12:29 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:12:29 ---> f92f921a1cee 17:12:29 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:12:29 ---> ebe18c9cd639 17:12:29 Step 26/37 : COPY --from=rtsp /mediamtx / 17:12:30 ---> 0f32cac7af7e 17:12:30 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:12:30 ---> Running in 2b9c9ad35427 17:12:30 Removing intermediate container 2b9c9ad35427 17:12:30 ---> e4821661534b 17:12:30 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:12:31 ---> Running in 06d8e5ba1d20 17:12:31 Removing intermediate container 06d8e5ba1d20 17:12:31 ---> ee2d1edf5115 17:12:31 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:12:31 ---> Running in 2d1a76beee71 17:12:32 Removing intermediate container 2d1a76beee71 17:12:32 ---> 7a2c6cb970ed 17:12:32 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:12:32 ---> Running in 93399972e227 17:12:32 Removing intermediate container 93399972e227 17:12:32 ---> a982981f18d4 17:12:32 Step 31/37 : EXPOSE 59983 17:12:32 ---> Running in 371e744bf194 17:12:32 Removing intermediate container 371e744bf194 17:12:32 ---> 3aff2558a66b 17:12:32 Step 32/37 : EXPOSE 8554 17:12:32 ---> Running in 3ae1c5484077 17:12:32 Removing intermediate container 3ae1c5484077 17:12:32 ---> d39eeb31e875 17:12:32 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:12:32 ---> Running in 465b03ed9f38 17:12:33 Removing intermediate container 465b03ed9f38 17:12:33 ---> 9eddbbcbb86a 17:12:33 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:12:33 ---> Running in 11aa4e1675ba 17:12:33 Removing intermediate container 11aa4e1675ba 17:12:33 ---> 43ece197f08a 17:12:33 Step 35/37 : LABEL arch=amd64 17:12:33 ---> Running in 2921c80d8f5b 17:12:33 Removing intermediate container 2921c80d8f5b 17:12:33 ---> acb2571e5ad3 17:12:33 Step 36/37 : LABEL git_sha=4dd745f784fab0c87dffb895a6218d511c5d5d0b 17:12:33 ---> Running in 5342867f46e4 17:12:33 Removing intermediate container 5342867f46e4 17:12:33 ---> 5ce9c1106b89 17:12:33 Step 37/37 : LABEL version=0.0.0 17:12:33 ---> Running in baf3cb50db21 17:12:33 Removing intermediate container baf3cb50db21 17:12:33 ---> 733609a51af8 17:12:33 [Warning] One or more build-args [ARCH] were not consumed 17:12:33 Successfully built 733609a51af8 17:12:33 Successfully tagged device-usb-camera:latest 17:12:33 d6de4b400683: Pull complete 17:12:33 35cb2a7552d0: Pull complete 17:12:33 4f4fb700ef54: Pull complete 17:12:33 464afbd9ba4c: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:34 17:12:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:34 latest: Pulling from edgex-lftools-log-publisher 17:12:34 5eb5b503b376: Pulling fs layer 17:12:34 5c69ac0246d0: Pulling fs layer 17:12:34 ec43610c2a17: Pulling fs layer 17:12:34 3a2ae6a8a46f: Pulling fs layer 17:12:34 33b1e0a273af: Pulling fs layer 17:12:34 5d3b04190fa2: Pulling fs layer 17:12:34 2f39f015ded8: Pulling fs layer 17:12:34 33b1e0a273af: Waiting 17:12:34 5d3b04190fa2: Waiting 17:12:34 2f39f015ded8: Waiting 17:12:34 3a2ae6a8a46f: Waiting 17:12:34 5c69ac0246d0: Download complete 17:12:34 3a2ae6a8a46f: Verifying Checksum 17:12:34 3a2ae6a8a46f: Download complete 17:12:34 33b1e0a273af: Verifying Checksum 17:12:34 33b1e0a273af: Download complete 17:12:34 5d3b04190fa2: Download complete 17:12:34 ec43610c2a17: Verifying Checksum 17:12:34 ec43610c2a17: Download complete 17:12:35 5eb5b503b376: Verifying Checksum 17:12:35 5eb5b503b376: Download complete 17:12:35 2f39f015ded8: Download complete 17:12:36 5eb5b503b376: Pull complete 17:12:36 5c69ac0246d0: Pull complete 17:12:36 ec43610c2a17: Pull complete 17:12:36 3a2ae6a8a46f: Pull complete 17:12:37 33b1e0a273af: Pull complete 17:12:37 5d3b04190fa2: Pull complete 17:12:41 2f39f015ded8: Pull complete 17:12:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 17:12:41 00f215d4a9da: Pull complete [Pipeline] withDockerContainer 17:12:41 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 17:12:41 $ 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-345 -v /w/workspace/foundry_device-usb-camera_PR-345:/w/workspace/foundry_device-usb-camera_PR-345:rw,z -v /w/workspace/foundry_device-usb-camera_PR-345@tmp:/w/workspace/foundry_device-usb-camera_PR-345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:12:43 d496ad576159: Pull complete 17:12:43 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 17:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:12:43 ---> f246e2811388 17:12:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:12:44 ---> Running in b5ba31d68135 17:12:44 Removing intermediate container b5ba31d68135 17:12:44 ---> 497be65e8b30 17:12:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:12:44 ---> Running in 0ad96e95a720 17:12:44 Removing intermediate container 0ad96e95a720 17:12:44 ---> 0f08389b2068 17:12:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:12:45 ---> Running in ef4da89fef2b 17:12:45 $ docker top 393c48dfbfd4d5b03ef92e573290c6ebce578740d69522a0a63a03fcdfc84bfb -eo pid,comm [Pipeline] { 17:12:45 Removing intermediate container ef4da89fef2b 17:12:45 ---> 9a28c293be5e 17:12:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:12:45 ---> Running in 60059e620762 [Pipeline] libraryResource [Pipeline] sh 17:12:45 Removing intermediate container 60059e620762 17:12:45 ---> 03231ffa3755 17:12:45 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:12:45 ---> Running in 92f3c2f22d1c 17:12:45 ---> job-cost.sh 17:12:45 lf-activate-venv: SKIPPING 17:12:45 INFO: No Stack... 17:12:45 INFO: Retrieving Pricing Info for: v3-standard-8 17:12:46 INFO: Archiving Costs [Pipeline] sh 17:12:46 + cat /w/workspace/foundry_device-usb-camera_PR-345/archives/cost.csv 17:12:46 + cut -d, -f6 [Pipeline] lock 17:12:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] 17:12:46 Resource [jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] did not exist. Created. 17:12:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] [Pipeline] { 17:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] sh 17:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:12:47 + echo total: 0.2199999988079071 [Pipeline] stash 17:12:47 Stashed 1 file(s) [Pipeline] } 17:12:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:12:47 $ docker stop --time=1 393c48dfbfd4d5b03ef92e573290c6ebce578740d69522a0a63a03fcdfc84bfb 17:12:48 (1/13) Installing libintl (0.21.1-r7) 17:12:48 (2/13) Installing eudev-libs (3.2.11-r8) 17:12:48 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:12:48 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:12:48 (5/13) Installing v4l-utils (1.24.1-r0) 17:12:48 (6/13) Installing libdvbv5 (1.24.1-r0) 17:12:48 (7/13) Installing udev-init-scripts (35-r1) 17:12:48 (8/13) Installing libblkid (2.38.1-r8) 17:12:48 (9/13) Installing xz-libs (5.4.3-r0) 17:12:48 (10/13) Installing kmod-libs (30-r3) 17:12:48 (11/13) Installing eudev (3.2.11-r8) 17:12:48 (12/13) Installing eudev-dev (3.2.11-r8) 17:12:48 $ docker rm -f --volumes 393c48dfbfd4d5b03ef92e573290c6ebce578740d69522a0a63a03fcdfc84bfb 17:12:48 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:12:48 Executing busybox-1.36.1-r5.trigger 17:12:48 Executing eudev-3.2.11-r8.trigger 17:12:48 OK: 273 MiB in 65 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:12:50 Removing intermediate container 92f3c2f22d1c 17:12:50 ---> c857deb32d9c 17:12:50 Step 8/13 : WORKDIR /device-usb-camera 17:12:50 ---> Running in ae71c877c1d9 17:12:50 Removing intermediate container ae71c877c1d9 17:12:50 ---> 77ce81615791 17:12:50 Step 9/13 : COPY go.mod vendor* ./ 17:12:51 ---> 08ee30657160 17:12:51 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:12:51 ---> Running in de38804d77e2 17:14:42 Removing intermediate container de38804d77e2 17:14:42 ---> 125f6aa35727 17:14:42 Step 11/13 : COPY . . 17:14:42 ---> d0f14436b605 17:14:42 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:14:42 ---> Running in 3d0d075e1b5f 17:14:42  % Total % Received % Xferd Average Speed Time Time Time Current 17:14:42 Dload Upload Total Spent Left Speed 17:14:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8094 0 --:--:-- --:--:-- --:--:-- 8169 17:14:42 Removing intermediate container 3d0d075e1b5f 17:14:42 ---> 07dbc4651bf2 17:14:42 Step 13/13 : RUN ${MAKE} 17:14:42 ---> Running in 4b4285747a64 17:14:42 noop 17:14:42 Removing intermediate container 4b4285747a64 17:14:42 ---> 77e84460f6c2 17:14:42 Successfully built 77e84460f6c2 17:14:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:43 + docker inspect -f . ci-base-image-arm64 17:14:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:43 prd-ubuntu20.04-docker-arm64-4c-16g-8407 does not seem to be running inside a container 17:14:43 $ 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 17:14:44 $ docker top 2e9708878baf15d38cf5a2d14007230a86133e718acbefa49117ff343c309014 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:45 + go version 17:14:45 go version go1.21.9 linux/arm64 [Pipeline] } 17:14:45 $ docker stop --time=1 2e9708878baf15d38cf5a2d14007230a86133e718acbefa49117ff343c309014 17:14:47 $ docker rm -f --volumes 2e9708878baf15d38cf5a2d14007230a86133e718acbefa49117ff343c309014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:48 + docker inspect -f . ci-base-image-arm64 17:14:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:48 prd-ubuntu20.04-docker-arm64-4c-16g-8407 does not seem to be running inside a container 17:14:48 $ 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 17:14:49 $ docker top 6bf000d5275d1e470c59333101f32f3caeceb9e2d2ddbce367eaed0a4da62faf -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:50 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:14:51 + make test 17:14:51 go test ./... -coverprofile=coverage.out ./... 17:14:57 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:18:09 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:18:19 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 4.4% of statements 17:18:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:18:19 go vet ./... 17:19:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:19:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:19:06 ./bin/test-attribution-txt.sh 17:19:06 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:19:06 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:19:06 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:19:06 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:19:06 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:19:06 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:19:06 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:19:06 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:19:06 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:19:06 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:19:06 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:19:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:19:06 $ docker stop --time=1 6bf000d5275d1e470c59333101f32f3caeceb9e2d2ddbce367eaed0a4da62faf 17:19:07 $ docker rm -f --volumes 6bf000d5275d1e470c59333101f32f3caeceb9e2d2ddbce367eaed0a4da62faf [Pipeline] // withDockerContainer [Pipeline] sh 17:19:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:19:09 Warning: overwriting stash ‘coverage-report’ 17:19:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:19:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:19:10 + ls -al . 17:19:10 total 288 17:19:10 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 17:14 . 17:19:10 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:11 .. 17:19:10 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 17:11 .git 17:19:10 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:11 .github 17:19:10 -rw-rw-r-- 1 jenkins jenkins 379 Aug 23 17:11 .gitignore 17:19:10 -rw-rw-r-- 1 jenkins jenkins 45 Aug 23 17:11 .golangci.yml 17:19:10 -rw-rw-r-- 1 jenkins jenkins 77 Aug 23 17:11 .hadolint.yml 17:19:10 -rw-rw-r-- 1 jenkins jenkins 10870 Aug 23 17:11 Attribution.txt 17:19:10 -rw-rw-r-- 1 jenkins jenkins 16561 Aug 23 17:11 CHANGELOG.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 23 17:11 Dockerfile 17:19:10 -rw-rw-r-- 1 jenkins jenkins 678 Aug 23 17:11 GOVERNANCE.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 659 Aug 23 17:11 Jenkinsfile 17:19:10 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 17:11 LICENSE 17:19:10 -rw-rw-r-- 1 jenkins jenkins 2611 Aug 23 17:11 Makefile 17:19:10 -rw-rw-r-- 1 jenkins jenkins 622 Aug 23 17:11 OWNERS.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 23 17:11 README.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 17:09 VERSION 17:19:10 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 17:11 bin 17:19:10 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:11 cmd 17:19:10 -rw-r--r-- 1 jenkins jenkins 54703 Aug 23 17:18 coverage.out 17:19:10 -rwxrwxr-x 1 jenkins jenkins 84 Aug 23 17:11 docker-entrypoint.sh 17:19:10 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 17:11 docs 17:19:10 -rw-rw-r-- 1 jenkins jenkins 7210 Aug 23 17:11 go.mod 17:19:10 -rw-rw-r-- 1 jenkins jenkins 102021 Aug 23 17:11 go.sum 17:19:10 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:11 internal 17:19:10 -rw-rw-r-- 1 jenkins jenkins 231 Aug 23 17:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:11 + 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=4dd745f784fab0c87dffb895a6218d511c5d5d0b --label arch=arm64 --label version=0.0.0 . 17:19:12 Sending build context to Docker daemon 10.56MB 17:19:12 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:19:12 Step 2/37 : FROM ${BASE} AS builder 17:19:12 ---> 77e84460f6c2 17:19:12 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:19:12 ---> Running in e92382a80a71 17:19:12 Removing intermediate container e92382a80a71 17:19:12 ---> 5b9058d92c3e 17:19:12 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:19:12 ---> Running in b1e5c80a2ab4 17:19:12 Removing intermediate container b1e5c80a2ab4 17:19:12 ---> 55b7fbaf9491 17:19:12 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:19:12 ---> Running in 6c3250509c93 17:19:13 Removing intermediate container 6c3250509c93 17:19:13 ---> ef891d291a75 17:19:13 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:19:13 ---> Running in 3e34c370ff48 17:19:13 Removing intermediate container 3e34c370ff48 17:19:13 ---> 3e824d05af37 17:19:13 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:13 ---> Running in df8a0309523f 17:19:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:19:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:19:15 OK: 273 MiB in 65 packages 17:19:16 Removing intermediate container df8a0309523f 17:19:16 ---> 12af149804b7 17:19:16 Step 8/37 : WORKDIR /device-usb-camera 17:19:16 ---> Running in e65826a62800 17:19:16 Removing intermediate container e65826a62800 17:19:16 ---> 97f61d18fab3 17:19:16 Step 9/37 : COPY go.mod vendor* ./ 17:19:17 ---> fa0210586500 17:19:17 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:17 ---> Running in a2fba2d8566a 17:19:20 Removing intermediate container a2fba2d8566a 17:19:20 ---> f07b0f4cc9bd 17:19:20 Step 11/37 : COPY . . 17:19:21 ---> 2be76d1af6ad 17:19:21 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:19:21 ---> Running in a6943921ffa3 17:19:22  % Total % Received % Xferd Average Speed Time Time Time Current 17:19:22 Dload Upload Total Spent Left Speed 17:19:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5489 0 --:--:-- --:--:-- --:--:-- 5740 17:19:23 Removing intermediate container a6943921ffa3 17:19:23 ---> a2210572f6db 17:19:23 Step 13/37 : RUN ${MAKE} 17:19:23 ---> Running in d3deeb62de74 17:19:24 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.32" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:23:00 Removing intermediate container d3deeb62de74 17:23:00 ---> dbe7f25aee87 17:23:00 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:23:00 1.8.2: Pulling from bluenviron/mediamtx 17:23:00 da4d7e05a7aa: Pulling fs layer 17:23:00 da4d7e05a7aa: Verifying Checksum 17:23:00 da4d7e05a7aa: Download complete 17:23:00 da4d7e05a7aa: Pull complete 17:23:00 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:23:00 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:23:00 ---> 62c65ed7ef0d 17:23:00 Step 15/37 : FROM alpine:3.18 17:23:01 3.18: Pulling from library/alpine 17:23:01 4983c3fe2029: Pulling fs layer 17:23:01 4983c3fe2029: Verifying Checksum 17:23:01 4983c3fe2029: Download complete 17:23:02 4983c3fe2029: Pull complete 17:23:02 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 17:23:02 Status: Downloaded newer image for alpine:3.18 17:23:02 ---> a0237000ae83 17:23:02 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:23:02 ---> Running in 2af2d2a52c60 17:23:02 Removing intermediate container 2af2d2a52c60 17:23:02 ---> a0ca5f2d4dc3 17:23:02 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:23:02 ---> Running in 9e44f4372f4b 17:23:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:23:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:23:04 (1/104) Installing dumb-init (1.2.5-r2) 17:23:04 (2/104) Installing sdl2 (2.26.5-r0) 17:23:05 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:23:05 (4/104) Installing aom-libs (3.6.1-r0) 17:23:05 (5/104) Installing libxau (1.0.11-r2) 17:23:05 (6/104) Installing libmd (1.0.4-r2) 17:23:05 (7/104) Installing libbsd (0.11.7-r1) 17:23:05 (8/104) Installing libxdmcp (1.1.4-r2) 17:23:05 (9/104) Installing libxcb (1.15-r1) 17:23:05 (10/104) Installing libx11 (1.8.7-r0) 17:23:05 (11/104) Installing libdrm (2.4.115-r4) 17:23:05 (12/104) Installing libxext (1.3.5-r2) 17:23:05 (13/104) Installing libxfixes (6.0.1-r2) 17:23:05 (14/104) Installing libffi (3.4.4-r2) 17:23:05 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:23:05 (16/104) Installing libva (2.18.0-r1) 17:23:05 (17/104) Installing libvdpau (1.5-r1) 17:23:05 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 17:23:05 (19/104) Installing libdav1d (1.2.1-r0) 17:23:05 (20/104) Installing brotli-libs (1.0.9-r14) 17:23:05 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:23:05 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:23:05 (23/104) Installing libhwy (1.0.4-r1) 17:23:05 (24/104) Installing lcms2 (2.15-r2) 17:23:05 (25/104) Installing libjxl (0.8.2-r0) 17:23:05 (26/104) Installing lame-libs (3.100-r5) 17:23:05 (27/104) Installing opus (1.4-r0) 17:23:05 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:23:05 (29/104) Installing soxr (0.1.3-r5) 17:23:05 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 17:23:05 (31/104) Installing libogg (1.3.5-r4) 17:23:05 (32/104) Installing libtheora (1.1.1-r17) 17:23:05 (33/104) Installing libvorbis (1.3.7-r1) 17:23:05 (34/104) Installing libvpx (1.13.0-r2) 17:23:05 (35/104) Installing libwebp (1.3.2-r0) 17:23:05 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:23:05 (37/104) Installing numactl (2.0.16-r4) 17:23:05 (38/104) Installing x265-libs (3.5-r4) 17:23:06 (39/104) Installing xvidcore (1.3.7-r1) 17:23:06 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 17:23:06 (41/104) Installing alsa-lib (1.2.9-r1) 17:23:06 (42/104) Installing libexpat (2.6.2-r0) 17:23:06 (43/104) Installing libbz2 (1.0.8-r5) 17:23:06 (44/104) Installing libpng (1.6.39-r3) 17:23:06 (45/104) Installing freetype (2.13.0-r5) 17:23:06 (46/104) Installing fontconfig (2.14.2-r3) 17:23:06 (47/104) Installing fribidi (1.0.13-r0) 17:23:06 (48/104) Installing libintl (0.21.1-r7) 17:23:06 (49/104) Installing libblkid (2.38.1-r8) 17:23:06 (50/104) Installing libmount (2.38.1-r8) 17:23:06 (51/104) Installing pcre2 (10.42-r1) 17:23:06 (52/104) Installing glib (2.76.6-r0) 17:23:06 (53/104) Installing graphite2 (1.3.14-r5) 17:23:06 (54/104) Installing harfbuzz (7.3.0-r0) 17:23:06 (55/104) Installing libunibreak (5.1-r0) 17:23:06 (56/104) Installing libass (0.17.1-r0) 17:23:06 (57/104) Installing libbluray (1.3.4-r0) 17:23:06 (58/104) Installing gmp (6.2.1-r3) 17:23:06 (59/104) Installing nettle (3.8.1-r2) 17:23:06 (60/104) Installing libunistring (1.1-r1) 17:23:06 (61/104) Installing libidn2 (2.3.4-r1) 17:23:06 (62/104) Installing p11-kit (0.24.1-r2) 17:23:06 (63/104) Installing libtasn1 (4.19.0-r1) 17:23:06 (64/104) Installing gnutls (3.8.4-r0) 17:23:06 (65/104) Installing mpg123-libs (1.31.3-r1) 17:23:06 (66/104) Installing libopenmpt (0.7.2-r0) 17:23:06 (67/104) Installing cjson (1.7.17-r0) 17:23:06 (68/104) Installing mbedtls (2.28.8-r0) 17:23:06 (69/104) Installing librist (0.2.7-r0) 17:23:07 (70/104) Installing libsrt (1.5.2-r0) 17:23:07 (71/104) Installing libssh (0.10.5-r0) 17:23:07 (72/104) Installing xz-libs (5.4.3-r0) 17:23:07 (73/104) Installing libxml2 (2.11.8-r0) 17:23:07 (74/104) Installing libsodium (1.0.18-r3) 17:23:07 (75/104) Installing libzmq (4.3.4-r4) 17:23:07 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 17:23:07 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:23:07 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:23:07 (79/104) Installing shaderc (2023.3-r1) 17:23:07 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:23:07 (81/104) Installing libplacebo (5.264.1-r1) 17:23:07 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 17:23:07 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 17:23:07 (84/104) Installing vidstab (1.1.1-r0) 17:23:07 (85/104) Installing zimg (3.0.5-r0) 17:23:07 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 17:23:07 (87/104) Installing libasyncns (0.8-r1) 17:23:07 (88/104) Installing dbus-libs (1.14.8-r0) 17:23:07 (89/104) Installing libltdl (2.4.7-r2) 17:23:07 (90/104) Installing orc (0.4.34-r0) 17:23:07 (91/104) Installing flac-libs (1.4.3-r0) 17:23:07 (92/104) Installing libsndfile (1.2.0-r2) 17:23:07 (93/104) Installing speexdsp (1.2.1-r1) 17:23:07 (94/104) Installing tdb-libs (1.4.8-r1) 17:23:07 (95/104) Installing libpulse (16.1-r10) 17:23:07 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:23:07 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:23:07 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 17:23:07 (99/104) Installing ffmpeg (6.0.1-r0) 17:23:08 (100/104) Installing udev-init-scripts (35-r1) 17:23:08 (101/104) Installing eudev-libs (3.2.11-r8) 17:23:08 (102/104) Installing zstd-libs (1.5.5-r4) 17:23:08 (103/104) Installing kmod-libs (30-r3) 17:23:08 (104/104) Installing eudev (3.2.11-r8) 17:23:08 Executing busybox-1.36.1-r7.trigger 17:23:08 Executing glib-2.76.6-r0.trigger 17:23:08 Executing eudev-3.2.11-r8.trigger 17:23:08 OK: 110 MiB in 119 packages 17:23:12 Removing intermediate container 9e44f4372f4b 17:23:12 ---> c730cf1a44c4 17:23:12 Step 18/37 : RUN apk --no-cache upgrade 17:23:12 ---> Running in 1c2e333180df 17:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:23:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:23:14 OK: 110 MiB in 119 packages 17:23:14 Removing intermediate container 1c2e333180df 17:23:14 ---> a2dd4f847889 17:23:14 Step 19/37 : WORKDIR / 17:23:14 ---> Running in bace3c8c3c6d 17:23:15 Removing intermediate container bace3c8c3c6d 17:23:15 ---> 65ed2be48a6d 17:23:15 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:23:17 ---> 023e998b1419 17:23:17 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:23:17 ---> 4d2c16f28ca2 17:23:17 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:23:18 ---> fdd46a34990a 17:23:18 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:23:18 ---> 42968215c502 17:23:18 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:23:19 ---> 2c7abad5a277 17:23:19 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:23:19 ---> 5f00004488b5 17:23:19 Step 26/37 : COPY --from=rtsp /mediamtx / 17:23:21 ---> d69aefbbe05a 17:23:21 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:23:21 ---> Running in 0417700daee0 17:23:23 Removing intermediate container 0417700daee0 17:23:23 ---> 9cc0dadd9abb 17:23:23 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:23:23 ---> Running in 51758dc0e38f 17:23:24 Removing intermediate container 51758dc0e38f 17:23:24 ---> f953b993f98c 17:23:24 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:23:24 ---> Running in 237b8961468d 17:23:26 Removing intermediate container 237b8961468d 17:23:26 ---> cb018cbd5b53 17:23:26 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:23:26 ---> Running in 273f01635c88 17:23:28 Removing intermediate container 273f01635c88 17:23:28 ---> 7a65f1975d36 17:23:28 Step 31/37 : EXPOSE 59983 17:23:28 ---> Running in 5a731288fe30 17:23:28 Removing intermediate container 5a731288fe30 17:23:28 ---> 6b3410a5fa45 17:23:28 Step 32/37 : EXPOSE 8554 17:23:28 ---> Running in 903e4f419c8c 17:23:28 Removing intermediate container 903e4f419c8c 17:23:28 ---> c86471d5375c 17:23:28 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:23:28 ---> Running in 158a008eb15f 17:23:28 Removing intermediate container 158a008eb15f 17:23:28 ---> 57c16f24a5ff 17:23:28 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:23:28 ---> Running in 3042febae0f3 17:23:29 Removing intermediate container 3042febae0f3 17:23:29 ---> 0787d42a0290 17:23:29 Step 35/37 : LABEL arch=arm64 17:23:29 ---> Running in 42c81ecad315 17:23:29 Removing intermediate container 42c81ecad315 17:23:29 ---> b4084a7f873c 17:23:29 Step 36/37 : LABEL git_sha=4dd745f784fab0c87dffb895a6218d511c5d5d0b 17:23:29 ---> Running in c4056d9b91c7 17:23:29 Removing intermediate container c4056d9b91c7 17:23:29 ---> 54716d657a52 17:23:29 Step 37/37 : LABEL version=0.0.0 17:23:29 ---> Running in f43b08bbabbc 17:23:30 Removing intermediate container f43b08bbabbc 17:23:30 ---> ebdb86751a68 17:23:30 [Warning] One or more build-args [ARCH] were not consumed 17:23:30 Successfully built ebdb86751a68 17:23:30 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 17:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:31 17:23:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:31 arm64: Pulling from edgex-lftools-log-publisher 17:23:31 8998bd30e6a1: Pulling fs layer 17:23:31 04944245beec: Pulling fs layer 17:23:31 699f458cf7ca: Pulling fs layer 17:23:31 765212b225bb: Pulling fs layer 17:23:31 f23df028b6ca: Pulling fs layer 17:23:31 765212b225bb: Waiting 17:23:31 f23df028b6ca: Waiting 17:23:31 d65c8cfc05b1: Pulling fs layer 17:23:31 2437ff75d9bd: Pulling fs layer 17:23:31 2437ff75d9bd: Waiting 17:23:31 04944245beec: Verifying Checksum 17:23:31 04944245beec: Download complete 17:23:31 765212b225bb: Verifying Checksum 17:23:31 765212b225bb: Download complete 17:23:31 f23df028b6ca: Verifying Checksum 17:23:31 f23df028b6ca: Download complete 17:23:31 d65c8cfc05b1: Verifying Checksum 17:23:31 d65c8cfc05b1: Download complete 17:23:31 699f458cf7ca: Verifying Checksum 17:23:31 699f458cf7ca: Download complete 17:23:32 8998bd30e6a1: Verifying Checksum 17:23:32 8998bd30e6a1: Download complete 17:23:35 2437ff75d9bd: Verifying Checksum 17:23:35 2437ff75d9bd: Download complete 17:23:36 8998bd30e6a1: Pull complete 17:23:37 04944245beec: Pull complete 17:23:38 699f458cf7ca: Pull complete 17:23:39 765212b225bb: Pull complete 17:23:40 f23df028b6ca: Pull complete 17:23:40 d65c8cfc05b1: Pull complete 17:23:58 2437ff75d9bd: Pull complete 17:23:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:58 prd-ubuntu20.04-docker-arm64-4c-16g-8407 does not seem to be running inside a container 17:23:58 $ 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 17:24:01 $ docker top 79431790de398890ec490e58291e3b792b250dd6fc58a816c4c574c9de3be654 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:02 ---> job-cost.sh 17:24:02 lf-activate-venv: SKIPPING 17:24:02 INFO: No Stack... 17:24:02 INFO: Retrieving Pricing Info for: v3-standard-4 17:24:03 INFO: Archiving Costs [Pipeline] sh 17:24:04 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:24:04 + cut -d, -f6 [Pipeline] lock 17:24:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] 17:24:04 Resource [jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] did not exist. Created. 17:24:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:05 /w/workspace/device-usb-camera/1@tmp/durable-d083229a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:24:05 + echo total: 0.10999999940395355 [Pipeline] stash 17:24:05 Warning: overwriting stash ‘stack-cost’ 17:24:05 Stashed 1 file(s) [Pipeline] } 17:24:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-345-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:05 $ docker stop --time=1 79431790de398890ec490e58291e3b792b250dd6fc58a816c4c574c9de3be654 17:24:07 $ docker rm -f --volumes 79431790de398890ec490e58291e3b792b250dd6fc58a816c4c574c9de3be654 [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 17:24:08 provisioning config files... 17:24:08 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-345@tmp/config15410791828973058117tmp [Pipeline] { [Pipeline] sh 17:24:09 + set +x 17:24:09 + + curl -s https://codecov.io/bash 17:24:09 bash -s -- 17:24:09 17:24:09 _____ _ 17:24:09 / ____| | | 17:24:09 | | ___ __| | ___ ___ _____ __ 17:24:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:24:09 | |___| (_) | (_| | __/ (_| (_) \ V / 17:24:09 \_____\___/ \__,_|\___|\___\___/ \_/ 17:24:09 Bash-1.0.6 17:24:09 17:24:09 17:24:09 ==> git version 2.25.1 found 17:24:09 ==> 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 17:24:09 Release-Date: 2020-01-08 17:24:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:24:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:24:09 ==> Jenkins CI detected. 17:24:09 current dir:  /w/workspace/foundry_device-usb-camera_PR-345 17:24:09 project root: . 17:24:09 --> token set from env 17:24:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:24:09 ==> Running gcov in . (disable via -X gcov) 17:24:09 ==> Python coveragepy not found 17:24:09 ==> Searching for coverage reports in: 17:24:09 + . 17:24:09 -> Found 1 reports 17:24:09 ==> Detecting git/mercurial file structure 17:24:09 ==> Reading reports 17:24:09 + ./coverage.out bytes=54703 17:24:09 ==> Appending adjustments 17:24:09 https://docs.codecov.io/docs/fixing-reports 17:24:09 + Found adjustments 17:24:09 ==> Gzipping contents 17:24:09 8.0K /tmp/codecov.oX6Lf2.gz 17:24:09 ==> Uploading reports 17:24:09 url: https://codecov.io 17:24:09 query: branch=PR-345&commit=4dd745f784fab0c87dffb895a6218d511c5d5d0b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-345%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=345&job=&cmd_args= 17:24:09 -> Pinging Codecov 17:24:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-345&commit=4dd745f784fab0c87dffb895a6218d511c5d5d0b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-345%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=345&job=&cmd_args= 17:24:09 -> Uploading to 17:24:09 https://storage.googleapis.com/codecov/v4/raw/2024-08-23/73D8F5FF140700D3E01443B452E23636/4dd745f784fab0c87dffb895a6218d511c5d5d0b/3f28a2d5-5699-403f-aeb7-f6ab1193301d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240823%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240823T172409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=73af4d3eb55d21ad9948fe6f533e01affe457327980ac2ad4c9901047c7e5cba 17:24:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:09 Dload Upload Total Spent Left Speed 17:24:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 27662 --:--:-- --:--:-- --:--:-- 27662 17:24:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/4dd745f784fab0c87dffb895a6218d511c5d5d0b [Pipeline] } 17:24:09 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 17:24:11 + [ -d /w/workspace/foundry_device-usb-camera_PR-345/archives ] 17:24:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-345/archives 17:24:11 total 16 17:24:11 drwxr-xr-x 3 root root 4096 Aug 23 17:12 . 17:24:11 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 17:12 .. 17:24:11 drwxr-xr-x 2 root root 4096 Aug 23 17:12 cost 17:24:11 -rw-r--r-- 1 root root 89 Aug 23 17:12 cost.csv 17:24:11 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-345/archives 17:24:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-345/archives 17:24:11 total 16 17:24:11 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 17:12 . 17:24:11 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 17:12 .. 17:24:11 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 17:12 cost 17:24:11 -rw-r--r-- 1 jenkins jenkins 89 Aug 23 17:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:24:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:24:13 ---> package-listing.sh 17:24:13 ++ facter osfamily 17:24:13 ++ tr '[:upper:]' '[:lower:]' 17:24:13 + OS_FAMILY=debian 17:24:13 + workspace=/w/workspace/foundry_device-usb-camera_PR-345 17:24:13 + START_PACKAGES=/tmp/packages_start.txt 17:24:13 + END_PACKAGES=/tmp/packages_end.txt 17:24:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:24:13 + PACKAGES=/tmp/packages_start.txt 17:24:13 + '[' /w/workspace/foundry_device-usb-camera_PR-345 ']' 17:24:13 + PACKAGES=/tmp/packages_end.txt 17:24:13 + case "${OS_FAMILY}" in 17:24:13 + dpkg -l 17:24:13 + grep '^ii' 17:24:13 + '[' -f /tmp/packages_start.txt ']' 17:24:13 + '[' -f /tmp/packages_end.txt ']' 17:24:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:24:13 + '[' /w/workspace/foundry_device-usb-camera_PR-345 ']' 17:24:13 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-345/archives/ 17:24:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-345/archives/ [Pipeline] echo 17:24:13 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-345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:24:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:14 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 17:24:14 $ 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-345/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-345 -v /w/workspace/foundry_device-usb-camera_PR-345:/w/workspace/foundry_device-usb-camera_PR-345:rw,z -v /w/workspace/foundry_device-usb-camera_PR-345@tmp:/w/workspace/foundry_device-usb-camera_PR-345@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 17:24:14 $ docker top 0369979dad4e83800dacdf1c1fd2ec5e9b626391c04c9fcea25b10da09f10dc0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:15 + touch /tmp/pre-build-complete [Pipeline] sh 17:24:15 + mkdir -p /var/log/sysstat [Pipeline] sh 17:24:16 + ls /var/log/sa-host 17:24:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:16 provisioning config files... 17:24:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-345@tmp/config14135165720873812405tmp [Pipeline] { [Pipeline] echo 17:24:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:24:16 ---> create-netrc.sh [Pipeline] } 17:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:24:17 ---> python-tools-install.sh [Pipeline] echo 17:24:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:24:17 ---> sudo-logs.sh 17:24:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:24:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:24:18 ---> job-cost.sh 17:24:18 lf-activate-venv: SKIPPING 17:24:18 DEBUG: total: 0.2199999988079071 17:24:18 INFO: Retrieving Stack Cost... 17:24:18 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:18 INFO: Archiving Costs [Pipeline] echo 17:24:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:24:19 ---> logs-deploy.sh 17:24:19 lf-activate-venv: SKIPPING 17:24:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-345/1 17:24:19 INFO: archiving workspace using pattern(s): 17:24:20 Archives upload complete. 17:24:20 INFO: archiving logs to Nexus