Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e45334b695358f7697556b9a187576dd4e4a9260+edfedc822c0dc9db28708e00dec995595c43813c (5c070f70852ae0a6297810a7fcc767ab301a6621) 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-ssh7528887331206877462.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-ssh15935623416141082054.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-336/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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2736490029547694449.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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18386099005195835365.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-ssh9554685620850586554.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-336/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-336/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16489642706750915592.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-4931 in /w/workspace/foundry_device-usb-camera_PR-336 [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-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit edfedc822c0dc9db28708e00dec995595c43813c into PR head commit e45334b695358f7697556b9a187576dd4e4a9260 Merge succeeded, producing e45334b695358f7697556b9a187576dd4e4a9260 Checking out Revision e45334b695358f7697556b9a187576dd4e4a9260 (PR-336) 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 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/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e45334b695358f7697556b9a187576dd4e4a9260 # 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 edfedc822c0dc9db28708e00dec995595c43813c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e45334b695358f7697556b9a187576dd4e4a9260 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:20:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:20:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:20:05 ========================================================= 17:20:05 EdgeX Global Pipelines Version Info 17:20:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:20:06 ------------------- 17:20:06 stable info: 17:20:06 ------------------- 17:20:06 Commited By: Ginny Guan ginny@iotechsys.com 17:20:06 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 17:20:06 Message: update stable to v1.0.260 17:20:06 ------------------- 17:20:06 experimental info: 17:20:06 ------------------- 17:20:06 Commited By: Ginny Guan ginny@iotechsys.com 17:20:06 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 17:20:06 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo 17:20:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo 17:20:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo 17:20:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e45334b695358f7697556b9a187576dd4e4a9260 [Pipeline] echo 17:20:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e45334b [Pipeline] echo 17:20:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:09 provisioning config files... 17:20:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-336@tmp/config11503749783629267893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:09 ---> ****-login.sh 17:20:09 nexus3.edgexfoundry.org:10001 17:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:10 Configure a credential helper to remove this warning. See 17:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:10 17:20:10 Login Succeeded 17:20:10 nexus3.edgexfoundry.org:10002 17:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:10 Configure a credential helper to remove this warning. See 17:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:10 17:20:10 Login Succeeded 17:20:10 nexus3.edgexfoundry.org:10003 17:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:10 Configure a credential helper to remove this warning. See 17:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:10 17:20:10 Login Succeeded 17:20:10 nexus3.edgexfoundry.org:10004 17:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:10 Configure a credential helper to remove this warning. See 17:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:10 17:20:10 Login Succeeded 17:20:10 ****.io 17:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:10 Configure a credential helper to remove this warning. See 17:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:10 17:20:10 Login Succeeded 17:20:10 ---> ****-login.sh ends [Pipeline] } 17:20:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:20:11 + git rev-list -1 --merges e45334b695358f7697556b9a187576dd4e4a9260~1..e45334b695358f7697556b9a187576dd4e4a9260 [Pipeline] echo 17:20:11 -----------> git rev-list -1 --merges e45334b695358f7697556b9a187576dd4e4a9260~1..e45334b695358f7697556b9a187576dd4e4a9260 e45334b695358f7697556b9a187576dd4e4a9260 [false] [Pipeline] sh 17:20:11 + git log --format=format:%s -1 e45334b695358f7697556b9a187576dd4e4a9260 [Pipeline] echo 17:20:11 ========================================================= 17:20:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:20:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:12 + git log --format=format:%s -1 e45334b695358f7697556b9a187576dd4e4a9260 [Pipeline] echo 17:20:12 [semverPrep] GIT_COMMIT: e45334b695358f7697556b9a187576dd4e4a9260, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:20:12 [semverPrep] This is not a build commit. [Pipeline] sh 17:20:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:20:12 + grep -v github /etc/ssh/ssh_known_hosts 17:20:12 + [ -e /tmp/ssh_known_hosts ] 17:20:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:20:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:20:12 + sudo tee -a /etc/ssh/ssh_known_hosts 17:20:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:13 17:20:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:13 0.1.4: Pulling from edgex-devops/py-git-semver 17:20:13 b85a868b505f: Pulling fs layer 17:20:13 e2be974225ed: Pulling fs layer 17:20:13 339a4e72a1f5: Pulling fs layer 17:20:13 988bab9f4d93: Pulling fs layer 17:20:13 1469e6f7b9e6: Pulling fs layer 17:20:13 eaf3925da568: Pulling fs layer 17:20:13 bab4dde63d76: Pulling fs layer 17:20:13 bde34c3a00c8: Pulling fs layer 17:20:13 b352a97aabf1: Pulling fs layer 17:20:13 4872d77fe225: Pulling fs layer 17:20:13 5851b861e8e6: Pulling fs layer 17:20:13 988bab9f4d93: Waiting 17:20:13 1469e6f7b9e6: Waiting 17:20:13 eaf3925da568: Waiting 17:20:13 bab4dde63d76: Waiting 17:20:13 bde34c3a00c8: Waiting 17:20:13 b352a97aabf1: Waiting 17:20:13 5851b861e8e6: Waiting 17:20:13 4872d77fe225: Waiting 17:20:13 e2be974225ed: Verifying Checksum 17:20:13 e2be974225ed: Download complete 17:20:13 988bab9f4d93: Verifying Checksum 17:20:13 988bab9f4d93: Download complete 17:20:14 1469e6f7b9e6: Verifying Checksum 17:20:14 1469e6f7b9e6: Download complete 17:20:14 339a4e72a1f5: Verifying Checksum 17:20:14 339a4e72a1f5: Download complete 17:20:14 eaf3925da568: Verifying Checksum 17:20:14 eaf3925da568: Download complete 17:20:14 bde34c3a00c8: Verifying Checksum 17:20:14 bde34c3a00c8: Download complete 17:20:14 b352a97aabf1: Download complete 17:20:14 4872d77fe225: Download complete 17:20:14 5851b861e8e6: Verifying Checksum 17:20:14 5851b861e8e6: Download complete 17:20:14 b85a868b505f: Verifying Checksum 17:20:14 b85a868b505f: Download complete 17:20:14 bab4dde63d76: Verifying Checksum 17:20:14 bab4dde63d76: Download complete 17:20:15 b85a868b505f: Pull complete 17:20:15 e2be974225ed: Pull complete 17:20:16 339a4e72a1f5: Pull complete 17:20:16 988bab9f4d93: Pull complete 17:20:16 1469e6f7b9e6: Pull complete 17:20:16 eaf3925da568: Pull complete 17:20:18 bab4dde63d76: Pull complete 17:20:18 bde34c3a00c8: Pull complete 17:20:18 b352a97aabf1: Pull complete 17:20:19 4872d77fe225: Pull complete 17:20:19 5851b861e8e6: Pull complete 17:20:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:19 prd-ubuntu20.04-docker-8c-8g-4931 does not seem to be running inside a container 17:20:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-336 -v /w/workspace/foundry_device-usb-camera_PR-336:/w/workspace/foundry_device-usb-camera_PR-336:rw,z -v /w/workspace/foundry_device-usb-camera_PR-336@tmp:/w/workspace/foundry_device-usb-camera_PR-336@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:20:22 $ docker top f223e74c5d4261365b33416303cc44f4223cf9673998d22fb79846e2c58d20ea -eo pid,comm 17:20:22 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:20:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:20:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:22 [ssh-agent] Looking for ssh-agent implementation... 17:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:23 $ docker exec f223e74c5d4261365b33416303cc44f4223cf9673998d22fb79846e2c58d20ea ssh-agent 17:20:23 SSH_AUTH_SOCK=/tmp/ssh-3nUiSnArbIBr/agent.32 17:20:23 SSH_AGENT_PID=38 17:20:23 Running ssh-add (command line suppressed) 17:20:23 Identity added: /w/workspace/foundry_device-usb-camera_PR-336@tmp/private_key_8528753463553953394.key (/w/workspace/foundry_device-usb-camera_PR-336@tmp/private_key_8528753463553953394.key) 17:20:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:23 + git tag --points-at HEAD [Pipeline] } 17:20:23 $ docker exec --env ******** --env ******** f223e74c5d4261365b33416303cc44f4223cf9673998d22fb79846e2c58d20ea ssh-agent -k 17:20:23 unset SSH_AUTH_SOCK; 17:20:23 unset SSH_AGENT_PID; 17:20:23 echo Agent pid 38 killed; 17:20:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:20:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:23 [ssh-agent] Looking for ssh-agent implementation... 17:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:23 $ docker exec f223e74c5d4261365b33416303cc44f4223cf9673998d22fb79846e2c58d20ea ssh-agent 17:20:24 SSH_AUTH_SOCK=/tmp/ssh-8nIeM44IRjFS/agent.71 17:20:24 SSH_AGENT_PID=77 17:20:24 Running ssh-add (command line suppressed) 17:20:24 Identity added: /w/workspace/foundry_device-usb-camera_PR-336@tmp/private_key_1924940601109671491.key (/w/workspace/foundry_device-usb-camera_PR-336@tmp/private_key_1924940601109671491.key) 17:20:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:24 + git semver init 17:20:24 2024-07-03 17:20:24,749 [run_init] DEBUG init version:0.0.0 force:False 17:20:24 2024-07-03 17:20:24,749 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-336/.semver 17:20:24 2024-07-03 17:20:24,750 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-336/.semver 17:20:24 2024-07-03 17:20:24,750 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-336/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-336, universal_newlines=False, shell=None, istream=None) 17:20:26 2024-07-03 17:20:26,252 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-336/.git/info/exclude 17:20:26 2024-07-03 17:20:26,253 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-336/.semver/PR-336 with force:False 17:20:26 2024-07-03 17:20:26,253 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-336/.semver/PR-336 17:20:26 2024-07-03 17:20:26,258 [execute] INFO git cat-file --batch-check 17:20:26 2024-07-03 17:20:26,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-336/.semver, universal_newlines=False, shell=None, istream=) 17:20:26 2024-07-03 17:20:26,265 [execute] INFO git cat-file --batch 17:20:26 2024-07-03 17:20:26,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-336/.semver, universal_newlines=False, shell=None, istream=) 17:20:26 2024-07-03 17:20:26,272 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-336/.semver/PR-336 17:20:26 0.0.0 [Pipeline] } 17:20:26 $ docker exec --env ******** --env ******** f223e74c5d4261365b33416303cc44f4223cf9673998d22fb79846e2c58d20ea ssh-agent -k 17:20:26 unset SSH_AUTH_SOCK; 17:20:26 unset SSH_AGENT_PID; 17:20:26 echo Agent pid 77 killed; 17:20:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:20:27 + git semver [Pipeline] } 17:20:27 $ docker stop --time=1 f223e74c5d4261365b33416303cc44f4223cf9673998d22fb79846e2c58d20ea 17:20:28 $ docker rm -f --volumes f223e74c5d4261365b33416303cc44f4223cf9673998d22fb79846e2c58d20ea [Pipeline] // withDockerContainer [Pipeline] sh 17:20:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:20:29 Stashed 1 file(s) [Pipeline] echo 17:20:29 [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:20:30 provisioning config files... 17:20:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-336@tmp/config7314889762878933328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:31 ---> ****-login.sh 17:20:31 nexus3.edgexfoundry.org:10001 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 nexus3.edgexfoundry.org:10002 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 nexus3.edgexfoundry.org:10003 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 nexus3.edgexfoundry.org:10004 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 ****.io 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 ---> ****-login.sh ends [Pipeline] } 17:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:20:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:20:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:20:31 ========================================================= 17:20:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:20:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:32 + 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:20:32 Sending build context to Docker daemon 20.43MB 17:20:32 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:20:32 Step 2/13 : FROM ${BASE} AS builder 17:20:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:20:32 619be1103602: Pulling fs layer 17:20:32 7862e08f4a3e: Pulling fs layer 17:20:32 5df492c9dc93: Pulling fs layer 17:20:32 7629e6793208: Pulling fs layer 17:20:32 4f4fb700ef54: Pulling fs layer 17:20:32 fb5054dd5b73: Pulling fs layer 17:20:32 eeca6798cff9: Pulling fs layer 17:20:32 aa269ceb94a6: Pulling fs layer 17:20:32 ada007ff1a6a: Pulling fs layer 17:20:32 fb5054dd5b73: Waiting 17:20:32 eeca6798cff9: Waiting 17:20:32 4f4fb700ef54: Waiting 17:20:32 ada007ff1a6a: Waiting 17:20:32 7862e08f4a3e: Download complete 17:20:32 7629e6793208: Download complete 17:20:32 4f4fb700ef54: Verifying Checksum 17:20:32 4f4fb700ef54: Download complete 17:20:32 fb5054dd5b73: Download complete 17:20:32 619be1103602: Verifying Checksum 17:20:32 619be1103602: Download complete 17:20:32 eeca6798cff9: Verifying Checksum 17:20:32 eeca6798cff9: Download complete 17:20:32 619be1103602: Pull complete 17:20:32 ada007ff1a6a: Verifying Checksum 17:20:32 ada007ff1a6a: Download complete 17:20:32 7862e08f4a3e: Pull complete 17:20:33 5df492c9dc93: Verifying Checksum 17:20:33 5df492c9dc93: Download complete 17:20:33 aa269ceb94a6: Verifying Checksum 17:20:33 aa269ceb94a6: Download complete 17:20:36 5df492c9dc93: Pull complete 17:20:36 7629e6793208: Pull complete 17:20:36 4f4fb700ef54: Pull complete 17:20:36 fb5054dd5b73: Pull complete 17:20:37 eeca6798cff9: Pull complete 17:20:39 aa269ceb94a6: Pull complete 17:20:39 ada007ff1a6a: Pull complete 17:20:39 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:20:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:20:39 ---> f489d0715acc 17:20:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:20:44 ---> Running in ff298a836963 17:20:44 Removing intermediate container ff298a836963 17:20:44 ---> 0959c495ff40 17:20:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:20:44 ---> Running in 68640d600dc3 17:20:44 Removing intermediate container 68640d600dc3 17:20:44 ---> eed05c97046d 17:20:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:20:44 ---> Running in 38fbd1534840 17:20:44 Removing intermediate container 38fbd1534840 17:20:44 ---> acf64c7231bf 17:20:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:20:44 ---> Running in 2cf2e27f699c 17:20:44 Removing intermediate container 2cf2e27f699c 17:20:44 ---> 978ab61b80f8 17:20:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:20:44 ---> Running in e244586bb4bb 17:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:20:44 (1/13) Installing libintl (0.21.1-r7) 17:20:44 (2/13) Installing eudev-libs (3.2.11-r8) 17:20:44 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:20:44 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:20:44 (5/13) Installing v4l-utils (1.24.1-r0) 17:20:44 (6/13) Installing libdvbv5 (1.24.1-r0) 17:20:44 (7/13) Installing udev-init-scripts (35-r1) 17:20:44 (8/13) Installing libblkid (2.38.1-r8) 17:20:44 (9/13) Installing xz-libs (5.4.3-r0) 17:20:44 (10/13) Installing kmod-libs (30-r3) 17:20:44 (11/13) Installing eudev (3.2.11-r8) 17:20:44 (12/13) Installing eudev-dev (3.2.11-r8) 17:20:44 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:20:44 Executing busybox-1.36.1-r5.trigger 17:20:44 Executing eudev-3.2.11-r8.trigger 17:20:44 OK: 271 MiB in 65 packages 17:20:45 Removing intermediate container e244586bb4bb 17:20:45 ---> 3f5abd6796dd 17:20:45 Step 8/13 : WORKDIR /device-usb-camera 17:20:45 ---> Running in e57d1194bf5b 17:20:45 Removing intermediate container e57d1194bf5b 17:20:45 ---> 9ad05bd7139c 17:20:45 Step 9/13 : COPY go.mod vendor* ./ 17:20:45 Still waiting to schedule task 17:20:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:20:45 ---> b930b44371c1 17:20:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:20:45 ---> Running in 68f88c521c85 17:21:41 Removing intermediate container 68f88c521c85 17:21:41 ---> ede3ed2b7f28 17:21:41 Step 11/13 : COPY . . 17:21:41 ---> 901680cd3e73 17:21:41 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:21:41 ---> Running in 2bcbe2bcd973 17:21:41  % Total % Received % Xferd Average Speed Time Time Time Current 17:21:41 Dload Upload Total Spent Left Speed 17:21:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11106 0 --:--:-- --:--:-- --:--:-- 11178 17:21:41 Removing intermediate container 2bcbe2bcd973 17:21:41 ---> a375798bd19e 17:21:41 Step 13/13 : RUN ${MAKE} 17:21:41 ---> Running in 6c4cfcbd6555 17:21:41 noop 17:21:41 Removing intermediate container 6c4cfcbd6555 17:21:41 ---> 68e26e630150 17:21:41 Successfully built 68e26e630150 17:21:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:42 + docker inspect -f . ci-base-image-x86_64 17:21:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:42 prd-ubuntu20.04-docker-8c-8g-4931 does not seem to be running inside a container 17:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-336 -v /w/workspace/foundry_device-usb-camera_PR-336:/w/workspace/foundry_device-usb-camera_PR-336:rw,z -v /w/workspace/foundry_device-usb-camera_PR-336@tmp:/w/workspace/foundry_device-usb-camera_PR-336@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:21:42 $ docker top fc677a8593eeae899489c7769533788b2a93a5c4787de9d362c37007cd9bbb90 -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:43 + go version 17:21:43 go version go1.21.9 linux/amd64 [Pipeline] } 17:21:43 $ docker stop --time=1 fc677a8593eeae899489c7769533788b2a93a5c4787de9d362c37007cd9bbb90 17:21:44 $ docker rm -f --volumes fc677a8593eeae899489c7769533788b2a93a5c4787de9d362c37007cd9bbb90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:45 + docker inspect -f . ci-base-image-x86_64 17:21:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:45 prd-ubuntu20.04-docker-8c-8g-4931 does not seem to be running inside a container 17:21:45 $ 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-336 -v /w/workspace/foundry_device-usb-camera_PR-336:/w/workspace/foundry_device-usb-camera_PR-336:rw,z -v /w/workspace/foundry_device-usb-camera_PR-336@tmp:/w/workspace/foundry_device-usb-camera_PR-336@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:21:46 $ docker top 2ddf4e2af2ab48fdcfa75c6d0782f8fbeb21950dc1c4327f451c989a8a002d48 -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:46 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-336 [Pipeline] fileExists [Pipeline] sh 17:21:46 + make test 17:21:46 go test ./... -coverprofile=coverage.out ./... 17:21:48 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:22:10 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:22:10 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 4.4% of statements 17:22:18 go vet ./... 17:22:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4932 in /w/workspace/foundry_device-usb-camera_PR-336 [Pipeline] { [Pipeline] ws 17:22:20 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:22:23 Selected Git installation does not exist. Using Default 17:22:23 The recommended git tool is: NONE 17:22:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:22:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:22:24 ./bin/test-attribution-txt.sh 17:22:24 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:22:24 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:22:24 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:22:24 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:22:24 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:22:24 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:22:24 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:22:24 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:22:24 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:22:24 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:22:24 $ docker stop --time=1 2ddf4e2af2ab48fdcfa75c6d0782f8fbeb21950dc1c4327f451c989a8a002d48 17:22:27 $ docker rm -f --volumes 2ddf4e2af2ab48fdcfa75c6d0782f8fbeb21950dc1c4327f451c989a8a002d48 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:22:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:22:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:22:29 + ls -al . 17:22:29 total 292 17:22:29 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 17:21 . 17:22:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 17:19 .. 17:22:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 17:22 .git 17:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 17:20 .github 17:22:29 -rw-rw-r-- 1 jenkins jenkins 379 Jul 3 17:20 .gitignore 17:22:29 -rw-rw-r-- 1 jenkins jenkins 45 Jul 3 17:20 .golangci.yml 17:22:29 -rw-rw-r-- 1 jenkins jenkins 77 Jul 3 17:20 .hadolint.yml 17:22:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 17:20 .semver 17:22:29 -rw-rw-r-- 1 jenkins jenkins 10870 Jul 3 17:20 Attribution.txt 17:22:29 -rw-rw-r-- 1 jenkins jenkins 16561 Jul 3 17:20 CHANGELOG.md 17:22:29 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 3 17:20 Dockerfile 17:22:29 -rw-rw-r-- 1 jenkins jenkins 678 Jul 3 17:20 GOVERNANCE.md 17:22:29 -rw-rw-r-- 1 jenkins jenkins 659 Jul 3 17:20 Jenkinsfile 17:22:29 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 17:20 LICENSE 17:22:29 -rw-rw-r-- 1 jenkins jenkins 2611 Jul 3 17:20 Makefile 17:22:29 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 17:20 OWNERS.md 17:22:29 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 3 17:20 README.md 17:22:29 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 17:20 VERSION 17:22:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 17:20 bin 17:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 17:20 cmd 17:22:29 -rw-r--r-- 1 jenkins jenkins 54703 Jul 3 17:22 coverage.out 17:22:29 -rwxrwxr-x 1 jenkins jenkins 84 Jul 3 17:20 docker-entrypoint.sh 17:22:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 17:20 docs 17:22:29 -rw-rw-r-- 1 jenkins jenkins 7267 Jul 3 17:20 go.mod 17:22:29 -rw-rw-r-- 1 jenkins jenkins 102299 Jul 3 17:20 go.sum 17:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 17:20 internal 17:22:29 -rw-rw-r-- 1 jenkins jenkins 231 Jul 3 17:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:29 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e45334b695358f7697556b9a187576dd4e4a9260 --label arch=amd64 --label version=0.0.0 . 17:22:29 Sending build context to Docker daemon 20.48MB 17:22:29 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:22:29 Step 2/37 : FROM ${BASE} AS builder 17:22:29 ---> 68e26e630150 17:22:29 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:22:30 ---> Running in f9ce521ef2b8 17:22:30 Removing intermediate container f9ce521ef2b8 17:22:30 ---> 73e5d46810e6 17:22:30 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:30 ---> Running in 935f2f7fa48b 17:22:30 Removing intermediate container 935f2f7fa48b 17:22:30 ---> 515406ff6cd4 17:22:30 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:22:30 ---> Running in 60a9ef5b6198 17:22:30 Removing intermediate container 60a9ef5b6198 17:22:30 ---> 0fa11368433d 17:22:30 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:22:30 ---> Running in a80b373c0be4 17:22:30 Removing intermediate container a80b373c0be4 17:22:30 ---> 9507b1c1affd 17:22:30 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:30 ---> Running in 4d1a0049493a 17:22:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:22:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:22:31 using credential edgex-jenkins-ssh 17:22:31 Cloning the remote Git repository 17:22:31 OK: 271 MiB in 65 packages 17:22:31 Removing intermediate container 4d1a0049493a 17:22:31 ---> 966e7cf4df05 17:22:31 Step 8/37 : WORKDIR /device-usb-camera 17:22:31 ---> Running in a6558cfd7950 17:22:31 Removing intermediate container a6558cfd7950 17:22:31 ---> 33a526ea69e3 17:22:31 Step 9/37 : COPY go.mod vendor* ./ 17:22:31 ---> 6b71b2525606 17:22:31 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:31 ---> Running in fdabdcbf2f96 17:22:31 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:22:31 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:22:31 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:22:31 > git --version # timeout=10 17:22:31 > git --version # 'git version 2.25.1' 17:22:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:32 Removing intermediate container fdabdcbf2f96 17:22:32 ---> 7cb566e953fd 17:22:32 Step 11/37 : COPY . . 17:22:33 ---> e0d5d4206f8d 17:22:33 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:22:33 ---> Running in ed21f5e83256 17:22:33  % Total % Received % Xferd Average Speed Time Time Time Current 17:22:33 Dload Upload Total Spent Left Speed 17:22:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 33544 0 --:--:-- --:--:-- --:--:-- 34258 17:22:33 Removing intermediate container ed21f5e83256 17:22:33 ---> 95841befd37e 17:22:33 Step 13/37 : RUN ${MAKE} 17:22:33 ---> Running in 1b3bed7dbd1e 17:22:34 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.20" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:22:34 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:22:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:36 Merging remotes/origin/main commit edfedc822c0dc9db28708e00dec995595c43813c into PR head commit e45334b695358f7697556b9a187576dd4e4a9260 17:22:35 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:22:35 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:22:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:22:36 > git config core.sparsecheckout # timeout=10 17:22:36 > git checkout -f e45334b695358f7697556b9a187576dd4e4a9260 # timeout=10 17:22:36 > git remote # timeout=10 17:22:36 Merge succeeded, producing e45334b695358f7697556b9a187576dd4e4a9260 17:22:36 Checking out Revision e45334b695358f7697556b9a187576dd4e4a9260 (PR-336) 17:22:37 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:22:37 > git --version # timeout=10 17:22:37 > git --version # 'git version 2.25.1' 17:22:37 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 17:22:36 > git config --get remote.origin.url # timeout=10 17:22:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:36 > git merge edfedc822c0dc9db28708e00dec995595c43813c # timeout=10 17:22:36 > git rev-parse HEAD^{commit} # timeout=10 17:22:36 > git config core.sparsecheckout # timeout=10 17:22:36 > git checkout -f e45334b695358f7697556b9a187576dd4e4a9260 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:22:42 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:42 Dload Upload Total Spent Left Speed 17:22:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh 17:22:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:22:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:22:42 + sudo tee /etc/docker/daemon.new 17:22:42 { 17:22:42 "registry-mirrors": [ 17:22:42 "https://nexus3.edgexfoundry.org:10001" 17:22:42 ], 17:22:42 "bip": "10.250.0.254/24", 17:22:42 "hosts": [ 17:22:42 "tcp://0.0.0.0:5555", 17:22:42 "unix:///var/run/docker.sock" 17:22:42 ], 17:22:42 "mtu": 1458, 17:22:42 "selinux-enabled": true, 17:22:42 "seccomp-profile": "/etc/docker/seccomp.json" 17:22:42 } [Pipeline] sh 17:22:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:22:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:02 provisioning config files... 17:23:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config13473474600499959144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:02 ---> ****-login.sh 17:23:02 nexus3.edgexfoundry.org:10001 17:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:23:03 Configure a credential helper to remove this warning. See 17:23:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:23:03 17:23:03 Login Succeeded 17:23:03 nexus3.edgexfoundry.org:10002 17:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:23:03 Configure a credential helper to remove this warning. See 17:23:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:23:03 17:23:03 Login Succeeded 17:23:03 nexus3.edgexfoundry.org:10003 17:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:23:03 Configure a credential helper to remove this warning. See 17:23:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:23:03 17:23:03 Login Succeeded 17:23:03 nexus3.edgexfoundry.org:10004 17:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:23:04 Configure a credential helper to remove this warning. See 17:23:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:23:04 17:23:04 Login Succeeded 17:23:04 ****.io 17:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:23:04 Configure a credential helper to remove this warning. See 17:23:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:23:04 17:23:04 Login Succeeded 17:23:04 ---> ****-login.sh ends [Pipeline] } 17:23:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:23:05 ========================================================= 17:23:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:23:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:05 + 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:23:06 Sending build context to Docker daemon 10.48MB 17:23:06 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:23:06 Step 2/13 : FROM ${BASE} AS builder 17:23:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:23:06 c6b39de5b339: Pulling fs layer 17:23:06 a69c41024577: Pulling fs layer 17:23:06 d6de4b400683: Pulling fs layer 17:23:06 35cb2a7552d0: Pulling fs layer 17:23:06 4f4fb700ef54: Pulling fs layer 17:23:06 464afbd9ba4c: Pulling fs layer 17:23:06 00f215d4a9da: Pulling fs layer 17:23:06 35cb2a7552d0: Waiting 17:23:06 464afbd9ba4c: Waiting 17:23:06 4f4fb700ef54: Waiting 17:23:06 d496ad576159: Pulling fs layer 17:23:06 00f215d4a9da: Waiting 17:23:06 a69c41024577: Download complete 17:23:06 35cb2a7552d0: Download complete 17:23:06 4f4fb700ef54: Verifying Checksum 17:23:06 4f4fb700ef54: Download complete 17:23:06 464afbd9ba4c: Download complete 17:23:06 c6b39de5b339: Verifying Checksum 17:23:06 c6b39de5b339: Download complete 17:23:07 d496ad576159: Download complete 17:23:07 c6b39de5b339: Pull complete 17:23:07 a69c41024577: Pull complete 17:23:08 d6de4b400683: Verifying Checksum 17:23:08 d6de4b400683: Download complete 17:23:09 00f215d4a9da: Verifying Checksum 17:23:09 00f215d4a9da: Download complete 17:23:12 Removing intermediate container 1b3bed7dbd1e 17:23:12 ---> a6bd16b487cf 17:23:12 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:23:12 1.8.2: Pulling from bluenviron/mediamtx 17:23:12 8411072a22a5: Pulling fs layer 17:23:12 8411072a22a5: Verifying Checksum 17:23:12 8411072a22a5: Download complete 17:23:12 8411072a22a5: Pull complete 17:23:12 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:23:12 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:23:12 ---> 1ac78cb06e13 17:23:12 Step 15/37 : FROM alpine:3.18 17:23:12 3.18: Pulling from library/alpine 17:23:12 73baa7ef167e: Pulling fs layer 17:23:12 73baa7ef167e: Verifying Checksum 17:23:12 73baa7ef167e: Download complete 17:23:12 73baa7ef167e: Pull complete 17:23:12 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 17:23:12 Status: Downloaded newer image for alpine:3.18 17:23:12 ---> 8fd7cac70a4a 17:23:12 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:23:12 ---> Running in 3c35a7b334d5 17:23:12 Removing intermediate container 3c35a7b334d5 17:23:12 ---> 0a92bdcebb5c 17:23:12 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:23:12 ---> Running in 023937f5e834 17:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:23:12 (1/107) Installing dumb-init (1.2.5-r2) 17:23:12 (2/107) Installing sdl2 (2.26.5-r0) 17:23:12 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:23:12 (4/107) Installing aom-libs (3.6.1-r0) 17:23:12 (5/107) Installing libxau (1.0.11-r2) 17:23:12 (6/107) Installing libmd (1.0.4-r2) 17:23:12 (7/107) Installing libbsd (0.11.7-r1) 17:23:12 (8/107) Installing libxdmcp (1.1.4-r2) 17:23:12 (9/107) Installing libxcb (1.15-r1) 17:23:12 (10/107) Installing libx11 (1.8.7-r0) 17:23:12 (11/107) Installing hwdata-pci (0.370-r0) 17:23:12 (12/107) Installing libpciaccess (0.17-r2) 17:23:12 (13/107) Installing libdrm (2.4.115-r4) 17:23:12 (14/107) Installing libxext (1.3.5-r2) 17:23:12 (15/107) Installing libxfixes (6.0.1-r2) 17:23:12 (16/107) Installing libffi (3.4.4-r2) 17:23:12 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:23:12 (18/107) Installing libva (2.18.0-r1) 17:23:12 (19/107) Installing libvdpau (1.5-r1) 17:23:12 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:23:12 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:23:12 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:23:12 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:23:12 (24/107) Installing libdav1d (1.2.1-r0) 17:23:12 (25/107) Installing brotli-libs (1.0.9-r14) 17:23:12 (26/107) Installing libhwy (1.0.4-r1) 17:23:12 (27/107) Installing lcms2 (2.15-r2) 17:23:12 (28/107) Installing libjxl (0.8.2-r0) 17:23:12 (29/107) Installing lame-libs (3.100-r5) 17:23:12 (30/107) Installing opus (1.4-r0) 17:23:12 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:23:12 (32/107) Installing soxr (0.1.3-r5) 17:23:12 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:23:12 (34/107) Installing libogg (1.3.5-r4) 17:23:12 (35/107) Installing libtheora (1.1.1-r17) 17:23:12 (36/107) Installing libvorbis (1.3.7-r1) 17:23:12 (37/107) Installing libvpx (1.13.0-r2) 17:23:12 (38/107) Installing libwebp (1.3.2-r0) 17:23:12 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:23:12 (40/107) Installing numactl (2.0.16-r4) 17:23:12 (41/107) Installing x265-libs (3.5-r4) 17:23:12 (42/107) Installing xvidcore (1.3.7-r1) 17:23:12 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:23:12 (44/107) Installing alsa-lib (1.2.9-r1) 17:23:12 (45/107) Installing libexpat (2.6.2-r0) 17:23:12 (46/107) Installing libbz2 (1.0.8-r5) 17:23:12 (47/107) Installing libpng (1.6.39-r3) 17:23:12 (48/107) Installing freetype (2.13.0-r5) 17:23:12 (49/107) Installing fontconfig (2.14.2-r3) 17:23:12 (50/107) Installing fribidi (1.0.13-r0) 17:23:12 (51/107) Installing libintl (0.21.1-r7) 17:23:12 (52/107) Installing libblkid (2.38.1-r8) 17:23:12 (53/107) Installing libmount (2.38.1-r8) 17:23:12 (54/107) Installing pcre2 (10.42-r1) 17:23:12 (55/107) Installing glib (2.76.6-r0) 17:23:12 (56/107) Installing graphite2 (1.3.14-r5) 17:23:12 (57/107) Installing harfbuzz (7.3.0-r0) 17:23:12 (58/107) Installing libunibreak (5.1-r0) 17:23:12 (59/107) Installing libass (0.17.1-r0) 17:23:12 (60/107) Installing libbluray (1.3.4-r0) 17:23:12 (61/107) Installing gmp (6.2.1-r3) 17:23:12 (62/107) Installing nettle (3.8.1-r2) 17:23:12 (63/107) Installing libunistring (1.1-r1) 17:23:12 (64/107) Installing libidn2 (2.3.4-r1) 17:23:12 (65/107) Installing p11-kit (0.24.1-r2) 17:23:12 (66/107) Installing libtasn1 (4.19.0-r1) 17:23:12 (67/107) Installing gnutls (3.8.4-r0) 17:23:12 (68/107) Installing mpg123-libs (1.31.3-r1) 17:23:12 (69/107) Installing libopenmpt (0.7.2-r0) 17:23:12 (70/107) Installing cjson (1.7.17-r0) 17:23:12 (71/107) Installing mbedtls (2.28.8-r0) 17:23:12 (72/107) Installing librist (0.2.7-r0) 17:23:12 (73/107) Installing libsrt (1.5.2-r0) 17:23:12 (74/107) Installing libssh (0.10.5-r0) 17:23:12 (75/107) Installing xz-libs (5.4.3-r0) 17:23:12 (76/107) Installing libxml2 (2.11.8-r0) 17:23:12 (77/107) Installing libsodium (1.0.18-r3) 17:23:12 (78/107) Installing libzmq (4.3.4-r4) 17:23:12 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:23:12 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:23:12 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:23:12 (82/107) Installing shaderc (2023.3-r1) 17:23:12 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:23:12 (84/107) Installing libplacebo (5.264.1-r1) 17:23:12 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:23:12 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:23:12 (87/107) Installing vidstab (1.1.1-r0) 17:23:12 (88/107) Installing zimg (3.0.5-r0) 17:23:12 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:23:12 (90/107) Installing libasyncns (0.8-r1) 17:23:12 (91/107) Installing dbus-libs (1.14.8-r0) 17:23:12 (92/107) Installing libltdl (2.4.7-r2) 17:23:12 (93/107) Installing orc (0.4.34-r0) 17:23:12 (94/107) Installing flac-libs (1.4.3-r0) 17:23:12 (95/107) Installing libsndfile (1.2.0-r2) 17:23:12 (96/107) Installing speexdsp (1.2.1-r1) 17:23:12 (97/107) Installing tdb-libs (1.4.8-r1) 17:23:12 (98/107) Installing libpulse (16.1-r10) 17:23:12 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:23:12 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:23:12 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:23:12 (102/107) Installing ffmpeg (6.0.1-r0) 17:23:12 (103/107) Installing udev-init-scripts (35-r1) 17:23:12 (104/107) Installing eudev-libs (3.2.11-r8) 17:23:12 (105/107) Installing zstd-libs (1.5.5-r4) 17:23:12 (106/107) Installing kmod-libs (30-r3) 17:23:12 (107/107) Installing eudev (3.2.11-r8) 17:23:12 Executing busybox-1.36.1-r7.trigger 17:23:12 Executing glib-2.76.6-r0.trigger 17:23:12 Executing eudev-3.2.11-r8.trigger 17:23:12 OK: 131 MiB in 122 packages 17:23:15 Removing intermediate container 023937f5e834 17:23:15 ---> 58e7da163181 17:23:15 Step 18/37 : RUN apk --no-cache upgrade 17:23:15 ---> Running in 921cf4444b30 17:23:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:23:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:23:16 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 17:23:16 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 17:23:16 OK: 131 MiB in 122 packages 17:23:16 Removing intermediate container 921cf4444b30 17:23:16 ---> 70b5d8793f8e 17:23:16 Step 19/37 : WORKDIR / 17:23:16 ---> Running in 0cf8cdca0de3 17:23:16 Removing intermediate container 0cf8cdca0de3 17:23:16 ---> 4e443b39f722 17:23:16 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:23:17 ---> 64bb5aed8e6a 17:23:17 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:23:17 ---> c1d51767c8ed 17:23:17 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:23:17 ---> 5bc7ad9a9824 17:23:17 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:23:18 ---> 22c8bb51f1c3 17:23:18 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:23:18 ---> 7b0e80631644 17:23:18 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:23:18 ---> af0135b53aa1 17:23:18 Step 26/37 : COPY --from=rtsp /mediamtx / 17:23:19 ---> a7f7eecb91eb 17:23:19 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:23:19 ---> Running in 83a913601eeb 17:23:19 Removing intermediate container 83a913601eeb 17:23:19 ---> cb11d9bc9603 17:23:19 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:23:19 ---> Running in 712a05fc72b3 17:23:20 Removing intermediate container 712a05fc72b3 17:23:20 ---> 3fb3c3b9a67c 17:23:20 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:23:20 ---> Running in 44db8a948e92 17:23:20 Removing intermediate container 44db8a948e92 17:23:20 ---> 5037ed08b81a 17:23:20 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:23:20 ---> Running in d283aeb7b851 17:23:21 Removing intermediate container d283aeb7b851 17:23:21 ---> 69d2e8dc7541 17:23:21 Step 31/37 : EXPOSE 59983 17:23:21 ---> Running in 06899d11aab2 17:23:21 Removing intermediate container 06899d11aab2 17:23:21 ---> 21bb091ce22b 17:23:21 Step 32/37 : EXPOSE 8554 17:23:21 ---> Running in 7bf998c51c5b 17:23:21 Removing intermediate container 7bf998c51c5b 17:23:21 ---> 9a606fd69fdb 17:23:21 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:23:21 ---> Running in db2f0026e155 17:23:21 Removing intermediate container db2f0026e155 17:23:21 ---> b22b67eeb94f 17:23:21 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:23:21 ---> Running in dac4ac913c0b 17:23:21 Removing intermediate container dac4ac913c0b 17:23:21 ---> c9118e0bacbc 17:23:21 Step 35/37 : LABEL arch=amd64 17:23:21 ---> Running in c6ebe9384a9d 17:23:21 Removing intermediate container c6ebe9384a9d 17:23:21 ---> dcdf25a73d58 17:23:21 Step 36/37 : LABEL git_sha=e45334b695358f7697556b9a187576dd4e4a9260 17:23:21 ---> Running in 4dd5ec8982fe 17:23:21 Removing intermediate container 4dd5ec8982fe 17:23:21 ---> e887f3c98459 17:23:21 Step 37/37 : LABEL version=0.0.0 17:23:21 ---> Running in e087b21963c2 17:23:21 d6de4b400683: Pull complete 17:23:21 35cb2a7552d0: Pull complete 17:23:21 4f4fb700ef54: Pull complete 17:23:21 464afbd9ba4c: Pull complete 17:23:21 Removing intermediate container e087b21963c2 17:23:21 ---> 03cb9b2773e4 17:23:21 [Warning] One or more build-args [ARCH] were not consumed 17:23:21 Successfully built 03cb9b2773e4 17:23:21 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:23 17:23:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:23 latest: Pulling from edgex-lftools-log-publisher 17:23:23 5eb5b503b376: Pulling fs layer 17:23:23 5c69ac0246d0: Pulling fs layer 17:23:23 ec43610c2a17: Pulling fs layer 17:23:23 3a2ae6a8a46f: Pulling fs layer 17:23:23 33b1e0a273af: Pulling fs layer 17:23:23 5d3b04190fa2: Pulling fs layer 17:23:23 2f39f015ded8: Pulling fs layer 17:23:23 33b1e0a273af: Waiting 17:23:23 5d3b04190fa2: Waiting 17:23:23 2f39f015ded8: Waiting 17:23:23 5c69ac0246d0: Verifying Checksum 17:23:23 5c69ac0246d0: Download complete 17:23:23 3a2ae6a8a46f: Verifying Checksum 17:23:23 3a2ae6a8a46f: Download complete 17:23:23 33b1e0a273af: Verifying Checksum 17:23:23 33b1e0a273af: Download complete 17:23:23 5d3b04190fa2: Download complete 17:23:23 ec43610c2a17: Verifying Checksum 17:23:23 ec43610c2a17: Download complete 17:23:23 5eb5b503b376: Verifying Checksum 17:23:23 5eb5b503b376: Download complete 17:23:24 2f39f015ded8: Download complete 17:23:24 5eb5b503b376: Pull complete 17:23:24 5c69ac0246d0: Pull complete 17:23:25 ec43610c2a17: Pull complete 17:23:25 3a2ae6a8a46f: Pull complete 17:23:25 33b1e0a273af: Pull complete 17:23:25 5d3b04190fa2: Pull complete 17:23:29 2f39f015ded8: Pull complete 17:23:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:30 prd-ubuntu20.04-docker-8c-8g-4931 does not seem to be running inside a container 17:23:30 $ 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-336 -v /w/workspace/foundry_device-usb-camera_PR-336:/w/workspace/foundry_device-usb-camera_PR-336:rw,z -v /w/workspace/foundry_device-usb-camera_PR-336@tmp:/w/workspace/foundry_device-usb-camera_PR-336@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:23:31 00f215d4a9da: Pull complete 17:23:31 d496ad576159: Pull complete 17:23:31 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 17:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:23:31 ---> f246e2811388 17:23:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:23:33 ---> Running in 8c812329ff98 17:23:34 Removing intermediate container 8c812329ff98 17:23:34 ---> fe4ee99093ca 17:23:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:34 ---> Running in 2ba68881ae35 17:23:34 $ docker top acb74e41cf3dcca8b2506e1da7eda5b5814bcd9fa99eb57252e6de261a7db7b2 -eo pid,comm [Pipeline] { 17:23:34 Removing intermediate container 2ba68881ae35 17:23:34 ---> a60ab4e89841 17:23:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:23:34 ---> Running in 337e93b9625a [Pipeline] libraryResource [Pipeline] sh 17:23:34 Removing intermediate container 337e93b9625a 17:23:34 ---> cb53ab87cff2 17:23:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:23:34 ---> Running in 8bc75c189d64 17:23:34 ---> job-cost.sh 17:23:34 lf-activate-venv: SKIPPING 17:23:34 INFO: No Stack... 17:23:34 Removing intermediate container 8bc75c189d64 17:23:34 ---> def9b580730d 17:23:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:35 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:35 ---> Running in 1835962b623a 17:23:35 INFO: Archiving Costs [Pipeline] sh 17:23:35 + cat /w/workspace/foundry_device-usb-camera_PR-336/archives/cost.csv 17:23:35 + cut -d, -f6 [Pipeline] lock 17:23:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] 17:23:36 Resource [jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] did not exist. Created. 17:23:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:23:36 + echo total: 0.2199999988079071 [Pipeline] stash 17:23:36 Stashed 1 file(s) [Pipeline] } 17:23:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:23:36 $ docker stop --time=1 acb74e41cf3dcca8b2506e1da7eda5b5814bcd9fa99eb57252e6de261a7db7b2 17:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:23:37 (1/13) Installing libintl (0.21.1-r7) 17:23:37 (2/13) Installing eudev-libs (3.2.11-r8) 17:23:37 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:23:37 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:23:37 (5/13) Installing v4l-utils (1.24.1-r0) 17:23:37 (6/13) Installing libdvbv5 (1.24.1-r0) 17:23:37 (7/13) Installing udev-init-scripts (35-r1) 17:23:37 (8/13) Installing libblkid (2.38.1-r8) 17:23:37 (9/13) Installing xz-libs (5.4.3-r0) 17:23:37 (10/13) Installing kmod-libs (30-r3) 17:23:37 (11/13) Installing eudev (3.2.11-r8) 17:23:37 (12/13) Installing eudev-dev (3.2.11-r8) 17:23:37 $ docker rm -f --volumes acb74e41cf3dcca8b2506e1da7eda5b5814bcd9fa99eb57252e6de261a7db7b2 [Pipeline] // withDockerContainer [Pipeline] } 17:23:38 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:23:38 Executing busybox-1.36.1-r5.trigger 17:23:38 Executing eudev-3.2.11-r8.trigger 17:23:38 OK: 273 MiB in 65 packages [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:23:39 Removing intermediate container 1835962b623a 17:23:39 ---> 55672f552822 17:23:39 Step 8/13 : WORKDIR /device-usb-camera 17:23:39 ---> Running in 1a17f8f11c8c 17:23:39 Removing intermediate container 1a17f8f11c8c 17:23:39 ---> 8932732d546d 17:23:39 Step 9/13 : COPY go.mod vendor* ./ 17:23:40 ---> d752d23aacd7 17:23:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:40 ---> Running in 174c0a9cb703 17:25:32 Removing intermediate container 174c0a9cb703 17:25:32 ---> 24b2a13fd74e 17:25:32 Step 11/13 : COPY . . 17:25:32 ---> 0280bd037929 17:25:32 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:25:32 ---> Running in aec9b3746858 17:25:32  % Total % Received % Xferd Average Speed Time Time Time Current 17:25:32 Dload Upload Total Spent Left Speed 17:25:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8136 0 --:--:-- --:--:-- --:--:-- 8232 17:25:32 Removing intermediate container aec9b3746858 17:25:32 ---> da292899a3f6 17:25:32 Step 13/13 : RUN ${MAKE} 17:25:32 ---> Running in 3ababa026b4b 17:25:32 noop 17:25:32 Removing intermediate container 3ababa026b4b 17:25:32 ---> 8f5842bdad7c 17:25:32 Successfully built 8f5842bdad7c 17:25:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:32 + docker inspect -f . ci-base-image-arm64 17:25:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:33 prd-ubuntu20.04-docker-arm64-4c-16g-4932 does not seem to be running inside a container 17:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:25:34 $ docker top daeffb3356053c9ff3126a7e13163fa7c2ca43c37dee0c4e3d38398164823681 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:35 + go version 17:25:35 go version go1.21.9 linux/arm64 [Pipeline] } 17:25:35 $ docker stop --time=1 daeffb3356053c9ff3126a7e13163fa7c2ca43c37dee0c4e3d38398164823681 17:25:36 $ docker rm -f --volumes daeffb3356053c9ff3126a7e13163fa7c2ca43c37dee0c4e3d38398164823681 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:37 + docker inspect -f . ci-base-image-arm64 17:25:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:38 prd-ubuntu20.04-docker-arm64-4c-16g-4932 does not seem to be running inside a container 17:25:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:25:39 $ docker top 74b344cc763ba53632231e94d011705fadfe9d2152cd5f2bffce05ba5a2f0507 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:39 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:25:40 + make test 17:25:40 go test ./... -coverprofile=coverage.out ./... 17:25:46 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:29:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:29:08 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 4.4% of statements 17:29:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:29:08 go vet ./... 17:29:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:29:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:29:54 ./bin/test-attribution-txt.sh 17:29:54 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:29:54 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:29:54 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:29:54 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:29:54 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:29:54 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:29:54 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:29:54 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:29:54 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:29:54 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:29:54 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:29:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:29:55 $ docker stop --time=1 74b344cc763ba53632231e94d011705fadfe9d2152cd5f2bffce05ba5a2f0507 17:29:56 $ docker rm -f --volumes 74b344cc763ba53632231e94d011705fadfe9d2152cd5f2bffce05ba5a2f0507 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:29:58 Warning: overwriting stash ‘coverage-report’ 17:29:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:00 + ls -al . 17:30:00 total 288 17:30:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 17:25 . 17:30:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 17:22 .. 17:30:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 17:22 .git 17:30:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 17:22 .github 17:30:00 -rw-rw-r-- 1 jenkins jenkins 379 Jul 3 17:22 .gitignore 17:30:00 -rw-rw-r-- 1 jenkins jenkins 45 Jul 3 17:22 .golangci.yml 17:30:00 -rw-rw-r-- 1 jenkins jenkins 77 Jul 3 17:22 .hadolint.yml 17:30:00 -rw-rw-r-- 1 jenkins jenkins 10870 Jul 3 17:22 Attribution.txt 17:30:00 -rw-rw-r-- 1 jenkins jenkins 16561 Jul 3 17:22 CHANGELOG.md 17:30:00 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 3 17:22 Dockerfile 17:30:00 -rw-rw-r-- 1 jenkins jenkins 678 Jul 3 17:22 GOVERNANCE.md 17:30:00 -rw-rw-r-- 1 jenkins jenkins 659 Jul 3 17:22 Jenkinsfile 17:30:00 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 17:22 LICENSE 17:30:00 -rw-rw-r-- 1 jenkins jenkins 2611 Jul 3 17:22 Makefile 17:30:00 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 17:22 OWNERS.md 17:30:00 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 3 17:22 README.md 17:30:00 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 17:20 VERSION 17:30:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 17:22 bin 17:30:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 17:22 cmd 17:30:00 -rw-r--r-- 1 jenkins jenkins 54703 Jul 3 17:29 coverage.out 17:30:00 -rwxrwxr-x 1 jenkins jenkins 84 Jul 3 17:22 docker-entrypoint.sh 17:30:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 17:22 docs 17:30:00 -rw-rw-r-- 1 jenkins jenkins 7267 Jul 3 17:22 go.mod 17:30:00 -rw-rw-r-- 1 jenkins jenkins 102299 Jul 3 17:22 go.sum 17:30:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 17:22 internal 17:30:00 -rw-rw-r-- 1 jenkins jenkins 231 Jul 3 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:00 + 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=e45334b695358f7697556b9a187576dd4e4a9260 --label arch=arm64 --label version=0.0.0 . 17:30:01 Sending build context to Docker daemon 10.53MB 17:30:01 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:30:01 Step 2/37 : FROM ${BASE} AS builder 17:30:01 ---> 8f5842bdad7c 17:30:01 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:30:01 ---> Running in b2c4b7f1dbc0 17:30:01 Removing intermediate container b2c4b7f1dbc0 17:30:01 ---> c538221d6cdc 17:30:01 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:01 ---> Running in e8b049d6736f 17:30:02 Removing intermediate container e8b049d6736f 17:30:02 ---> ce5d1817837c 17:30:02 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:30:02 ---> Running in cc836b17593d 17:30:02 Removing intermediate container cc836b17593d 17:30:02 ---> d3cc3eb3530b 17:30:02 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:30:02 ---> Running in 9808f6fdacef 17:30:02 Removing intermediate container 9808f6fdacef 17:30:02 ---> 35236a51223b 17:30:02 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:02 ---> Running in 26e1ead404d7 17:30:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:30:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:30:05 OK: 273 MiB in 65 packages 17:30:05 Removing intermediate container 26e1ead404d7 17:30:05 ---> eb77e171fcd3 17:30:05 Step 8/37 : WORKDIR /device-usb-camera 17:30:05 ---> Running in 675f75d63ad7 17:30:06 Removing intermediate container 675f75d63ad7 17:30:06 ---> 88f19c85a574 17:30:06 Step 9/37 : COPY go.mod vendor* ./ 17:30:06 ---> 35d8a6c1d095 17:30:06 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:06 ---> Running in fbaac44ba782 17:30:09 Removing intermediate container fbaac44ba782 17:30:09 ---> 42ea6314a156 17:30:09 Step 11/37 : COPY . . 17:30:10 ---> ad4f14b17412 17:30:10 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:30:10 ---> Running in ea6b518be26c 17:30:11  % Total % Received % Xferd Average Speed Time Time Time Current 17:30:11 Dload Upload Total Spent Left Speed 17:30:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5732 0 --:--:-- --:--:-- --:--:-- 5771 17:30:12 Removing intermediate container ea6b518be26c 17:30:12 ---> 8798102ffbed 17:30:12 Step 13/37 : RUN ${MAKE} 17:30:12 ---> Running in 2b8fba5b7ec0 17:30:13 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.20" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:33:50 Removing intermediate container 2b8fba5b7ec0 17:33:50 ---> be3c63db07e4 17:33:50 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:33:50 1.8.2: Pulling from bluenviron/mediamtx 17:33:50 da4d7e05a7aa: Pulling fs layer 17:33:50 da4d7e05a7aa: Verifying Checksum 17:33:50 da4d7e05a7aa: Download complete 17:33:50 da4d7e05a7aa: Pull complete 17:33:50 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:33:50 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:33:50 ---> 62c65ed7ef0d 17:33:50 Step 15/37 : FROM alpine:3.18 17:33:50 3.18: Pulling from library/alpine 17:33:50 5c905c7ebe2f: Pulling fs layer 17:33:50 5c905c7ebe2f: Verifying Checksum 17:33:50 5c905c7ebe2f: Download complete 17:33:50 5c905c7ebe2f: Pull complete 17:33:50 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 17:33:50 Status: Downloaded newer image for alpine:3.18 17:33:50 ---> dec292d02e07 17:33:50 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:33:50 ---> Running in 731559c4f67c 17:33:51 Removing intermediate container 731559c4f67c 17:33:51 ---> 7e01e5a606e0 17:33:51 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:33:51 ---> Running in c7a441f55703 17:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:33:53 (1/104) Installing dumb-init (1.2.5-r2) 17:33:53 (2/104) Installing sdl2 (2.26.5-r0) 17:33:53 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:33:53 (4/104) Installing aom-libs (3.6.1-r0) 17:33:54 (5/104) Installing libxau (1.0.11-r2) 17:33:54 (6/104) Installing libmd (1.0.4-r2) 17:33:54 (7/104) Installing libbsd (0.11.7-r1) 17:33:54 (8/104) Installing libxdmcp (1.1.4-r2) 17:33:54 (9/104) Installing libxcb (1.15-r1) 17:33:54 (10/104) Installing libx11 (1.8.7-r0) 17:33:54 (11/104) Installing libdrm (2.4.115-r4) 17:33:54 (12/104) Installing libxext (1.3.5-r2) 17:33:54 (13/104) Installing libxfixes (6.0.1-r2) 17:33:54 (14/104) Installing libffi (3.4.4-r2) 17:33:54 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:33:54 (16/104) Installing libva (2.18.0-r1) 17:33:54 (17/104) Installing libvdpau (1.5-r1) 17:33:54 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 17:33:54 (19/104) Installing libdav1d (1.2.1-r0) 17:33:54 (20/104) Installing brotli-libs (1.0.9-r14) 17:33:54 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:33:54 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:33:54 (23/104) Installing libhwy (1.0.4-r1) 17:33:54 (24/104) Installing lcms2 (2.15-r2) 17:33:54 (25/104) Installing libjxl (0.8.2-r0) 17:33:55 (26/104) Installing lame-libs (3.100-r5) 17:33:55 (27/104) Installing opus (1.4-r0) 17:33:55 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:33:55 (29/104) Installing soxr (0.1.3-r5) 17:33:55 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 17:33:55 (31/104) Installing libogg (1.3.5-r4) 17:33:55 (32/104) Installing libtheora (1.1.1-r17) 17:33:55 (33/104) Installing libvorbis (1.3.7-r1) 17:33:55 (34/104) Installing libvpx (1.13.0-r2) 17:33:55 (35/104) Installing libwebp (1.3.2-r0) 17:33:55 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:33:55 (37/104) Installing numactl (2.0.16-r4) 17:33:55 (38/104) Installing x265-libs (3.5-r4) 17:33:55 (39/104) Installing xvidcore (1.3.7-r1) 17:33:55 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 17:33:55 (41/104) Installing alsa-lib (1.2.9-r1) 17:33:56 (42/104) Installing libexpat (2.6.2-r0) 17:33:56 (43/104) Installing libbz2 (1.0.8-r5) 17:33:56 (44/104) Installing libpng (1.6.39-r3) 17:33:56 (45/104) Installing freetype (2.13.0-r5) 17:33:56 (46/104) Installing fontconfig (2.14.2-r3) 17:33:56 (47/104) Installing fribidi (1.0.13-r0) 17:33:56 (48/104) Installing libintl (0.21.1-r7) 17:33:56 (49/104) Installing libblkid (2.38.1-r8) 17:33:56 (50/104) Installing libmount (2.38.1-r8) 17:33:56 (51/104) Installing pcre2 (10.42-r1) 17:33:56 (52/104) Installing glib (2.76.6-r0) 17:33:56 (53/104) Installing graphite2 (1.3.14-r5) 17:33:56 (54/104) Installing harfbuzz (7.3.0-r0) 17:33:56 (55/104) Installing libunibreak (5.1-r0) 17:33:56 (56/104) Installing libass (0.17.1-r0) 17:33:56 (57/104) Installing libbluray (1.3.4-r0) 17:33:56 (58/104) Installing gmp (6.2.1-r3) 17:33:56 (59/104) Installing nettle (3.8.1-r2) 17:33:56 (60/104) Installing libunistring (1.1-r1) 17:33:56 (61/104) Installing libidn2 (2.3.4-r1) 17:33:56 (62/104) Installing p11-kit (0.24.1-r2) 17:33:56 (63/104) Installing libtasn1 (4.19.0-r1) 17:33:56 (64/104) Installing gnutls (3.8.4-r0) 17:33:56 (65/104) Installing mpg123-libs (1.31.3-r1) 17:33:56 (66/104) Installing libopenmpt (0.7.2-r0) 17:33:56 (67/104) Installing cjson (1.7.17-r0) 17:33:56 (68/104) Installing mbedtls (2.28.8-r0) 17:33:56 (69/104) Installing librist (0.2.7-r0) 17:33:56 (70/104) Installing libsrt (1.5.2-r0) 17:33:56 (71/104) Installing libssh (0.10.5-r0) 17:33:56 (72/104) Installing xz-libs (5.4.3-r0) 17:33:56 (73/104) Installing libxml2 (2.11.8-r0) 17:33:57 (74/104) Installing libsodium (1.0.18-r3) 17:33:57 (75/104) Installing libzmq (4.3.4-r4) 17:33:57 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 17:33:57 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:33:57 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:33:57 (79/104) Installing shaderc (2023.3-r1) 17:33:57 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:33:57 (81/104) Installing libplacebo (5.264.1-r1) 17:33:57 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 17:33:57 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 17:33:57 (84/104) Installing vidstab (1.1.1-r0) 17:33:57 (85/104) Installing zimg (3.0.5-r0) 17:33:57 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 17:33:58 (87/104) Installing libasyncns (0.8-r1) 17:33:58 (88/104) Installing dbus-libs (1.14.8-r0) 17:33:58 (89/104) Installing libltdl (2.4.7-r2) 17:33:58 (90/104) Installing orc (0.4.34-r0) 17:33:58 (91/104) Installing flac-libs (1.4.3-r0) 17:33:58 (92/104) Installing libsndfile (1.2.0-r2) 17:33:58 (93/104) Installing speexdsp (1.2.1-r1) 17:33:58 (94/104) Installing tdb-libs (1.4.8-r1) 17:33:58 (95/104) Installing libpulse (16.1-r10) 17:33:58 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:33:58 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:33:58 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 17:33:58 (99/104) Installing ffmpeg (6.0.1-r0) 17:33:58 (100/104) Installing udev-init-scripts (35-r1) 17:33:58 (101/104) Installing eudev-libs (3.2.11-r8) 17:33:58 (102/104) Installing zstd-libs (1.5.5-r4) 17:33:58 (103/104) Installing kmod-libs (30-r3) 17:33:58 (104/104) Installing eudev (3.2.11-r8) 17:33:58 Executing busybox-1.36.1-r7.trigger 17:33:58 Executing glib-2.76.6-r0.trigger 17:33:58 Executing eudev-3.2.11-r8.trigger 17:33:58 OK: 110 MiB in 119 packages 17:34:03 Removing intermediate container c7a441f55703 17:34:03 ---> ab8eed13b19d 17:34:03 Step 18/37 : RUN apk --no-cache upgrade 17:34:03 ---> Running in 6f7c20842370 17:34:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:34:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:34:04 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 17:34:04 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 17:34:04 OK: 110 MiB in 119 packages 17:34:05 Removing intermediate container 6f7c20842370 17:34:05 ---> fb003e7e2690 17:34:05 Step 19/37 : WORKDIR / 17:34:05 ---> Running in 665c96dd4066 17:34:06 Removing intermediate container 665c96dd4066 17:34:06 ---> 408d6858fbfa 17:34:06 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:34:07 ---> d6992f7924c8 17:34:07 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:34:08 ---> 7e2dd011f0fe 17:34:08 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:34:09 ---> 85f750bc91cc 17:34:09 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:34:09 ---> cb079f1cab42 17:34:09 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:34:10 ---> 6ffc1816cbd5 17:34:10 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:34:10 ---> bfd3d6344624 17:34:10 Step 26/37 : COPY --from=rtsp /mediamtx / 17:34:12 ---> bd4391bcf513 17:34:12 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:34:12 ---> Running in 84e90d178409 17:34:13 Removing intermediate container 84e90d178409 17:34:13 ---> 829b6cbc0ed4 17:34:13 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:34:13 ---> Running in 19dfcaa41d35 17:34:15 Removing intermediate container 19dfcaa41d35 17:34:15 ---> a7964cbe0757 17:34:15 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:34:15 ---> Running in 0505e623464a 17:34:17 Removing intermediate container 0505e623464a 17:34:17 ---> d2c3aabc86b2 17:34:17 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:34:17 ---> Running in c71f59ea401c 17:34:18 Removing intermediate container c71f59ea401c 17:34:18 ---> 0b21d641537a 17:34:18 Step 31/37 : EXPOSE 59983 17:34:18 ---> Running in a0ba76123785 17:34:18 Removing intermediate container a0ba76123785 17:34:18 ---> 53a159fe3e4f 17:34:18 Step 32/37 : EXPOSE 8554 17:34:19 ---> Running in 80987f6cf670 17:34:19 Removing intermediate container 80987f6cf670 17:34:19 ---> 65b4576e257d 17:34:19 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:34:19 ---> Running in 8d56b8544ec0 17:34:19 Removing intermediate container 8d56b8544ec0 17:34:19 ---> b0ecb5817011 17:34:19 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:34:19 ---> Running in 2c93fa7ed14d 17:34:20 Removing intermediate container 2c93fa7ed14d 17:34:20 ---> f5e1d3de2cc8 17:34:20 Step 35/37 : LABEL arch=arm64 17:34:20 ---> Running in 27d75b83b814 17:34:20 Removing intermediate container 27d75b83b814 17:34:20 ---> 8d73de76c103 17:34:20 Step 36/37 : LABEL git_sha=e45334b695358f7697556b9a187576dd4e4a9260 17:34:20 ---> Running in 4755755e2939 17:34:20 Removing intermediate container 4755755e2939 17:34:20 ---> 860508c45f7d 17:34:20 Step 37/37 : LABEL version=0.0.0 17:34:20 ---> Running in 2379f5bf760a 17:34:21 Removing intermediate container 2379f5bf760a 17:34:21 ---> 70f176f66725 17:34:21 [Warning] One or more build-args [ARCH] were not consumed 17:34:21 Successfully built 70f176f66725 17:34:21 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:34:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:22 17:34:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:22 arm64: Pulling from edgex-lftools-log-publisher 17:34:22 8998bd30e6a1: Pulling fs layer 17:34:22 04944245beec: Pulling fs layer 17:34:22 699f458cf7ca: Pulling fs layer 17:34:22 765212b225bb: Pulling fs layer 17:34:22 f23df028b6ca: Pulling fs layer 17:34:22 d65c8cfc05b1: Pulling fs layer 17:34:22 2437ff75d9bd: Pulling fs layer 17:34:22 765212b225bb: Waiting 17:34:22 f23df028b6ca: Waiting 17:34:22 d65c8cfc05b1: Waiting 17:34:23 04944245beec: Verifying Checksum 17:34:23 04944245beec: Download complete 17:34:23 765212b225bb: Verifying Checksum 17:34:23 765212b225bb: Download complete 17:34:23 f23df028b6ca: Verifying Checksum 17:34:23 f23df028b6ca: Download complete 17:34:23 d65c8cfc05b1: Verifying Checksum 17:34:23 d65c8cfc05b1: Download complete 17:34:23 699f458cf7ca: Verifying Checksum 17:34:23 699f458cf7ca: Download complete 17:34:23 8998bd30e6a1: Verifying Checksum 17:34:23 8998bd30e6a1: Download complete 17:34:26 2437ff75d9bd: Verifying Checksum 17:34:26 2437ff75d9bd: Download complete 17:34:28 8998bd30e6a1: Pull complete 17:34:28 04944245beec: Pull complete 17:34:30 699f458cf7ca: Pull complete 17:34:30 765212b225bb: Pull complete 17:34:31 f23df028b6ca: Pull complete 17:34:31 d65c8cfc05b1: Pull complete 17:34:49 2437ff75d9bd: Pull complete 17:34:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:50 prd-ubuntu20.04-docker-arm64-4c-16g-4932 does not seem to be running inside a container 17:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:34:52 $ docker top 81a0bb7dfd6d36b7fc420ffd4506a2e51f80d3931bcf06eaa60acb8463b0c313 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:53 ---> job-cost.sh 17:34:53 lf-activate-venv: SKIPPING 17:34:53 INFO: No Stack... 17:34:54 INFO: Retrieving Pricing Info for: v3-standard-4 17:34:54 INFO: Archiving Costs [Pipeline] sh 17:34:55 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:34:55 + cut -d, -f6 [Pipeline] lock 17:34:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] 17:34:55 Resource [jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] did not exist. Created. 17:34:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:56 /w/workspace/device-usb-camera/1@tmp/durable-a7b12bbd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:34:56 + echo total: 0.10999999940395355 [Pipeline] stash 17:34:56 Warning: overwriting stash ‘stack-cost’ 17:34:56 Stashed 1 file(s) [Pipeline] } 17:34:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:56 $ docker stop --time=1 81a0bb7dfd6d36b7fc420ffd4506a2e51f80d3931bcf06eaa60acb8463b0c313 17:34:58 $ docker rm -f --volumes 81a0bb7dfd6d36b7fc420ffd4506a2e51f80d3931bcf06eaa60acb8463b0c313 [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:34:59 provisioning config files... 17:34:59 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-336@tmp/config9952367991714309462tmp [Pipeline] { [Pipeline] sh 17:35:00 + set +x 17:35:00 + curl -s https://codecov.io/bash 17:35:00 + bash -s -- 17:35:00 17:35:00 _____ _ 17:35:00 / ____| | | 17:35:00 | | ___ __| | ___ ___ _____ __ 17:35:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:35:00 | |___| (_) | (_| | __/ (_| (_) \ V / 17:35:00 \_____\___/ \__,_|\___|\___\___/ \_/ 17:35:00 Bash-1.0.6 17:35:00 17:35:00 17:35:00 ==> git version 2.25.1 found 17:35:00 ==> 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:35:00 Release-Date: 2020-01-08 17:35:00 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:35:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:35:00 ==> Jenkins CI detected. 17:35:00 current dir:  /w/workspace/foundry_device-usb-camera_PR-336 17:35:00 project root: . 17:35:00 --> token set from env 17:35:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:35:00 ==> Running gcov in . (disable via -X gcov) 17:35:00 ==> Python coveragepy not found 17:35:00 ==> Searching for coverage reports in: 17:35:00 + . 17:35:00 -> Found 1 reports 17:35:00 ==> Detecting git/mercurial file structure 17:35:00 ==> Reading reports 17:35:00 + ./coverage.out bytes=54703 17:35:00 ==> Appending adjustments 17:35:00 https://docs.codecov.io/docs/fixing-reports 17:35:00 + Found adjustments 17:35:00 ==> Gzipping contents 17:35:00 8.0K /tmp/codecov.kW2JwB.gz 17:35:00 ==> Uploading reports 17:35:00 url: https://codecov.io 17:35:00 query: branch=PR-336&commit=e45334b695358f7697556b9a187576dd4e4a9260&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=336&job=&cmd_args= 17:35:00 -> Pinging Codecov 17:35:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-336&commit=e45334b695358f7697556b9a187576dd4e4a9260&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=336&job=&cmd_args= 17:35:00 -> Uploading to 17:35:00 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/73D8F5FF140700D3E01443B452E23636/e45334b695358f7697556b9a187576dd4e4a9260/131ba3fc-14c8-4d0c-a134-359da6361f3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T173500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36aa4dd9fbf8c22fe5652ac3f693a81960d6806f30fe3e62c98125a8454b9671 17:35:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:00 Dload Upload Total Spent Left Speed 17:35:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 27003 --:--:-- --:--:-- --:--:-- 26897 100 6805 0 0 100 6805 0 26897 --:--:-- --:--:-- --:--:-- 26791 17:35:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e45334b695358f7697556b9a187576dd4e4a9260 [Pipeline] } 17:35:00 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:35:03 + [ -d /w/workspace/foundry_device-usb-camera_PR-336/archives ] 17:35:03 + ls -al /w/workspace/foundry_device-usb-camera_PR-336/archives 17:35:03 total 16 17:35:03 drwxr-xr-x 3 root root 4096 Jul 3 17:23 . 17:35:03 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 17:23 .. 17:35:03 drwxr-xr-x 2 root root 4096 Jul 3 17:23 cost 17:35:03 -rw-r--r-- 1 root root 89 Jul 3 17:23 cost.csv 17:35:03 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-336/archives 17:35:03 + ls -al /w/workspace/foundry_device-usb-camera_PR-336/archives 17:35:03 total 16 17:35:03 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 17:23 . 17:35:03 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 17:23 .. 17:35:03 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 17:23 cost 17:35:03 -rw-r--r-- 1 jenkins jenkins 89 Jul 3 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:04 ---> package-listing.sh 17:35:04 ++ facter osfamily 17:35:04 ++ tr '[:upper:]' '[:lower:]' 17:35:04 + OS_FAMILY=debian 17:35:04 + workspace=/w/workspace/foundry_device-usb-camera_PR-336 17:35:04 + START_PACKAGES=/tmp/packages_start.txt 17:35:04 + END_PACKAGES=/tmp/packages_end.txt 17:35:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:04 + PACKAGES=/tmp/packages_start.txt 17:35:04 + '[' /w/workspace/foundry_device-usb-camera_PR-336 ']' 17:35:04 + PACKAGES=/tmp/packages_end.txt 17:35:04 + case "${OS_FAMILY}" in 17:35:04 + dpkg -l 17:35:04 + grep '^ii' 17:35:04 + '[' -f /tmp/packages_start.txt ']' 17:35:04 + '[' -f /tmp/packages_end.txt ']' 17:35:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:04 + '[' /w/workspace/foundry_device-usb-camera_PR-336 ']' 17:35:04 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-336/archives/ 17:35:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-336/archives/ [Pipeline] echo 17:35:04 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:05 prd-ubuntu20.04-docker-8c-8g-4931 does not seem to be running inside a container 17:35:05 $ 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-336/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-336 -v /w/workspace/foundry_device-usb-camera_PR-336:/w/workspace/foundry_device-usb-camera_PR-336:rw,z -v /w/workspace/foundry_device-usb-camera_PR-336@tmp:/w/workspace/foundry_device-usb-camera_PR-336@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:35:06 $ docker top b42401c62feb1da7b7a62075d697bb6ca2677ace35b2f9a0344c03a9bf64af28 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:06 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:06 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:07 + ls /var/log/sa-host 17:35:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:07 provisioning config files... 17:35:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-336@tmp/config7337500398933986144tmp [Pipeline] { [Pipeline] echo 17:35:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:07 ---> create-netrc.sh [Pipeline] } 17:35:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:08 ---> python-tools-install.sh [Pipeline] echo 17:35:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:08 ---> sudo-logs.sh 17:35:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:09 ---> job-cost.sh 17:35:09 lf-activate-venv: SKIPPING 17:35:09 DEBUG: total: 0.2199999988079071 17:35:09 INFO: Retrieving Stack Cost... 17:35:09 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:10 INFO: Archiving Costs [Pipeline] echo 17:35:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:10 ---> logs-deploy.sh 17:35:10 lf-activate-venv: SKIPPING 17:35:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-336/1 17:35:10 INFO: archiving workspace using pattern(s): 17:35:11 Archives upload complete. 17:35:11 INFO: archiving logs to Nexus