Pull request #329 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14b24e3423064c758ede49a9e31f932dfb68e160+194431db47f233fb6110709955d70fa5c29cead8 (04956a88d0a446690ff4ba9d50c1f09fa04fb76e) 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-ssh14536238022984570090.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh18108539779331013522.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-329/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-329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh937014133082516233.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-329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5163298480819442674.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh16979267585517449512.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-329/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-329/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12115659424001304562.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-292 in /w/workspace/foundry_device-usb-camera_PR-329 [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-329 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 194431db47f233fb6110709955d70fa5c29cead8 into PR head commit 14b24e3423064c758ede49a9e31f932dfb68e160 Merge succeeded, producing 14b24e3423064c758ede49a9e31f932dfb68e160 Checking out Revision 14b24e3423064c758ede49a9e31f932dfb68e160 (PR-329) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 14b24e3423064c758ede49a9e31f932dfb68e160 # 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 194431db47f233fb6110709955d70fa5c29cead8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14b24e3423064c758ede49a9e31f932dfb68e160 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:12:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:12:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:12:22 ========================================================= 17:12:22 EdgeX Global Pipelines Version Info 17:12:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:12:22 ------------------- 17:12:22 stable info: 17:12:22 ------------------- 17:12:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:12:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:12:22 Message: update stable to v1.0.258 17:12:23 ------------------- 17:12:23 experimental info: 17:12:23 ------------------- 17:12:23 Commited By: **** collab-it+edgex@linuxfoundation.org 17:12:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:12:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:12:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:12:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:12:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:12:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:12:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:12:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:12:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-329 [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-329 [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-329 [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14b24e3423064c758ede49a9e31f932dfb68e160 [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14b24e3 [Pipeline] echo 17:12:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:12:25 provisioning config files... 17:12:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-329@tmp/config10008783876489738626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:26 ---> ****-login.sh 17:12:26 nexus3.edgexfoundry.org:10001 17:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:26 Configure a credential helper to remove this warning. See 17:12:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:26 17:12:26 Login Succeeded 17:12:26 nexus3.edgexfoundry.org:10002 17:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:26 Configure a credential helper to remove this warning. See 17:12:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:26 17:12:26 Login Succeeded 17:12:26 nexus3.edgexfoundry.org:10003 17:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:26 Configure a credential helper to remove this warning. See 17:12:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:26 17:12:26 Login Succeeded 17:12:26 nexus3.edgexfoundry.org:10004 17:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:26 Configure a credential helper to remove this warning. See 17:12:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:26 17:12:26 Login Succeeded 17:12:26 ****.io 17:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:27 Configure a credential helper to remove this warning. See 17:12:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:27 17:12:27 Login Succeeded 17:12:27 ---> ****-login.sh ends [Pipeline] } 17:12:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:12:27 + git rev-list -1 --merges 14b24e3423064c758ede49a9e31f932dfb68e160~1..14b24e3423064c758ede49a9e31f932dfb68e160 [Pipeline] echo 17:12:28 -----------> git rev-list -1 --merges 14b24e3423064c758ede49a9e31f932dfb68e160~1..14b24e3423064c758ede49a9e31f932dfb68e160 14b24e3423064c758ede49a9e31f932dfb68e160 [false] [Pipeline] sh 17:12:28 + git log --format=format:%s -1 14b24e3423064c758ede49a9e31f932dfb68e160 [Pipeline] echo 17:12:28 ========================================================= 17:12:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:12:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:28 + git log --format=format:%s -1 14b24e3423064c758ede49a9e31f932dfb68e160 [Pipeline] echo 17:12:28 [semverPrep] GIT_COMMIT: 14b24e3423064c758ede49a9e31f932dfb68e160, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:12:28 [semverPrep] This is not a build commit. [Pipeline] sh 17:12:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:12:29 + grep -v github /etc/ssh/ssh_known_hosts 17:12:29 + [ -e /tmp/ssh_known_hosts ] 17:12:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:12:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:12:29 + sudo tee -a /etc/ssh/ssh_known_hosts 17:12:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:12:29 17:12:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:12:30 0.1.4: Pulling from edgex-devops/py-git-semver 17:12:30 b85a868b505f: Pulling fs layer 17:12:30 e2be974225ed: Pulling fs layer 17:12:30 339a4e72a1f5: Pulling fs layer 17:12:30 988bab9f4d93: Pulling fs layer 17:12:30 1469e6f7b9e6: Pulling fs layer 17:12:30 eaf3925da568: Pulling fs layer 17:12:30 bab4dde63d76: Pulling fs layer 17:12:30 bde34c3a00c8: Pulling fs layer 17:12:30 b352a97aabf1: Pulling fs layer 17:12:30 4872d77fe225: Pulling fs layer 17:12:30 5851b861e8e6: Pulling fs layer 17:12:30 b352a97aabf1: Waiting 17:12:30 1469e6f7b9e6: Waiting 17:12:30 eaf3925da568: Waiting 17:12:30 4872d77fe225: Waiting 17:12:30 5851b861e8e6: Waiting 17:12:30 988bab9f4d93: Waiting 17:12:30 bde34c3a00c8: Waiting 17:12:30 bab4dde63d76: Waiting 17:12:30 e2be974225ed: Verifying Checksum 17:12:30 e2be974225ed: Download complete 17:12:30 988bab9f4d93: Verifying Checksum 17:12:30 988bab9f4d93: Download complete 17:12:30 1469e6f7b9e6: Verifying Checksum 17:12:30 1469e6f7b9e6: Download complete 17:12:30 eaf3925da568: Verifying Checksum 17:12:30 eaf3925da568: Download complete 17:12:30 339a4e72a1f5: Verifying Checksum 17:12:30 339a4e72a1f5: Download complete 17:12:30 bde34c3a00c8: Download complete 17:12:30 b352a97aabf1: Download complete 17:12:30 4872d77fe225: Download complete 17:12:30 5851b861e8e6: Verifying Checksum 17:12:30 5851b861e8e6: Download complete 17:12:30 b85a868b505f: Verifying Checksum 17:12:30 b85a868b505f: Download complete 17:12:30 bab4dde63d76: Verifying Checksum 17:12:30 bab4dde63d76: Download complete 17:12:31 b85a868b505f: Pull complete 17:12:31 e2be974225ed: Pull complete 17:12:32 339a4e72a1f5: Pull complete 17:12:32 988bab9f4d93: Pull complete 17:12:32 1469e6f7b9e6: Pull complete 17:12:32 eaf3925da568: Pull complete 17:12:34 bab4dde63d76: Pull complete 17:12:34 bde34c3a00c8: Pull complete 17:12:34 b352a97aabf1: Pull complete 17:12:34 4872d77fe225: Pull complete 17:12:34 5851b861e8e6: Pull complete 17:12:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:12:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:12:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:35 prd-ubuntu20.04-docker-8c-8g-292 does not seem to be running inside a container 17:12:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-329 -v /w/workspace/foundry_device-usb-camera_PR-329:/w/workspace/foundry_device-usb-camera_PR-329:rw,z -v /w/workspace/foundry_device-usb-camera_PR-329@tmp:/w/workspace/foundry_device-usb-camera_PR-329@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:12:37 $ docker top c296a8d0d02501be2bf25ac3f740047dc1481cf132ad684d707865572f906103 -eo pid,comm 17:12:37 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:12:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:12:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:12:38 [ssh-agent] Looking for ssh-agent implementation... 17:12:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:12:38 $ docker exec c296a8d0d02501be2bf25ac3f740047dc1481cf132ad684d707865572f906103 ssh-agent 17:12:38 SSH_AUTH_SOCK=/tmp/ssh-aCiIXJy9Nfin/agent.31 17:12:38 SSH_AGENT_PID=37 17:12:38 Running ssh-add (command line suppressed) 17:12:38 Identity added: /w/workspace/foundry_device-usb-camera_PR-329@tmp/private_key_18340494031527552323.key (/w/workspace/foundry_device-usb-camera_PR-329@tmp/private_key_18340494031527552323.key) 17:12:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:12:38 + git tag --points-at HEAD [Pipeline] } 17:12:38 $ docker exec --env ******** --env ******** c296a8d0d02501be2bf25ac3f740047dc1481cf132ad684d707865572f906103 ssh-agent -k 17:12:38 unset SSH_AUTH_SOCK; 17:12:38 unset SSH_AGENT_PID; 17:12:38 echo Agent pid 37 killed; 17:12:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:12:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:12:39 [ssh-agent] Looking for ssh-agent implementation... 17:12:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:12:39 $ docker exec c296a8d0d02501be2bf25ac3f740047dc1481cf132ad684d707865572f906103 ssh-agent 17:12:39 SSH_AUTH_SOCK=/tmp/ssh-4epg0INYPfao/agent.70 17:12:39 SSH_AGENT_PID=77 17:12:39 Running ssh-add (command line suppressed) 17:12:39 Identity added: /w/workspace/foundry_device-usb-camera_PR-329@tmp/private_key_13185985423383567857.key (/w/workspace/foundry_device-usb-camera_PR-329@tmp/private_key_13185985423383567857.key) 17:12:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:12:39 + git semver init 17:12:39 2024-05-16 17:12:39,895 [run_init] DEBUG init version:0.0.0 force:False 17:12:39 2024-05-16 17:12:39,896 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-329/.semver 17:12:39 2024-05-16 17:12:39,897 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-329/.semver 17:12:39 2024-05-16 17:12:39,897 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-329/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-329, universal_newlines=False, shell=None, istream=None) 17:12:40 2024-05-16 17:12:40,843 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-329/.git/info/exclude 17:12:40 2024-05-16 17:12:40,844 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-329/.semver/PR-329 with force:False 17:12:40 2024-05-16 17:12:40,844 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-329/.semver/PR-329 17:12:40 2024-05-16 17:12:40,848 [execute] INFO git cat-file --batch-check 17:12:40 2024-05-16 17:12:40,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-329/.semver, universal_newlines=False, shell=None, istream=) 17:12:40 2024-05-16 17:12:40,855 [execute] INFO git cat-file --batch 17:12:40 2024-05-16 17:12:40,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-329/.semver, universal_newlines=False, shell=None, istream=) 17:12:40 2024-05-16 17:12:40,861 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-329/.semver/PR-329 17:12:40 0.0.0 [Pipeline] } 17:12:40 $ docker exec --env ******** --env ******** c296a8d0d02501be2bf25ac3f740047dc1481cf132ad684d707865572f906103 ssh-agent -k 17:12:41 unset SSH_AUTH_SOCK; 17:12:41 unset SSH_AGENT_PID; 17:12:41 echo Agent pid 77 killed; 17:12:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:12:41 + git semver [Pipeline] } 17:12:42 $ docker stop --time=1 c296a8d0d02501be2bf25ac3f740047dc1481cf132ad684d707865572f906103 17:12:43 $ docker rm -f --volumes c296a8d0d02501be2bf25ac3f740047dc1481cf132ad684d707865572f906103 [Pipeline] // withDockerContainer [Pipeline] sh 17:12:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:12:44 Stashed 1 file(s) [Pipeline] echo 17:12:44 [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:12:44 provisioning config files... 17:12:45 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-329@tmp/config13699744580764657582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:45 ---> ****-login.sh 17:12:45 nexus3.edgexfoundry.org:10001 17:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:45 Configure a credential helper to remove this warning. See 17:12:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:45 17:12:45 Login Succeeded 17:12:45 nexus3.edgexfoundry.org:10002 17:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:45 Configure a credential helper to remove this warning. See 17:12:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:45 17:12:45 Login Succeeded 17:12:45 nexus3.edgexfoundry.org:10003 17:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:45 Configure a credential helper to remove this warning. See 17:12:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:45 17:12:45 Login Succeeded 17:12:45 nexus3.edgexfoundry.org:10004 17:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:45 Configure a credential helper to remove this warning. See 17:12:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:45 17:12:45 Login Succeeded 17:12:45 ****.io 17:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:12:45 Configure a credential helper to remove this warning. See 17:12:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:12:45 17:12:45 Login Succeeded 17:12:45 ---> ****-login.sh ends [Pipeline] } 17:12:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:12:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:12:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:12:46 ========================================================= 17:12:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:12:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:46 + 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:12:46 Sending build context to Docker daemon 14.53MB 17:12:46 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:12:46 Step 2/13 : FROM ${BASE} AS builder 17:12:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:12:46 619be1103602: Pulling fs layer 17:12:46 7862e08f4a3e: Pulling fs layer 17:12:46 5df492c9dc93: Pulling fs layer 17:12:46 7629e6793208: Pulling fs layer 17:12:46 4f4fb700ef54: Pulling fs layer 17:12:46 fb5054dd5b73: Pulling fs layer 17:12:46 eeca6798cff9: Pulling fs layer 17:12:46 aa269ceb94a6: Pulling fs layer 17:12:46 ada007ff1a6a: Pulling fs layer 17:12:46 aa269ceb94a6: Waiting 17:12:46 ada007ff1a6a: Waiting 17:12:46 4f4fb700ef54: Waiting 17:12:46 fb5054dd5b73: Waiting 17:12:47 7862e08f4a3e: Verifying Checksum 17:12:47 7862e08f4a3e: Download complete 17:12:47 7629e6793208: Verifying Checksum 17:12:47 7629e6793208: Download complete 17:12:47 619be1103602: Verifying Checksum 17:12:47 619be1103602: Download complete 17:12:47 4f4fb700ef54: Verifying Checksum 17:12:47 4f4fb700ef54: Download complete 17:12:47 fb5054dd5b73: Verifying Checksum 17:12:47 fb5054dd5b73: Download complete 17:12:47 eeca6798cff9: Verifying Checksum 17:12:47 eeca6798cff9: Download complete 17:12:47 619be1103602: Pull complete 17:12:47 7862e08f4a3e: Pull complete 17:12:47 ada007ff1a6a: Verifying Checksum 17:12:47 ada007ff1a6a: Download complete 17:12:47 5df492c9dc93: Verifying Checksum 17:12:47 5df492c9dc93: Download complete 17:12:47 aa269ceb94a6: Verifying Checksum 17:12:47 aa269ceb94a6: Download complete 17:12:50 5df492c9dc93: Pull complete 17:12:50 7629e6793208: Pull complete 17:12:50 4f4fb700ef54: Pull complete 17:12:50 fb5054dd5b73: Pull complete 17:12:50 eeca6798cff9: Pull complete 17:12:53 aa269ceb94a6: Pull complete 17:12:53 ada007ff1a6a: Pull complete 17:12:53 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:12:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:12:53 ---> f489d0715acc 17:12:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:12:57 ---> Running in 7e3b12c0be52 17:12:57 Removing intermediate container 7e3b12c0be52 17:12:57 ---> 0cb2b7014a08 17:12:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:12:57 ---> Running in 66124f20e4d9 17:12:57 Removing intermediate container 66124f20e4d9 17:12:57 ---> d5ab81ed6cf1 17:12:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:12:57 ---> Running in 2f055df59f0d 17:12:57 Removing intermediate container 2f055df59f0d 17:12:57 ---> 244ac7d237da 17:12:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:12:57 ---> Running in 40eb3d7461c7 17:12:58 Removing intermediate container 40eb3d7461c7 17:12:58 ---> 0eb6b4bad034 17:12:58 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:12:58 ---> Running in 608db424586b 17:12:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:12:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:12:58 (1/13) Installing libintl (0.21.1-r7) 17:12:58 (2/13) Installing eudev-libs (3.2.11-r8) 17:12:58 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:12:58 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:12:58 (5/13) Installing v4l-utils (1.24.1-r0) 17:12:58 (6/13) Installing libdvbv5 (1.24.1-r0) 17:12:59 (7/13) Installing udev-init-scripts (35-r1) 17:12:59 (8/13) Installing libblkid (2.38.1-r8) 17:12:59 (9/13) Installing xz-libs (5.4.3-r0) 17:12:59 (10/13) Installing kmod-libs (30-r3) 17:12:59 (11/13) Installing eudev (3.2.11-r8) 17:12:59 (12/13) Installing eudev-dev (3.2.11-r8) 17:12:59 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:12:59 Executing busybox-1.36.1-r5.trigger 17:12:59 Executing eudev-3.2.11-r8.trigger 17:12:59 OK: 271 MiB in 65 packages 17:12:59 Still waiting to schedule task 17:12:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:13:00 Removing intermediate container 608db424586b 17:13:00 ---> a1711d30ccdf 17:13:00 Step 8/13 : WORKDIR /device-usb-camera 17:13:00 ---> Running in 76ae1498db12 17:13:00 Removing intermediate container 76ae1498db12 17:13:00 ---> a847330099c3 17:13:00 Step 9/13 : COPY go.mod vendor* ./ 17:13:00 ---> 04b5528db785 17:13:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:00 ---> Running in 66372bd0aea5 17:13:56 Removing intermediate container 66372bd0aea5 17:13:56 ---> 9700c76a920a 17:13:56 Step 11/13 : COPY . . 17:13:56 ---> ab7c0fd5dbe1 17:13:56 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:13:56 ---> Running in dcd58f578bd3 17:13:56  % Total % Received % Xferd Average Speed Time Time Time Current 17:13:56 Dload Upload Total Spent Left Speed 17:13:56 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10340 0 --:--:-- --:--:-- --:--:-- 10411 17:13:56 Removing intermediate container dcd58f578bd3 17:13:56 ---> 59040e3aba1b 17:13:56 Step 13/13 : RUN ${MAKE} 17:13:56 ---> Running in d07e7f334273 17:13:56 noop 17:13:56 Removing intermediate container d07e7f334273 17:13:56 ---> 6d6d14af92b3 17:13:56 Successfully built 6d6d14af92b3 17:13:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:57 + docker inspect -f . ci-base-image-x86_64 17:13:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:57 prd-ubuntu20.04-docker-8c-8g-292 does not seem to be running inside a container 17:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-329 -v /w/workspace/foundry_device-usb-camera_PR-329:/w/workspace/foundry_device-usb-camera_PR-329:rw,z -v /w/workspace/foundry_device-usb-camera_PR-329@tmp:/w/workspace/foundry_device-usb-camera_PR-329@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:13:57 $ docker top 2b2cc2fbcd9690e4e27a218dfe8c6113fb72062c9318e8251e6a9e15e8e8bb16 -eo pid,comm [Pipeline] { [Pipeline] sh 17:13:58 + go version 17:13:58 go version go1.21.9 linux/amd64 [Pipeline] } 17:13:58 $ docker stop --time=1 2b2cc2fbcd9690e4e27a218dfe8c6113fb72062c9318e8251e6a9e15e8e8bb16 17:13:59 $ docker rm -f --volumes 2b2cc2fbcd9690e4e27a218dfe8c6113fb72062c9318e8251e6a9e15e8e8bb16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:00 + docker inspect -f . ci-base-image-x86_64 17:14:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:00 prd-ubuntu20.04-docker-8c-8g-292 does not seem to be running inside a container 17:14:00 $ 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-329 -v /w/workspace/foundry_device-usb-camera_PR-329:/w/workspace/foundry_device-usb-camera_PR-329:rw,z -v /w/workspace/foundry_device-usb-camera_PR-329@tmp:/w/workspace/foundry_device-usb-camera_PR-329@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:14:00 $ docker top d8db2a0bf4c48fa477225a9b9cb439de1945b00b6e4dcc1e8338f3b22971d36e -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:01 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-329 [Pipeline] fileExists [Pipeline] sh 17:14:01 + make test 17:14:01 go test ./... -coverprofile=coverage.out ./... 17:14:03 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:14:21 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:14:21 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 4.4% of statements 17:14:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-293 in /w/workspace/foundry_device-usb-camera_PR-329 [Pipeline] { [Pipeline] ws 17:14:29 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:14:29 Selected Git installation does not exist. Using Default 17:14:29 The recommended git tool is: NONE 17:14:29 go vet ./... 17:14:34 using credential edgex-jenkins-ssh 17:14:34 Cloning the remote Git repository 17:14:34 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:14:34 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:14:34 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:14:34 > git --version # timeout=10 17:14:34 > git --version # 'git version 2.25.1' 17:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:14:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:14:35 ./bin/test-attribution-txt.sh 17:14:35 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:14:35 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:14:35 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:14:35 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:14:35 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:14:35 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:14:35 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:14:35 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:14:35 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:14:35 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 17:14:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 17:14:35 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:14:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:14:35 $ docker stop --time=1 d8db2a0bf4c48fa477225a9b9cb439de1945b00b6e4dcc1e8338f3b22971d36e 17:14:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:14:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:37 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:14:37 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:14:37 Merging remotes/origin/main commit 194431db47f233fb6110709955d70fa5c29cead8 into PR head commit 14b24e3423064c758ede49a9e31f932dfb68e160 17:14:37 Merge succeeded, producing 14b24e3423064c758ede49a9e31f932dfb68e160 17:14:37 Checking out Revision 14b24e3423064c758ede49a9e31f932dfb68e160 (PR-329) 17:14:38 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:14:38 > git --version # timeout=10 17:14:38 > git --version # 'git version 2.25.1' 17:14:38 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:14:37 > git config core.sparsecheckout # timeout=10 17:14:37 > git checkout -f 14b24e3423064c758ede49a9e31f932dfb68e160 # timeout=10 17:14:37 > git remote # timeout=10 17:14:37 > git config --get remote.origin.url # timeout=10 17:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:37 > git merge 194431db47f233fb6110709955d70fa5c29cead8 # timeout=10 17:14:37 > git rev-parse HEAD^{commit} # timeout=10 17:14:37 > git config core.sparsecheckout # timeout=10 17:14:37 > git checkout -f 14b24e3423064c758ede49a9e31f932dfb68e160 # timeout=10 17:14:40 $ docker rm -f --volumes d8db2a0bf4c48fa477225a9b9cb439de1945b00b6e4dcc1e8338f3b22971d36e [Pipeline] // withDockerContainer [Pipeline] sh 17:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:14:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:14:42 + ls -al . 17:14:42 total 292 17:14:42 drwxrwxr-x 9 jenkins jenkins 4096 May 16 17:14 . 17:14:42 drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:12 .. 17:14:42 drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:14 .git 17:14:42 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:12 .github 17:14:42 -rw-rw-r-- 1 jenkins jenkins 429 May 16 17:12 .gitignore 17:14:42 -rw-rw-r-- 1 jenkins jenkins 45 May 16 17:12 .golangci.yml 17:14:42 -rw-rw-r-- 1 jenkins jenkins 77 May 16 17:12 .hadolint.yml 17:14:42 drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:12 .semver 17:14:42 -rw-rw-r-- 1 jenkins jenkins 10851 May 16 17:12 Attribution.txt 17:14:42 -rw-rw-r-- 1 jenkins jenkins 16561 May 16 17:12 CHANGELOG.md 17:14:42 -rw-rw-r-- 1 jenkins jenkins 2562 May 16 17:12 Dockerfile 17:14:42 -rw-rw-r-- 1 jenkins jenkins 678 May 16 17:12 GOVERNANCE.md 17:14:42 -rw-rw-r-- 1 jenkins jenkins 659 May 16 17:12 Jenkinsfile 17:14:42 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 17:12 LICENSE 17:14:42 -rw-rw-r-- 1 jenkins jenkins 2611 May 16 17:12 Makefile 17:14:42 -rw-rw-r-- 1 jenkins jenkins 622 May 16 17:12 OWNERS.md 17:14:42 -rw-rw-r-- 1 jenkins jenkins 2575 May 16 17:12 README.md 17:14:42 -rw-rw-r-- 1 jenkins jenkins 5 May 16 17:12 VERSION 17:14:42 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:12 bin 17:14:42 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:12 cmd 17:14:42 -rw-r--r-- 1 jenkins jenkins 54703 May 16 17:14 coverage.out 17:14:42 -rwxrwxr-x 1 jenkins jenkins 84 May 16 17:12 docker-entrypoint.sh 17:14:42 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:12 docs 17:14:42 -rw-rw-r-- 1 jenkins jenkins 7272 May 16 17:12 go.mod 17:14:42 -rw-rw-r-- 1 jenkins jenkins 101525 May 16 17:12 go.sum 17:14:42 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:12 internal 17:14:42 -rw-rw-r-- 1 jenkins jenkins 231 May 16 17:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:42 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=14b24e3423064c758ede49a9e31f932dfb68e160 --label arch=amd64 --label version=0.0.0 . 17:14:42 Sending build context to Docker daemon 14.58MB 17:14:42 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:14:42 Step 2/37 : FROM ${BASE} AS builder 17:14:42 ---> 6d6d14af92b3 17:14:42 Step 3/37 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 17:14:42 ---> Running in 61ba13919194 17:14:42 Removing intermediate container 61ba13919194 17:14:42 ---> 1d1546111b2a 17:14:42 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:14:42 ---> Running in 0d2796ab3f03 [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:43 Removing intermediate container 0d2796ab3f03 17:14:43 ---> 14bb90571241 17:14:43 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:14:43 ---> Running in 3bd9090f282a 17:14:43 Removing intermediate container 3bd9090f282a 17:14:43 ---> 70f33280c9d6 17:14:43 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:14:43 ---> Running in 2b1f841e7853 17:14:43 Removing intermediate container 2b1f841e7853 17:14:43 ---> b3842dcc6c36 17:14:43 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:14:43 ---> Running in aa0013aec634 17:14:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:14:43 % Total % Received % Xferd Average Speed Time Time Time Current 17:14:43 Dload Upload Total Spent Left Speed 17:14:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 17:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:14:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:14:43 OK: 271 MiB in 65 packages 17:14:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:14:44 + sudo tee /etc/docker/daemon.new 17:14:44 { 17:14:44 "registry-mirrors": [ 17:14:44 "https://nexus3.edgexfoundry.org:10001" 17:14:44 ], 17:14:44 "bip": "10.250.0.254/24", 17:14:44 "hosts": [ 17:14:44 "tcp://0.0.0.0:5555", 17:14:44 "unix:///var/run/docker.sock" 17:14:44 ], 17:14:44 "mtu": 1458, 17:14:44 "selinux-enabled": true, 17:14:44 "seccomp-profile": "/etc/docker/seccomp.json" 17:14:44 } [Pipeline] sh 17:14:44 Removing intermediate container aa0013aec634 17:14:44 ---> 667e1801b214 17:14:44 Step 8/37 : WORKDIR /device-usb-camera 17:14:44 ---> Running in 3b0ff53440b6 17:14:44 Removing intermediate container 3b0ff53440b6 17:14:44 ---> 77165169fd52 17:14:44 Step 9/37 : COPY go.mod vendor* ./ 17:14:44 ---> 883a82873115 17:14:44 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:14:44 ---> Running in 15bda36b3b81 17:14:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:14:44 + sudo service docker restart 17:14:45 Removing intermediate container 15bda36b3b81 17:14:45 ---> 7537058b27e5 17:14:45 Step 11/37 : COPY . . 17:14:46 ---> 517f3af324d4 17:14:46 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:14:46 ---> Running in ca184e1b3553 17:14:46  % Total % Received % Xferd Average Speed Time Time Time Current 17:14:46 Dload Upload Total Spent Left Speed 17:14:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 32467 0 --:--:-- --:--:-- --:--:-- 33187 17:14:46 Removing intermediate container ca184e1b3553 17:14:46 ---> a294ea8e8465 17:14:46 Step 13/37 : RUN ${MAKE} 17:14:46 ---> Running in 9b7cf87207ed 17:14:46 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:15:03 provisioning config files... 17:15:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8368340679741158175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:03 ---> ****-login.sh 17:15:03 nexus3.edgexfoundry.org:10001 17:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:15:04 Configure a credential helper to remove this warning. See 17:15:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:15:04 17:15:04 Login Succeeded 17:15:04 nexus3.edgexfoundry.org:10002 17:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:15:04 Configure a credential helper to remove this warning. See 17:15:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:15:04 17:15:04 Login Succeeded 17:15:04 nexus3.edgexfoundry.org:10003 17:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:15:05 Configure a credential helper to remove this warning. See 17:15:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:15:05 17:15:05 Login Succeeded 17:15:05 nexus3.edgexfoundry.org:10004 17:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:15:05 Configure a credential helper to remove this warning. See 17:15:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:15:05 17:15:05 Login Succeeded 17:15:05 ****.io 17:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:15:06 Configure a credential helper to remove this warning. See 17:15:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:15:06 17:15:06 Login Succeeded 17:15:06 ---> ****-login.sh ends [Pipeline] } 17:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:15:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:15:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:15:06 ========================================================= 17:15:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:15:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:07 + 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:15:08 Sending build context to Docker daemon 7.523MB 17:15:08 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:15:08 Step 2/13 : FROM ${BASE} AS builder 17:15:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:15:08 c6b39de5b339: Pulling fs layer 17:15:08 a69c41024577: Pulling fs layer 17:15:08 d6de4b400683: Pulling fs layer 17:15:08 35cb2a7552d0: Pulling fs layer 17:15:08 4f4fb700ef54: Pulling fs layer 17:15:08 464afbd9ba4c: Pulling fs layer 17:15:08 00f215d4a9da: Pulling fs layer 17:15:08 d496ad576159: Pulling fs layer 17:15:08 464afbd9ba4c: Waiting 17:15:08 00f215d4a9da: Waiting 17:15:08 d496ad576159: Waiting 17:15:08 35cb2a7552d0: Waiting 17:15:08 4f4fb700ef54: Waiting 17:15:08 a69c41024577: Verifying Checksum 17:15:08 a69c41024577: Download complete 17:15:08 35cb2a7552d0: Download complete 17:15:08 4f4fb700ef54: Verifying Checksum 17:15:08 4f4fb700ef54: Download complete 17:15:08 464afbd9ba4c: Verifying Checksum 17:15:08 464afbd9ba4c: Download complete 17:15:08 c6b39de5b339: Download complete 17:15:08 d496ad576159: Verifying Checksum 17:15:08 d496ad576159: Download complete 17:15:09 c6b39de5b339: Pull complete 17:15:09 a69c41024577: Pull complete 17:15:10 d6de4b400683: Verifying Checksum 17:15:10 d6de4b400683: Download complete 17:15:10 00f215d4a9da: Verifying Checksum 17:15:10 00f215d4a9da: Download complete 17:15:23 d6de4b400683: Pull complete 17:15:23 35cb2a7552d0: Pull complete 17:15:23 4f4fb700ef54: Pull complete 17:15:23 464afbd9ba4c: Pull complete 17:15:25 Removing intermediate container 9b7cf87207ed 17:15:25 ---> 53d9231433ec 17:15:25 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:15:25 v0.21.6: Pulling from aler9/rtsp-simple-server 17:15:25 4acc49c71d14: Pulling fs layer 17:15:25 4acc49c71d14: Verifying Checksum 17:15:25 4acc49c71d14: Download complete 17:15:25 4acc49c71d14: Pull complete 17:15:25 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:15:25 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:15:25 ---> 01a2bd3e5fff 17:15:25 Step 15/37 : FROM alpine:3.18 17:15:25 3.18: Pulling from library/alpine 17:15:25 619be1103602: Already exists 17:15:25 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 17:15:25 Status: Downloaded newer image for alpine:3.18 17:15:25 ---> d3782b16ccc9 17:15:25 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:15:25 ---> Running in 8ca4e7f7b714 17:15:25 Removing intermediate container 8ca4e7f7b714 17:15:25 ---> 6d0fca8edba2 17:15:25 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:15:25 ---> Running in 977fe96480e2 17:15:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:15:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:15:25 (1/107) Installing dumb-init (1.2.5-r2) 17:15:25 (2/107) Installing sdl2 (2.26.5-r0) 17:15:25 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:15:25 (4/107) Installing aom-libs (3.6.1-r0) 17:15:25 (5/107) Installing libxau (1.0.11-r2) 17:15:25 (6/107) Installing libmd (1.0.4-r2) 17:15:25 (7/107) Installing libbsd (0.11.7-r1) 17:15:25 (8/107) Installing libxdmcp (1.1.4-r2) 17:15:25 (9/107) Installing libxcb (1.15-r1) 17:15:25 (10/107) Installing libx11 (1.8.7-r0) 17:15:25 (11/107) Installing hwdata-pci (0.370-r0) 17:15:25 (12/107) Installing libpciaccess (0.17-r2) 17:15:25 (13/107) Installing libdrm (2.4.115-r4) 17:15:25 (14/107) Installing libxext (1.3.5-r2) 17:15:25 (15/107) Installing libxfixes (6.0.1-r2) 17:15:25 (16/107) Installing libffi (3.4.4-r2) 17:15:25 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:15:25 (18/107) Installing libva (2.18.0-r1) 17:15:25 (19/107) Installing libvdpau (1.5-r1) 17:15:25 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:15:25 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:15:25 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:15:25 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:15:25 (24/107) Installing libdav1d (1.2.1-r0) 17:15:25 (25/107) Installing brotli-libs (1.0.9-r14) 17:15:25 (26/107) Installing libhwy (1.0.4-r1) 17:15:25 (27/107) Installing lcms2 (2.15-r2) 17:15:25 (28/107) Installing libjxl (0.8.2-r0) 17:15:25 (29/107) Installing lame-libs (3.100-r5) 17:15:25 (30/107) Installing opus (1.4-r0) 17:15:25 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:15:25 (32/107) Installing soxr (0.1.3-r5) 17:15:25 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:15:25 (34/107) Installing libogg (1.3.5-r4) 17:15:25 (35/107) Installing libtheora (1.1.1-r17) 17:15:25 (36/107) Installing libvorbis (1.3.7-r1) 17:15:25 (37/107) Installing libvpx (1.13.0-r2) 17:15:25 (38/107) Installing libwebp (1.3.2-r0) 17:15:25 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:15:25 (40/107) Installing numactl (2.0.16-r4) 17:15:25 (41/107) Installing x265-libs (3.5-r4) 17:15:25 (42/107) Installing xvidcore (1.3.7-r1) 17:15:25 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:15:25 (44/107) Installing alsa-lib (1.2.9-r1) 17:15:25 (45/107) Installing libexpat (2.6.2-r0) 17:15:25 (46/107) Installing libbz2 (1.0.8-r5) 17:15:25 (47/107) Installing libpng (1.6.39-r3) 17:15:25 (48/107) Installing freetype (2.13.0-r5) 17:15:25 (49/107) Installing fontconfig (2.14.2-r3) 17:15:25 (50/107) Installing fribidi (1.0.13-r0) 17:15:25 (51/107) Installing libintl (0.21.1-r7) 17:15:25 (52/107) Installing libblkid (2.38.1-r8) 17:15:25 (53/107) Installing libmount (2.38.1-r8) 17:15:25 (54/107) Installing pcre2 (10.42-r1) 17:15:25 (55/107) Installing glib (2.76.6-r0) 17:15:25 (56/107) Installing graphite2 (1.3.14-r5) 17:15:25 (57/107) Installing harfbuzz (7.3.0-r0) 17:15:25 (58/107) Installing libunibreak (5.1-r0) 17:15:25 (59/107) Installing libass (0.17.1-r0) 17:15:25 (60/107) Installing libbluray (1.3.4-r0) 17:15:25 (61/107) Installing gmp (6.2.1-r3) 17:15:25 (62/107) Installing nettle (3.8.1-r2) 17:15:25 (63/107) Installing libunistring (1.1-r1) 17:15:25 (64/107) Installing libidn2 (2.3.4-r1) 17:15:25 (65/107) Installing p11-kit (0.24.1-r2) 17:15:25 (66/107) Installing libtasn1 (4.19.0-r1) 17:15:25 (67/107) Installing gnutls (3.8.4-r0) 17:15:25 (68/107) Installing mpg123-libs (1.31.3-r1) 17:15:25 (69/107) Installing libopenmpt (0.7.2-r0) 17:15:25 (70/107) Installing cjson (1.7.17-r0) 17:15:25 (71/107) Installing mbedtls (2.28.8-r0) 17:15:25 (72/107) Installing librist (0.2.7-r0) 17:15:25 (73/107) Installing libsrt (1.5.2-r0) 17:15:25 (74/107) Installing libssh (0.10.5-r0) 17:15:25 (75/107) Installing xz-libs (5.4.3-r0) 17:15:25 (76/107) Installing libxml2 (2.11.7-r0) 17:15:25 (77/107) Installing libsodium (1.0.18-r3) 17:15:25 (78/107) Installing libzmq (4.3.4-r4) 17:15:25 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:15:25 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:15:25 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:15:25 (82/107) Installing shaderc (2023.3-r1) 17:15:25 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:15:25 (84/107) Installing libplacebo (5.264.1-r1) 17:15:25 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:15:25 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:15:25 (87/107) Installing vidstab (1.1.1-r0) 17:15:25 (88/107) Installing zimg (3.0.5-r0) 17:15:25 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:15:25 (90/107) Installing libasyncns (0.8-r1) 17:15:25 (91/107) Installing dbus-libs (1.14.8-r0) 17:15:25 (92/107) Installing libltdl (2.4.7-r2) 17:15:25 (93/107) Installing orc (0.4.34-r0) 17:15:25 (94/107) Installing flac-libs (1.4.3-r0) 17:15:25 (95/107) Installing libsndfile (1.2.0-r2) 17:15:25 (96/107) Installing speexdsp (1.2.1-r1) 17:15:25 (97/107) Installing tdb-libs (1.4.8-r1) 17:15:25 (98/107) Installing libpulse (16.1-r10) 17:15:25 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:15:25 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:15:25 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:15:25 (102/107) Installing ffmpeg (6.0.1-r0) 17:15:25 (103/107) Installing udev-init-scripts (35-r1) 17:15:25 (104/107) Installing eudev-libs (3.2.11-r8) 17:15:25 (105/107) Installing zstd-libs (1.5.5-r4) 17:15:25 (106/107) Installing kmod-libs (30-r3) 17:15:25 (107/107) Installing eudev (3.2.11-r8) 17:15:25 Executing busybox-1.36.1-r5.trigger 17:15:25 Executing glib-2.76.6-r0.trigger 17:15:25 Executing eudev-3.2.11-r8.trigger 17:15:25 OK: 131 MiB in 122 packages 17:15:29 Removing intermediate container 977fe96480e2 17:15:29 ---> 9d2e3f772b7c 17:15:29 Step 18/37 : RUN apk --no-cache upgrade 17:15:29 ---> Running in 7e98594f0dc1 17:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:15:29 Upgrading critical system libraries and apk-tools: 17:15:29 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 17:15:29 Executing busybox-1.36.1-r5.trigger 17:15:29 Continuing the upgrade transaction with new apk-tools: 17:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:15:30 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 17:15:30 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 17:15:30 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 17:15:30 OK: 131 MiB in 122 packages 17:15:30 Removing intermediate container 7e98594f0dc1 17:15:30 ---> d3c42f411a3c 17:15:30 Step 19/37 : WORKDIR / 17:15:30 ---> Running in 4d8786acd883 17:15:30 Removing intermediate container 4d8786acd883 17:15:30 ---> a0b4cd5f2258 17:15:30 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:15:31 ---> 628e7a4cae83 17:15:31 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:15:31 ---> 657e69323807 17:15:31 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:15:32 ---> 16ac5cd308e3 17:15:32 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:15:32 ---> 41f551bddd8a 17:15:32 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:15:32 ---> 5d224c47d61e 17:15:32 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 17:15:32 ---> 86762593e785 17:15:32 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 17:15:33 00f215d4a9da: Pull complete 17:15:33 ---> 8677a4895f80 17:15:33 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:15:33 ---> Running in 6f7874ee6bc6 17:15:33 d496ad576159: Pull complete 17:15:33 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 17:15:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:15:33 ---> f246e2811388 17:15:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:15:34 Removing intermediate container 6f7874ee6bc6 17:15:34 ---> 9478d4a79303 17:15:34 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:15:34 ---> Running in d7167bfeae4f 17:15:34 Removing intermediate container d7167bfeae4f 17:15:34 ---> df788686a1d6 17:15:34 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:15:34 ---> Running in d0b5021862b8 17:15:34 ---> Running in bc1289cb2da7 17:15:34 Removing intermediate container bc1289cb2da7 17:15:34 ---> 092607cf350d 17:15:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:15:34 ---> Running in 55bd4997b23c 17:15:35 Removing intermediate container d0b5021862b8 17:15:35 ---> 6bd3f9596a7e 17:15:35 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:15:35 ---> Running in 3aa6e6b6d4f5 17:15:35 Removing intermediate container 55bd4997b23c 17:15:35 ---> 2dcdadc5366d 17:15:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:15:35 ---> Running in 1b92772ee8db 17:15:35 Removing intermediate container 1b92772ee8db 17:15:35 ---> 0a0b748c5ec0 17:15:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:15:35 ---> Running in 0b063c63b1b6 17:15:35 Removing intermediate container 3aa6e6b6d4f5 17:15:35 ---> 763c5186d9bc 17:15:35 Step 31/37 : EXPOSE 59983 17:15:35 ---> Running in 5c81bfb1b781 17:15:35 Removing intermediate container 5c81bfb1b781 17:15:35 ---> 098056b82776 17:15:35 Step 32/37 : EXPOSE 8554 17:15:35 Removing intermediate container 0b063c63b1b6 17:15:35 ---> d5f04fa1dc0e 17:15:35 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:15:35 ---> Running in fc04fc2002db 17:15:35 ---> Running in 433a7d3adf91 17:15:35 Removing intermediate container 433a7d3adf91 17:15:35 ---> 911ca6157cad 17:15:35 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:15:35 ---> Running in 0a671b01e7d9 17:15:35 Removing intermediate container 0a671b01e7d9 17:15:35 ---> 434f20a4e702 17:15:35 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:15:35 ---> Running in 1db9d2249a15 17:15:36 Removing intermediate container 1db9d2249a15 17:15:36 ---> 3437dc9c6d29 17:15:36 Step 35/37 : LABEL arch=amd64 17:15:36 ---> Running in a989a92e635c 17:15:36 Removing intermediate container a989a92e635c 17:15:36 ---> 418308005bd7 17:15:36 Step 36/37 : LABEL git_sha=14b24e3423064c758ede49a9e31f932dfb68e160 17:15:36 ---> Running in 748ece6bde2f 17:15:36 Removing intermediate container 748ece6bde2f 17:15:36 ---> 3326ba9db72f 17:15:36 Step 37/37 : LABEL version=0.0.0 17:15:36 ---> Running in 8f921981e970 17:15:36 Removing intermediate container 8f921981e970 17:15:36 ---> 616ec31e475c 17:15:36 [Warning] One or more build-args [ARCH] were not consumed 17:15:36 Successfully built 616ec31e475c 17:15:36 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] { 17:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:15:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:37 17:15:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:38 latest: Pulling from edgex-lftools-log-publisher 17:15:38 5eb5b503b376: Pulling fs layer 17:15:38 5c69ac0246d0: Pulling fs layer 17:15:38 ec43610c2a17: Pulling fs layer 17:15:38 3a2ae6a8a46f: Pulling fs layer 17:15:38 33b1e0a273af: Pulling fs layer 17:15:38 5d3b04190fa2: Pulling fs layer 17:15:38 2f39f015ded8: Pulling fs layer 17:15:38 33b1e0a273af: Waiting 17:15:38 5d3b04190fa2: Waiting 17:15:38 2f39f015ded8: Waiting 17:15:38 3a2ae6a8a46f: Waiting 17:15:38 5c69ac0246d0: Verifying Checksum 17:15:38 5c69ac0246d0: Download complete 17:15:38 3a2ae6a8a46f: Verifying Checksum 17:15:38 3a2ae6a8a46f: Download complete 17:15:38 33b1e0a273af: Verifying Checksum 17:15:38 33b1e0a273af: Download complete 17:15:38 ec43610c2a17: Verifying Checksum 17:15:38 ec43610c2a17: Download complete 17:15:38 5d3b04190fa2: Verifying Checksum 17:15:38 5d3b04190fa2: Download complete 17:15:38 5eb5b503b376: Verifying Checksum 17:15:38 5eb5b503b376: Download complete 17:15:38 (1/13) Installing libintl (0.21.1-r7) 17:15:38 (2/13) Installing eudev-libs (3.2.11-r8) 17:15:38 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:15:38 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:15:38 (5/13) Installing v4l-utils (1.24.1-r0) 17:15:38 (6/13) Installing libdvbv5 (1.24.1-r0) 17:15:38 (7/13) Installing udev-init-scripts (35-r1) 17:15:38 (8/13) Installing libblkid (2.38.1-r8) 17:15:38 (9/13) Installing xz-libs (5.4.3-r0) 17:15:38 (10/13) Installing kmod-libs (30-r3) 17:15:38 (11/13) Installing eudev (3.2.11-r8) 17:15:38 (12/13) Installing eudev-dev (3.2.11-r8) 17:15:38 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:15:38 2f39f015ded8: Download complete 17:15:38 Executing busybox-1.36.1-r5.trigger 17:15:38 Executing eudev-3.2.11-r8.trigger 17:15:38 OK: 273 MiB in 65 packages 17:15:39 5eb5b503b376: Pull complete 17:15:39 5c69ac0246d0: Pull complete 17:15:39 ec43610c2a17: Pull complete 17:15:39 3a2ae6a8a46f: Pull complete 17:15:39 33b1e0a273af: Pull complete 17:15:40 5d3b04190fa2: Pull complete 17:15:40 Removing intermediate container fc04fc2002db 17:15:40 ---> 709dfc5672d8 17:15:40 Step 8/13 : WORKDIR /device-usb-camera 17:15:40 ---> Running in 8ffddeeaaca0 17:15:40 Removing intermediate container 8ffddeeaaca0 17:15:40 ---> c621865a77c6 17:15:40 Step 9/13 : COPY go.mod vendor* ./ 17:15:40 ---> e1988327b065 17:15:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:15:40 ---> Running in 23754e7465ce 17:15:44 2f39f015ded8: Pull complete 17:15:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:15:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:44 prd-ubuntu20.04-docker-8c-8g-292 does not seem to be running inside a container 17:15:44 $ 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-329 -v /w/workspace/foundry_device-usb-camera_PR-329:/w/workspace/foundry_device-usb-camera_PR-329:rw,z -v /w/workspace/foundry_device-usb-camera_PR-329@tmp:/w/workspace/foundry_device-usb-camera_PR-329@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:15:48 $ docker top f308053a770de30091cd2eb71b0e59b62578cd764bfb05c42cb92de140556e52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:49 ---> job-cost.sh 17:15:49 lf-activate-venv: SKIPPING 17:15:49 INFO: No Stack... 17:15:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:15:50 INFO: Archiving Costs [Pipeline] sh 17:15:50 + cat /w/workspace/foundry_device-usb-camera_PR-329/archives/cost.csv 17:15:50 + cut -d, -f6 [Pipeline] lock 17:15:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] 17:15:50 Resource [jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] did not exist. Created. 17:15:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:15:50 + echo total: 0.2199999988079071 [Pipeline] stash 17:15:50 Stashed 1 file(s) [Pipeline] } 17:15:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:15:51 $ docker stop --time=1 f308053a770de30091cd2eb71b0e59b62578cd764bfb05c42cb92de140556e52 17:15:52 $ docker rm -f --volumes f308053a770de30091cd2eb71b0e59b62578cd764bfb05c42cb92de140556e52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:17:32 Removing intermediate container 23754e7465ce 17:17:32 ---> de6d58338ff3 17:17:32 Step 11/13 : COPY . . 17:17:32 ---> d40bf4b6952d 17:17:32 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:17:32 ---> Running in 34f3bc77bb79 17:17:32  % Total % Received % Xferd Average Speed Time Time Time Current 17:17:32 Dload Upload Total Spent Left Speed 17:17:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0  8247  0 --:--:-- --:--:-- --:--:-- 8232 17:17:32 Removing intermediate container 34f3bc77bb79 17:17:32 ---> 92828d93a130 17:17:32 Step 13/13 : RUN ${MAKE} 17:17:32 ---> Running in d671302349ec 17:17:32 noop 17:17:32 Removing intermediate container d671302349ec 17:17:32 ---> 10238d5fa97a 17:17:32 Successfully built 10238d5fa97a 17:17:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:33 + docker inspect -f . ci-base-image-arm64 17:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:33 prd-ubuntu20.04-docker-arm64-4c-16g-293 does not seem to be running inside a container 17:17: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 ******** ci-base-image-arm64 cat 17:17:34 $ docker top bf0a6cb2bbf567e79cf8ead30ec1894a1f1bff4762433bf5a6b092d9084fa47d -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:35 + go version 17:17:35 go version go1.21.9 linux/arm64 [Pipeline] } 17:17:35 $ docker stop --time=1 bf0a6cb2bbf567e79cf8ead30ec1894a1f1bff4762433bf5a6b092d9084fa47d 17:17:37 $ docker rm -f --volumes bf0a6cb2bbf567e79cf8ead30ec1894a1f1bff4762433bf5a6b092d9084fa47d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:38 + docker inspect -f . ci-base-image-arm64 17:17:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:38 prd-ubuntu20.04-docker-arm64-4c-16g-293 does not seem to be running inside a container 17:17: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 ******** ci-base-image-arm64 cat 17:17:39 $ docker top aaea025101248e3a49e47ce8c30ceb0df5a519a03dd0f7cff13b0b8376fecbcc -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:40 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:17:40 + make test 17:17:41 go test ./... -coverprofile=coverage.out ./... 17:17:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:21:09 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:21:09 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.092s coverage: 4.4% of statements 17:21:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:21:09 go vet ./... 17:21:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:21:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:21:56 ./bin/test-attribution-txt.sh 17:21:56 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:21:56 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:21:56 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:21:56 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:21:56 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:21:56 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:21:56 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:21:56 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:21:56 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:21:56 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 17:21:56 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 17:21:56 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:21:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:21:56 $ docker stop --time=1 aaea025101248e3a49e47ce8c30ceb0df5a519a03dd0f7cff13b0b8376fecbcc 17:21:58 $ docker rm -f --volumes aaea025101248e3a49e47ce8c30ceb0df5a519a03dd0f7cff13b0b8376fecbcc [Pipeline] // withDockerContainer [Pipeline] sh 17:21:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:21:59 Warning: overwriting stash ‘coverage-report’ 17:22:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:22:01 + ls -al . 17:22:01 total 288 17:22:01 drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:17 . 17:22:01 drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:14 .. 17:22:01 drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:14 .git 17:22:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:14 .github 17:22:01 -rw-rw-r-- 1 jenkins jenkins 429 May 16 17:14 .gitignore 17:22:01 -rw-rw-r-- 1 jenkins jenkins 45 May 16 17:14 .golangci.yml 17:22:01 -rw-rw-r-- 1 jenkins jenkins 77 May 16 17:14 .hadolint.yml 17:22:01 -rw-rw-r-- 1 jenkins jenkins 10851 May 16 17:14 Attribution.txt 17:22:01 -rw-rw-r-- 1 jenkins jenkins 16561 May 16 17:14 CHANGELOG.md 17:22:01 -rw-rw-r-- 1 jenkins jenkins 2562 May 16 17:14 Dockerfile 17:22:01 -rw-rw-r-- 1 jenkins jenkins 678 May 16 17:14 GOVERNANCE.md 17:22:01 -rw-rw-r-- 1 jenkins jenkins 659 May 16 17:14 Jenkinsfile 17:22:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 17:14 LICENSE 17:22:01 -rw-rw-r-- 1 jenkins jenkins 2611 May 16 17:14 Makefile 17:22:01 -rw-rw-r-- 1 jenkins jenkins 622 May 16 17:14 OWNERS.md 17:22:01 -rw-rw-r-- 1 jenkins jenkins 2575 May 16 17:14 README.md 17:22:01 -rw-rw-r-- 1 jenkins jenkins 5 May 16 17:12 VERSION 17:22:01 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:14 bin 17:22:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:14 cmd 17:22:01 -rw-r--r-- 1 jenkins jenkins 54703 May 16 17:21 coverage.out 17:22:01 -rwxrwxr-x 1 jenkins jenkins 84 May 16 17:14 docker-entrypoint.sh 17:22:01 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:14 docs 17:22:01 -rw-rw-r-- 1 jenkins jenkins 7272 May 16 17:14 go.mod 17:22:01 -rw-rw-r-- 1 jenkins jenkins 101525 May 16 17:14 go.sum 17:22:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:14 internal 17:22:01 -rw-rw-r-- 1 jenkins jenkins 231 May 16 17:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:02 + 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=14b24e3423064c758ede49a9e31f932dfb68e160 --label arch=arm64 --label version=0.0.0 . 17:22:02 Sending build context to Docker daemon 7.578MB 17:22:02 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:22:02 Step 2/37 : FROM ${BASE} AS builder 17:22:02 ---> 10238d5fa97a 17:22:02 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:22:02 ---> Running in a887c4c533ef 17:22:02 Removing intermediate container a887c4c533ef 17:22:02 ---> 173c22c1c477 17:22:02 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:02 ---> Running in a8b47ebffd6b 17:22:03 Removing intermediate container a8b47ebffd6b 17:22:03 ---> b7759bb263c3 17:22:03 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:22:03 ---> Running in 29cfe462e6a4 17:22:03 Removing intermediate container 29cfe462e6a4 17:22:03 ---> 67188aaf929d 17:22:03 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:22:03 ---> Running in eb9e0765fd5b 17:22:03 Removing intermediate container eb9e0765fd5b 17:22:03 ---> 7a0e4af2a47f 17:22:03 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:04 ---> Running in e0b544e84e4d 17:22:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:22:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:22:06 OK: 273 MiB in 65 packages 17:22:07 Removing intermediate container e0b544e84e4d 17:22:07 ---> 813f086cc10a 17:22:07 Step 8/37 : WORKDIR /device-usb-camera 17:22:07 ---> Running in e8eb856920fe 17:22:07 Removing intermediate container e8eb856920fe 17:22:07 ---> b0239aff7cec 17:22:07 Step 9/37 : COPY go.mod vendor* ./ 17:22:08 ---> dd595fd32f52 17:22:08 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:08 ---> Running in c0044961373f 17:22:10 Removing intermediate container c0044961373f 17:22:10 ---> a63f99cf85a7 17:22:10 Step 11/37 : COPY . . 17:22:11 ---> 36bac69ad8fe 17:22:11 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:22:11 ---> Running in f41812b7f223 17:22:12  % Total % Received % Xferd Average Speed Time Time Time Current 17:22:12 Dload Upload Total Spent Left Speed 17:22:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5416  0 --:--:-- --:--:-- --:--:-- 5446 17:22:13 Removing intermediate container f41812b7f223 17:22:13 ---> e3996e024863 17:22:13 Step 13/37 : RUN ${MAKE} 17:22:13 ---> Running in d94867351a62 17:22:14 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.13" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:26:06 Removing intermediate container d94867351a62 17:26:06 ---> 0a0d27257658 17:26:06 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:26:06 v0.21.6: Pulling from aler9/rtsp-simple-server 17:26:06 8766b47fe142: Pulling fs layer 17:26:06 8766b47fe142: Download complete 17:26:06 8766b47fe142: Pull complete 17:26:06 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:26:06 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:26:06 ---> 69d40e2cb93c 17:26:06 Step 15/37 : FROM alpine:3.18 17:26:06 3.18: Pulling from library/alpine 17:26:06 c6b39de5b339: Already exists 17:26:06 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 17:26:06 Status: Downloaded newer image for alpine:3.18 17:26:06 ---> 33abbf032149 17:26:06 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:26:06 ---> Running in 79b4f016f02b 17:26:06 Removing intermediate container 79b4f016f02b 17:26:06 ---> 9433b1d9beb1 17:26:06 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:26:06 ---> Running in 1f3a9a2af1dd 17:26:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:26:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:26:06 (1/104) Installing dumb-init (1.2.5-r2) 17:26:06 (2/104) Installing sdl2 (2.26.5-r0) 17:26:06 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:26:06 (4/104) Installing aom-libs (3.6.1-r0) 17:26:06 (5/104) Installing libxau (1.0.11-r2) 17:26:06 (6/104) Installing libmd (1.0.4-r2) 17:26:06 (7/104) Installing libbsd (0.11.7-r1) 17:26:06 (8/104) Installing libxdmcp (1.1.4-r2) 17:26:06 (9/104) Installing libxcb (1.15-r1) 17:26:06 (10/104) Installing libx11 (1.8.7-r0) 17:26:06 (11/104) Installing libdrm (2.4.115-r4) 17:26:06 (12/104) Installing libxext (1.3.5-r2) 17:26:06 (13/104) Installing libxfixes (6.0.1-r2) 17:26:06 (14/104) Installing libffi (3.4.4-r2) 17:26:06 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:26:06 (16/104) Installing libva (2.18.0-r1) 17:26:06 (17/104) Installing libvdpau (1.5-r1) 17:26:06 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 17:26:06 (19/104) Installing libdav1d (1.2.1-r0) 17:26:06 (20/104) Installing brotli-libs (1.0.9-r14) 17:26:06 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:26:06 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:26:06 (23/104) Installing libhwy (1.0.4-r1) 17:26:06 (24/104) Installing lcms2 (2.15-r2) 17:26:06 (25/104) Installing libjxl (0.8.2-r0) 17:26:06 (26/104) Installing lame-libs (3.100-r5) 17:26:06 (27/104) Installing opus (1.4-r0) 17:26:06 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:26:06 (29/104) Installing soxr (0.1.3-r5) 17:26:06 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 17:26:06 (31/104) Installing libogg (1.3.5-r4) 17:26:06 (32/104) Installing libtheora (1.1.1-r17) 17:26:06 (33/104) Installing libvorbis (1.3.7-r1) 17:26:06 (34/104) Installing libvpx (1.13.0-r2) 17:26:06 (35/104) Installing libwebp (1.3.2-r0) 17:26:06 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:26:06 (37/104) Installing numactl (2.0.16-r4) 17:26:06 (38/104) Installing x265-libs (3.5-r4) 17:26:06 (39/104) Installing xvidcore (1.3.7-r1) 17:26:06 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 17:26:07 (41/104) Installing alsa-lib (1.2.9-r1) 17:26:07 (42/104) Installing libexpat (2.6.2-r0) 17:26:07 (43/104) Installing libbz2 (1.0.8-r5) 17:26:07 (44/104) Installing libpng (1.6.39-r3) 17:26:07 (45/104) Installing freetype (2.13.0-r5) 17:26:07 (46/104) Installing fontconfig (2.14.2-r3) 17:26:07 (47/104) Installing fribidi (1.0.13-r0) 17:26:07 (48/104) Installing libintl (0.21.1-r7) 17:26:07 (49/104) Installing libblkid (2.38.1-r8) 17:26:07 (50/104) Installing libmount (2.38.1-r8) 17:26:07 (51/104) Installing pcre2 (10.42-r1) 17:26:07 (52/104) Installing glib (2.76.6-r0) 17:26:07 (53/104) Installing graphite2 (1.3.14-r5) 17:26:07 (54/104) Installing harfbuzz (7.3.0-r0) 17:26:07 (55/104) Installing libunibreak (5.1-r0) 17:26:07 (56/104) Installing libass (0.17.1-r0) 17:26:07 (57/104) Installing libbluray (1.3.4-r0) 17:26:07 (58/104) Installing gmp (6.2.1-r3) 17:26:07 (59/104) Installing nettle (3.8.1-r2) 17:26:07 (60/104) Installing libunistring (1.1-r1) 17:26:08 (61/104) Installing libidn2 (2.3.4-r1) 17:26:08 (62/104) Installing p11-kit (0.24.1-r2) 17:26:08 (63/104) Installing libtasn1 (4.19.0-r1) 17:26:08 (64/104) Installing gnutls (3.8.4-r0) 17:26:08 (65/104) Installing mpg123-libs (1.31.3-r1) 17:26:08 (66/104) Installing libopenmpt (0.7.2-r0) 17:26:08 (67/104) Installing cjson (1.7.17-r0) 17:26:08 (68/104) Installing mbedtls (2.28.8-r0) 17:26:08 (69/104) Installing librist (0.2.7-r0) 17:26:08 (70/104) Installing libsrt (1.5.2-r0) 17:26:08 (71/104) Installing libssh (0.10.5-r0) 17:26:08 (72/104) Installing xz-libs (5.4.3-r0) 17:26:08 (73/104) Installing libxml2 (2.11.7-r0) 17:26:08 (74/104) Installing libsodium (1.0.18-r3) 17:26:08 (75/104) Installing libzmq (4.3.4-r4) 17:26:08 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 17:26:08 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:26:08 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:26:08 (79/104) Installing shaderc (2023.3-r1) 17:26:08 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:26:08 (81/104) Installing libplacebo (5.264.1-r1) 17:26:08 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 17:26:09 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 17:26:09 (84/104) Installing vidstab (1.1.1-r0) 17:26:09 (85/104) Installing zimg (3.0.5-r0) 17:26:09 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 17:26:09 (87/104) Installing libasyncns (0.8-r1) 17:26:09 (88/104) Installing dbus-libs (1.14.8-r0) 17:26:09 (89/104) Installing libltdl (2.4.7-r2) 17:26:09 (90/104) Installing orc (0.4.34-r0) 17:26:09 (91/104) Installing flac-libs (1.4.3-r0) 17:26:09 (92/104) Installing libsndfile (1.2.0-r2) 17:26:09 (93/104) Installing speexdsp (1.2.1-r1) 17:26:09 (94/104) Installing tdb-libs (1.4.8-r1) 17:26:09 (95/104) Installing libpulse (16.1-r10) 17:26:09 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:26:09 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:26:09 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 17:26:09 (99/104) Installing ffmpeg (6.0.1-r0) 17:26:09 (100/104) Installing udev-init-scripts (35-r1) 17:26:09 (101/104) Installing eudev-libs (3.2.11-r8) 17:26:09 (102/104) Installing zstd-libs (1.5.5-r4) 17:26:09 (103/104) Installing kmod-libs (30-r3) 17:26:09 (104/104) Installing eudev (3.2.11-r8) 17:26:09 Executing busybox-1.36.1-r5.trigger 17:26:09 Executing glib-2.76.6-r0.trigger 17:26:09 Executing eudev-3.2.11-r8.trigger 17:26:09 OK: 110 MiB in 119 packages 17:26:14 Removing intermediate container 1f3a9a2af1dd 17:26:14 ---> a0f924c593dd 17:26:14 Step 18/37 : RUN apk --no-cache upgrade 17:26:14 ---> Running in e5b080e461de 17:26:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:26:16 Upgrading critical system libraries and apk-tools: 17:26:16 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 17:26:16 Executing busybox-1.36.1-r5.trigger 17:26:16 Continuing the upgrade transaction with new apk-tools: 17:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:26:17 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 17:26:17 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 17:26:17 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 17:26:17 OK: 110 MiB in 119 packages 17:26:18 Removing intermediate container e5b080e461de 17:26:18 ---> 5e29bc449869 17:26:18 Step 19/37 : WORKDIR / 17:26:18 ---> Running in cb258bf09cf6 17:26:19 Removing intermediate container cb258bf09cf6 17:26:19 ---> 404c4de195da 17:26:19 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:26:21 ---> ca367f5ffd5f 17:26:21 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:26:21 ---> 988737121d62 17:26:21 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:26:22 ---> 8c4251f22cb6 17:26:22 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:26:22 ---> bff32d40b0d3 17:26:22 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:26:23 ---> 603cb7cf3d35 17:26:23 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 17:26:23 ---> 139848f4d0b8 17:26:23 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 17:26:25 ---> ac7c5b542082 17:26:25 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:26:25 ---> Running in c730d744eea8 17:26:27 Removing intermediate container c730d744eea8 17:26:27 ---> e98ef1e4a21e 17:26:27 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:26:27 ---> Running in f3faed41b5de 17:26:28 Removing intermediate container f3faed41b5de 17:26:28 ---> dc5355353a1c 17:26:28 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:26:28 ---> Running in fabddffb6d84 17:26:29 Removing intermediate container fabddffb6d84 17:26:29 ---> 6f121df29265 17:26:29 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:26:30 ---> Running in ada3a78fa3af 17:26:31 Removing intermediate container ada3a78fa3af 17:26:31 ---> aeafef3d6ef0 17:26:31 Step 31/37 : EXPOSE 59983 17:26:31 ---> Running in 08bcfe194da2 17:26:32 Removing intermediate container 08bcfe194da2 17:26:32 ---> ff05e724901d 17:26:32 Step 32/37 : EXPOSE 8554 17:26:32 ---> Running in 6e46dc1b140f 17:26:32 Removing intermediate container 6e46dc1b140f 17:26:32 ---> 2bc3ca39e55c 17:26:32 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:26:32 ---> Running in 6ac6a93b3cec 17:26:32 Removing intermediate container 6ac6a93b3cec 17:26:32 ---> a71042214f32 17:26:32 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:26:32 ---> Running in 0c6fd10abe10 17:26:33 Removing intermediate container 0c6fd10abe10 17:26:33 ---> 0dcbab5108cf 17:26:33 Step 35/37 : LABEL arch=arm64 17:26:33 ---> Running in 3c563a190607 17:26:33 Removing intermediate container 3c563a190607 17:26:33 ---> 9c63b10a3d18 17:26:33 Step 36/37 : LABEL git_sha=14b24e3423064c758ede49a9e31f932dfb68e160 17:26:33 ---> Running in 31e0c7d10bfd 17:26:33 Removing intermediate container 31e0c7d10bfd 17:26:33 ---> ab1a6745b672 17:26:33 Step 37/37 : LABEL version=0.0.0 17:26:33 ---> Running in 5c7cd57cca6a 17:26:34 Removing intermediate container 5c7cd57cca6a 17:26:34 ---> 85542378937e 17:26:34 [Warning] One or more build-args [ARCH] were not consumed 17:26:34 Successfully built 85542378937e 17:26:34 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:26:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:35 17:26:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:35 arm64: Pulling from edgex-lftools-log-publisher 17:26:35 8998bd30e6a1: Pulling fs layer 17:26:35 04944245beec: Pulling fs layer 17:26:35 699f458cf7ca: Pulling fs layer 17:26:35 765212b225bb: Pulling fs layer 17:26:35 f23df028b6ca: Pulling fs layer 17:26:35 d65c8cfc05b1: Pulling fs layer 17:26:35 2437ff75d9bd: Pulling fs layer 17:26:35 f23df028b6ca: Waiting 17:26:35 d65c8cfc05b1: Waiting 17:26:35 2437ff75d9bd: Waiting 17:26:35 765212b225bb: Waiting 17:26:35 04944245beec: Verifying Checksum 17:26:35 04944245beec: Download complete 17:26:35 765212b225bb: Verifying Checksum 17:26:35 765212b225bb: Download complete 17:26:35 f23df028b6ca: Download complete 17:26:35 d65c8cfc05b1: Verifying Checksum 17:26:35 d65c8cfc05b1: Download complete 17:26:36 699f458cf7ca: Verifying Checksum 17:26:36 699f458cf7ca: Download complete 17:26:36 8998bd30e6a1: Verifying Checksum 17:26:36 8998bd30e6a1: Download complete 17:26:39 2437ff75d9bd: Verifying Checksum 17:26:39 2437ff75d9bd: Download complete 17:26:41 8998bd30e6a1: Pull complete 17:26:41 04944245beec: Pull complete 17:26:42 699f458cf7ca: Pull complete 17:26:43 765212b225bb: Pull complete 17:26:44 f23df028b6ca: Pull complete 17:26:44 d65c8cfc05b1: Pull complete 17:27:02 2437ff75d9bd: Pull complete 17:27:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:27:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:03 prd-ubuntu20.04-docker-arm64-4c-16g-293 does not seem to be running inside a container 17:27:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:27:05 $ docker top 71bfebb7cb715096497b2871f214c87de60132738574c436115609d8f93bcd82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:06 ---> job-cost.sh 17:27:06 lf-activate-venv: SKIPPING 17:27:06 INFO: No Stack... 17:27:06 INFO: Retrieving Pricing Info for: v3-standard-4 17:27:07 INFO: Archiving Costs [Pipeline] sh 17:27:08 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:27:08 + cut -d, -f6 [Pipeline] lock 17:27:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] 17:27:08 Resource [jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] did not exist. Created. 17:27:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:08 /w/workspace/device-usb-camera/1@tmp/durable-a0e4167c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:27:09 + echo total: 0.10999999940395355 [Pipeline] stash 17:27:09 Warning: overwriting stash ‘stack-cost’ 17:27:09 Stashed 1 file(s) [Pipeline] } 17:27:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-329-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:27:09 $ docker stop --time=1 71bfebb7cb715096497b2871f214c87de60132738574c436115609d8f93bcd82 17:27:11 $ docker rm -f --volumes 71bfebb7cb715096497b2871f214c87de60132738574c436115609d8f93bcd82 [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:27:12 provisioning config files... 17:27:12 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-329@tmp/config13439896706121664380tmp [Pipeline] { [Pipeline] sh 17:27:12 + set +x 17:27:12 + + curlbash -s -s https://codecov.io/bash -- 17:27:12 17:27:13 17:27:13 _____ _ 17:27:13 / ____| | | 17:27:13 | | ___ __| | ___ ___ _____ __ 17:27:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:27:13 | |___| (_) | (_| | __/ (_| (_) \ V / 17:27:13 \_____\___/ \__,_|\___|\___\___/ \_/ 17:27:13 Bash-1.0.6 17:27:13 17:27:13 17:27:13 ==> git version 2.25.1 found 17:27:13 ==> 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:27:13 Release-Date: 2020-01-08 17:27:13 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:27:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:27:13 ==> Jenkins CI detected. 17:27:13 current dir:  /w/workspace/foundry_device-usb-camera_PR-329 17:27:13 project root: . 17:27:13 --> token set from env 17:27:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:27:13 ==> Running gcov in . (disable via -X gcov) 17:27:13 ==> Python coveragepy not found 17:27:13 ==> Searching for coverage reports in: 17:27:13 + . 17:27:13 -> Found 1 reports 17:27:13 ==> Detecting git/mercurial file structure 17:27:13 ==> Reading reports 17:27:13 + ./coverage.out bytes=54703 17:27:13 ==> Appending adjustments 17:27:13 https://docs.codecov.io/docs/fixing-reports 17:27:13 + Found adjustments 17:27:13 ==> Gzipping contents 17:27:13 8.0K /tmp/codecov.z7z8yc.gz 17:27:13 ==> Uploading reports 17:27:13 url: https://codecov.io 17:27:13 query: branch=PR-329&commit=14b24e3423064c758ede49a9e31f932dfb68e160&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-329%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=329&job=&cmd_args= 17:27:13 -> Pinging Codecov 17:27:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-329&commit=14b24e3423064c758ede49a9e31f932dfb68e160&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-329%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=329&job=&cmd_args= 17:27:13 -> Uploading to 17:27:13 https://storage.googleapis.com/codecov/v4/raw/2024-05-16/73D8F5FF140700D3E01443B452E23636/14b24e3423064c758ede49a9e31f932dfb68e160/1ae5af4d-3013-4292-9672-b73866d957ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T172713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d26570726d02cd96b86f972816e08a184ab11f4bcecc851fb643338fb4ac232d 17:27:13 % Total % Received % Xferd Average Speed Time Time Time Current 17:27:13 Dload Upload Total Spent Left Speed 17:27:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 33195 --:--:-- --:--:-- --:--:-- 33033 100 6805 0 0 100 6805 0 28004 --:--:-- --:--:-- --:--:-- 27889 17:27:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/14b24e3423064c758ede49a9e31f932dfb68e160 [Pipeline] } 17:27:13 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:27:16 + [ -d /w/workspace/foundry_device-usb-camera_PR-329/archives ] 17:27:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-329/archives 17:27:16 total 16 17:27:16 drwxr-xr-x 3 root root 4096 May 16 17:15 . 17:27:16 drwxrwxr-x 10 jenkins jenkins 4096 May 16 17:15 .. 17:27:16 drwxr-xr-x 2 root root 4096 May 16 17:15 cost 17:27:16 -rw-r--r-- 1 root root 89 May 16 17:15 cost.csv 17:27:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-329/archives 17:27:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-329/archives 17:27:16 total 16 17:27:16 drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:15 . 17:27:16 drwxrwxr-x 10 jenkins jenkins 4096 May 16 17:15 .. 17:27:16 drwxr-xr-x 2 jenkins jenkins 4096 May 16 17:15 cost 17:27:16 -rw-r--r-- 1 jenkins jenkins 89 May 16 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:27:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:27:17 ---> package-listing.sh 17:27:17 ++ facter osfamily 17:27:17 ++ tr '[:upper:]' '[:lower:]' 17:27:17 + OS_FAMILY=debian 17:27:17 + workspace=/w/workspace/foundry_device-usb-camera_PR-329 17:27:17 + START_PACKAGES=/tmp/packages_start.txt 17:27:17 + END_PACKAGES=/tmp/packages_end.txt 17:27:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:27:17 + PACKAGES=/tmp/packages_start.txt 17:27:17 + '[' /w/workspace/foundry_device-usb-camera_PR-329 ']' 17:27:17 + PACKAGES=/tmp/packages_end.txt 17:27:17 + case "${OS_FAMILY}" in 17:27:17 + dpkg -l 17:27:17 + grep '^ii' 17:27:17 + '[' -f /tmp/packages_start.txt ']' 17:27:17 + '[' -f /tmp/packages_end.txt ']' 17:27:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:27:17 + '[' /w/workspace/foundry_device-usb-camera_PR-329 ']' 17:27:17 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-329/archives/ 17:27:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-329/archives/ [Pipeline] echo 17:27:17 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-329/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:27:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:18 prd-ubuntu20.04-docker-8c-8g-292 does not seem to be running inside a container 17:27:18 $ 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-329/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-329 -v /w/workspace/foundry_device-usb-camera_PR-329:/w/workspace/foundry_device-usb-camera_PR-329:rw,z -v /w/workspace/foundry_device-usb-camera_PR-329@tmp:/w/workspace/foundry_device-usb-camera_PR-329@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:27:18 $ docker top f3045c6f9b2d255994b5779948616afdffffbd0818b616010a24d036c997b9b2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:19 + touch /tmp/pre-build-complete [Pipeline] sh 17:27:19 + mkdir -p /var/log/sysstat [Pipeline] sh 17:27:19 + ls /var/log/sa-host 17:27:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:20 provisioning config files... 17:27:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-329@tmp/config8168773862990724034tmp [Pipeline] { [Pipeline] echo 17:27:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:27:20 ---> create-netrc.sh [Pipeline] } 17:27:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:27:21 ---> python-tools-install.sh [Pipeline] echo 17:27:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:27:21 ---> sudo-logs.sh 17:27:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:27:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:27:21 ---> job-cost.sh 17:27:21 lf-activate-venv: SKIPPING 17:27:21 DEBUG: total: 0.2199999988079071 17:27:21 INFO: Retrieving Stack Cost... 17:27:22 INFO: Retrieving Pricing Info for: v3-standard-8 17:27:22 INFO: Archiving Costs [Pipeline] echo 17:27:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:27:23 ---> logs-deploy.sh 17:27:23 lf-activate-venv: SKIPPING 17:27:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-329/1 17:27:23 INFO: archiving workspace using pattern(s): 17:27:24 Archives upload complete. 17:27:24 INFO: archiving logs to Nexus