Pull request #327 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f7e73ff3c79bc6e877ca73317d9399599d6d168+194431db47f233fb6110709955d70fa5c29cead8 (7c8384bbf105bc0ab53f61089db3323ecf644125) 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-ssh7987335928264530896.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-ssh17890769493002767387.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-327/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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17154002594110787695.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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9213494622916643120.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-ssh14729642599230030062.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-327/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-327/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1767298128540660211.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-592’ Running on prd-ubuntu20.04-docker-8c-8g-594 in /w/workspace/foundry_device-usb-camera_PR-327 [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-327 # 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/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 194431db47f233fb6110709955d70fa5c29cead8 into PR head commit 7f7e73ff3c79bc6e877ca73317d9399599d6d168 Merge succeeded, producing 7f7e73ff3c79bc6e877ca73317d9399599d6d168 Checking out Revision 7f7e73ff3c79bc6e877ca73317d9399599d6d168 (PR-327) 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 7f7e73ff3c79bc6e877ca73317d9399599d6d168 # 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 7f7e73ff3c79bc6e877ca73317d9399599d6d168 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:50:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:50:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:50:44 ========================================================= 17:50:44 EdgeX Global Pipelines Version Info 17:50:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:50:45 ------------------- 17:50:45 stable info: 17:50:45 ------------------- 17:50:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:50:45 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:50:45 Message: update stable to v1.0.258 17:50:46 ------------------- 17:50:46 experimental info: 17:50:46 ------------------- 17:50:46 Commited By: **** collab-it+edgex@linuxfoundation.org 17:50:46 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:50:46 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:50:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:50:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:50:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:50:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:50:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-327 [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-327 [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-327 [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f7e73ff3c79bc6e877ca73317d9399599d6d168 [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f7e73f [Pipeline] echo 17:50:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:48 provisioning config files... 17:50:48 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-327@tmp/config12515222738903896354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:49 ---> ****-login.sh 17:50:49 nexus3.edgexfoundry.org:10001 17:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:49 Configure a credential helper to remove this warning. See 17:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:49 17:50:49 Login Succeeded 17:50:49 nexus3.edgexfoundry.org:10002 17:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:49 Configure a credential helper to remove this warning. See 17:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:49 17:50:49 Login Succeeded 17:50:49 nexus3.edgexfoundry.org:10003 17:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:49 Configure a credential helper to remove this warning. See 17:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:49 17:50:49 Login Succeeded 17:50:49 nexus3.edgexfoundry.org:10004 17:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:49 Configure a credential helper to remove this warning. See 17:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:49 17:50:49 Login Succeeded 17:50:49 ****.io 17:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:50 Configure a credential helper to remove this warning. See 17:50:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:50 17:50:50 Login Succeeded 17:50:50 ---> ****-login.sh ends [Pipeline] } 17:50:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:50:50 + git rev-list -1 --merges 7f7e73ff3c79bc6e877ca73317d9399599d6d168~1..7f7e73ff3c79bc6e877ca73317d9399599d6d168 [Pipeline] echo 17:50:50 -----------> git rev-list -1 --merges 7f7e73ff3c79bc6e877ca73317d9399599d6d168~1..7f7e73ff3c79bc6e877ca73317d9399599d6d168 7f7e73ff3c79bc6e877ca73317d9399599d6d168 [false] [Pipeline] sh 17:50:51 + git log --format=format:%s -1 7f7e73ff3c79bc6e877ca73317d9399599d6d168 [Pipeline] echo 17:50:51 ========================================================= 17:50:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:50:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:51 + git log --format=format:%s -1 7f7e73ff3c79bc6e877ca73317d9399599d6d168 [Pipeline] echo 17:50:51 [semverPrep] GIT_COMMIT: 7f7e73ff3c79bc6e877ca73317d9399599d6d168, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:50:51 [semverPrep] This is not a build commit. [Pipeline] sh 17:50:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:50:52 + grep -v github /etc/ssh/ssh_known_hosts 17:50:52 + [ -e /tmp/ssh_known_hosts ] 17:50:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:50:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:50:52 + sudo tee -a /etc/ssh/ssh_known_hosts 17:50:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:50:52 17:50:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:50:53 0.1.4: Pulling from edgex-devops/py-git-semver 17:50:53 b85a868b505f: Pulling fs layer 17:50:53 e2be974225ed: Pulling fs layer 17:50:53 339a4e72a1f5: Pulling fs layer 17:50:53 988bab9f4d93: Pulling fs layer 17:50:53 1469e6f7b9e6: Pulling fs layer 17:50:53 eaf3925da568: Pulling fs layer 17:50:53 bab4dde63d76: Pulling fs layer 17:50:53 bde34c3a00c8: Pulling fs layer 17:50:53 b352a97aabf1: Pulling fs layer 17:50:53 4872d77fe225: Pulling fs layer 17:50:53 5851b861e8e6: Pulling fs layer 17:50:53 988bab9f4d93: Waiting 17:50:53 1469e6f7b9e6: Waiting 17:50:53 b352a97aabf1: Waiting 17:50:53 eaf3925da568: Waiting 17:50:53 bde34c3a00c8: Waiting 17:50:53 4872d77fe225: Waiting 17:50:53 5851b861e8e6: Waiting 17:50:53 e2be974225ed: Verifying Checksum 17:50:53 e2be974225ed: Download complete 17:50:53 988bab9f4d93: Verifying Checksum 17:50:53 988bab9f4d93: Download complete 17:50:53 1469e6f7b9e6: Verifying Checksum 17:50:53 1469e6f7b9e6: Download complete 17:50:53 eaf3925da568: Download complete 17:50:53 339a4e72a1f5: Verifying Checksum 17:50:53 339a4e72a1f5: Download complete 17:50:53 bde34c3a00c8: Verifying Checksum 17:50:53 bde34c3a00c8: Download complete 17:50:53 b352a97aabf1: Download complete 17:50:53 4872d77fe225: Download complete 17:50:53 5851b861e8e6: Download complete 17:50:53 b85a868b505f: Verifying Checksum 17:50:53 b85a868b505f: Download complete 17:50:53 bab4dde63d76: Verifying Checksum 17:50:53 bab4dde63d76: Download complete 17:50:54 b85a868b505f: Pull complete 17:50:54 e2be974225ed: Pull complete 17:50:55 339a4e72a1f5: Pull complete 17:50:55 988bab9f4d93: Pull complete 17:50:55 1469e6f7b9e6: Pull complete 17:50:55 eaf3925da568: Pull complete 17:50:57 bab4dde63d76: Pull complete 17:50:57 bde34c3a00c8: Pull complete 17:50:57 b352a97aabf1: Pull complete 17:50:57 4872d77fe225: Pull complete 17:50:57 5851b861e8e6: Pull complete 17:50:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:50:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:50:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:57 prd-ubuntu20.04-docker-8c-8g-594 does not seem to be running inside a container 17:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-327 -v /w/workspace/foundry_device-usb-camera_PR-327:/w/workspace/foundry_device-usb-camera_PR-327:rw,z -v /w/workspace/foundry_device-usb-camera_PR-327@tmp:/w/workspace/foundry_device-usb-camera_PR-327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:51:00 $ docker top c788c63804145a1203cf7ca053b7e3d0e3423d2ad202e7264ec4f4791c973e82 -eo pid,comm 17:51:00 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:51:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:51:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:51:00 [ssh-agent] Looking for ssh-agent implementation... 17:51:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:51:01 $ docker exec c788c63804145a1203cf7ca053b7e3d0e3423d2ad202e7264ec4f4791c973e82 ssh-agent 17:51:01 SSH_AUTH_SOCK=/tmp/ssh-opAQAegTf2CZ/agent.32 17:51:01 SSH_AGENT_PID=38 17:51:01 Running ssh-add (command line suppressed) 17:51:01 Identity added: /w/workspace/foundry_device-usb-camera_PR-327@tmp/private_key_10011106974689508272.key (/w/workspace/foundry_device-usb-camera_PR-327@tmp/private_key_10011106974689508272.key) 17:51:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:51:01 + git tag --points-at HEAD [Pipeline] } 17:51:01 $ docker exec --env ******** --env ******** c788c63804145a1203cf7ca053b7e3d0e3423d2ad202e7264ec4f4791c973e82 ssh-agent -k 17:51:01 unset SSH_AUTH_SOCK; 17:51:01 unset SSH_AGENT_PID; 17:51:01 echo Agent pid 38 killed; 17:51:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:51:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:51:01 [ssh-agent] Looking for ssh-agent implementation... 17:51:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:51:01 $ docker exec c788c63804145a1203cf7ca053b7e3d0e3423d2ad202e7264ec4f4791c973e82 ssh-agent 17:51:02 SSH_AUTH_SOCK=/tmp/ssh-CrvA8Sgx6rQ0/agent.71 17:51:02 SSH_AGENT_PID=77 17:51:02 Running ssh-add (command line suppressed) 17:51:02 Identity added: /w/workspace/foundry_device-usb-camera_PR-327@tmp/private_key_8191536271627116572.key (/w/workspace/foundry_device-usb-camera_PR-327@tmp/private_key_8191536271627116572.key) 17:51:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:51:02 + git semver init 17:51:02 2024-03-21 17:51:02,740 [run_init] DEBUG init version:0.0.0 force:False 17:51:02 2024-03-21 17:51:02,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-327/.semver 17:51:02 2024-03-21 17:51:02,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-327/.semver 17:51:02 2024-03-21 17:51:02,742 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-327/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-327, universal_newlines=False, shell=None, istream=None) 17:51:03 2024-03-21 17:51:03,740 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-327/.git/info/exclude 17:51:03 2024-03-21 17:51:03,740 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-327/.semver/PR-327 with force:False 17:51:03 2024-03-21 17:51:03,740 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-327/.semver/PR-327 17:51:03 2024-03-21 17:51:03,745 [execute] INFO git cat-file --batch-check 17:51:03 2024-03-21 17:51:03,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-327/.semver, universal_newlines=False, shell=None, istream=) 17:51:03 2024-03-21 17:51:03,750 [execute] INFO git cat-file --batch 17:51:03 2024-03-21 17:51:03,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-327/.semver, universal_newlines=False, shell=None, istream=) 17:51:03 2024-03-21 17:51:03,756 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-327/.semver/PR-327 17:51:03 0.0.0 [Pipeline] } 17:51:04 $ docker exec --env ******** --env ******** c788c63804145a1203cf7ca053b7e3d0e3423d2ad202e7264ec4f4791c973e82 ssh-agent -k 17:51:04 unset SSH_AUTH_SOCK; 17:51:04 unset SSH_AGENT_PID; 17:51:04 echo Agent pid 77 killed; 17:51:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:51:04 + git semver [Pipeline] } 17:51:04 $ docker stop --time=1 c788c63804145a1203cf7ca053b7e3d0e3423d2ad202e7264ec4f4791c973e82 17:51:06 $ docker rm -f --volumes c788c63804145a1203cf7ca053b7e3d0e3423d2ad202e7264ec4f4791c973e82 [Pipeline] // withDockerContainer [Pipeline] sh 17:51:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:51:06 Stashed 1 file(s) [Pipeline] echo 17:51:07 [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:51:07 provisioning config files... 17:51:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-327@tmp/config8138321302726676004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:08 ---> ****-login.sh 17:51:08 nexus3.edgexfoundry.org:10001 17:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:08 Configure a credential helper to remove this warning. See 17:51:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:08 17:51:08 Login Succeeded 17:51:08 nexus3.edgexfoundry.org:10002 17:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:08 Configure a credential helper to remove this warning. See 17:51:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:08 17:51:08 Login Succeeded 17:51:08 nexus3.edgexfoundry.org:10003 17:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:08 Configure a credential helper to remove this warning. See 17:51:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:08 17:51:08 Login Succeeded 17:51:08 nexus3.edgexfoundry.org:10004 17:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:08 Configure a credential helper to remove this warning. See 17:51:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:08 17:51:08 Login Succeeded 17:51:08 ****.io 17:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:08 Configure a credential helper to remove this warning. See 17:51:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:08 17:51:08 Login Succeeded 17:51:08 ---> ****-login.sh ends [Pipeline] } 17:51:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:51:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:51:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:51:08 ========================================================= 17:51:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:51:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:09 + 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:51:09 Sending build context to Docker daemon 14.52MB 17:51:09 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:51:09 Step 2/13 : FROM ${BASE} AS builder 17:51:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:51:09 7264a8db6415: Pulling fs layer 17:51:09 c4d48a809fc2: Pulling fs layer 17:51:09 4f1c88b9dad5: Pulling fs layer 17:51:09 ad3a456e5733: Pulling fs layer 17:51:09 69c7f0334f64: Pulling fs layer 17:51:09 1f1c1a5573a3: Pulling fs layer 17:51:09 ce7588e14bc9: Pulling fs layer 17:51:09 b5e4710f87ac: Pulling fs layer 17:51:09 ad3a456e5733: Waiting 17:51:09 1f1c1a5573a3: Waiting 17:51:09 69c7f0334f64: Waiting 17:51:09 ce7588e14bc9: Waiting 17:51:09 b5e4710f87ac: Waiting 17:51:09 c4d48a809fc2: Verifying Checksum 17:51:09 c4d48a809fc2: Download complete 17:51:09 ad3a456e5733: Verifying Checksum 17:51:09 ad3a456e5733: Download complete 17:51:09 69c7f0334f64: Verifying Checksum 17:51:09 69c7f0334f64: Download complete 17:51:09 7264a8db6415: Download complete 17:51:09 1f1c1a5573a3: Verifying Checksum 17:51:09 1f1c1a5573a3: Download complete 17:51:09 7264a8db6415: Pull complete 17:51:09 b5e4710f87ac: Verifying Checksum 17:51:09 b5e4710f87ac: Download complete 17:51:09 c4d48a809fc2: Pull complete 17:51:10 4f1c88b9dad5: Download complete 17:51:10 ce7588e14bc9: Verifying Checksum 17:51:10 ce7588e14bc9: Download complete 17:51:13 4f1c88b9dad5: Pull complete 17:51:13 ad3a456e5733: Pull complete 17:51:13 69c7f0334f64: Pull complete 17:51:13 1f1c1a5573a3: Pull complete 17:51:16 ce7588e14bc9: Pull complete 17:51:16 b5e4710f87ac: Pull complete 17:51:16 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 17:51:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:51:16 ---> 88b5674ff536 17:51:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:51:20 ---> Running in b68e430c66df 17:51:21 Removing intermediate container b68e430c66df 17:51:21 ---> 6bc9732e40f1 17:51:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:21 ---> Running in db47c3df460f 17:51:21 Removing intermediate container db47c3df460f 17:51:21 ---> 46eaea49646a 17:51:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:51:21 ---> Running in 9075084256fa 17:51:21 Removing intermediate container 9075084256fa 17:51:21 ---> 6627e24c23a3 17:51:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:51:21 ---> Running in 02f4439e535c 17:51:21 Removing intermediate container 02f4439e535c 17:51:21 ---> b31d2be2003f 17:51:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:21 ---> Running in 80a672ae175f 17:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:51:21 (1/13) Installing libintl (0.21.1-r7) 17:51:21 (2/13) Installing eudev-libs (3.2.11-r8) 17:51:21 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:51:21 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:51:21 (5/13) Installing v4l-utils (1.24.1-r0) 17:51:22 (6/13) Installing libdvbv5 (1.24.1-r0) 17:51:22 (7/13) Installing udev-init-scripts (35-r1) 17:51:22 (8/13) Installing libblkid (2.38.1-r8) 17:51:22 (9/13) Installing xz-libs (5.4.3-r0) 17:51:22 (10/13) Installing kmod-libs (30-r3) 17:51:22 (11/13) Installing eudev (3.2.11-r8) 17:51:22 (12/13) Installing eudev-dev (3.2.11-r8) 17:51:22 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:51:22 Still waiting to schedule task 17:51:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-593’ 17:51:22 Executing busybox-1.36.1-r5.trigger 17:51:22 Executing eudev-3.2.11-r8.trigger 17:51:22 OK: 271 MiB in 65 packages 17:51:23 Removing intermediate container 80a672ae175f 17:51:23 ---> 1587f523c4f3 17:51:23 Step 8/13 : WORKDIR /device-usb-camera 17:51:23 ---> Running in b19d387671df 17:51:23 Removing intermediate container b19d387671df 17:51:23 ---> aa1b2000be10 17:51:23 Step 9/13 : COPY go.mod vendor* ./ 17:51:23 ---> 558d027833ee 17:51:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:23 ---> Running in 95d9d46ede58 17:52:19 Removing intermediate container 95d9d46ede58 17:52:19 ---> 6e63080049b6 17:52:19 Step 11/13 : COPY . . 17:52:19 ---> ced31a39473d 17:52:19 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:52:19 ---> Running in 2083ec6aeb57 17:52:19  % Total % Received % Xferd Average Speed Time Time Time Current 17:52:19 Dload Upload Total Spent Left Speed 17:52:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10191 0 --:--:-- --:--:-- --:--:-- 10211 17:52:19 Removing intermediate container 2083ec6aeb57 17:52:19 ---> 0930447af07e 17:52:19 Step 13/13 : RUN ${MAKE} 17:52:19 ---> Running in 7f501b339bef 17:52:19 noop 17:52:19 Removing intermediate container 7f501b339bef 17:52:19 ---> 0e5f480840db 17:52:19 Successfully built 0e5f480840db 17:52:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:20 + docker inspect -f . ci-base-image-x86_64 17:52:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:20 prd-ubuntu20.04-docker-8c-8g-594 does not seem to be running inside a container 17:52:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-327 -v /w/workspace/foundry_device-usb-camera_PR-327:/w/workspace/foundry_device-usb-camera_PR-327:rw,z -v /w/workspace/foundry_device-usb-camera_PR-327@tmp:/w/workspace/foundry_device-usb-camera_PR-327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:52:20 $ docker top d0bb750d0e4041d8ab0713eff81dbfb61942ecd9d4acc2678e564b2c96e2bff0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:21 + go version 17:52:21 go version go1.21.0 linux/amd64 [Pipeline] } 17:52:21 $ docker stop --time=1 d0bb750d0e4041d8ab0713eff81dbfb61942ecd9d4acc2678e564b2c96e2bff0 17:52:22 $ docker rm -f --volumes d0bb750d0e4041d8ab0713eff81dbfb61942ecd9d4acc2678e564b2c96e2bff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:23 + docker inspect -f . ci-base-image-x86_64 17:52:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:23 prd-ubuntu20.04-docker-8c-8g-594 does not seem to be running inside a container 17:52:23 $ 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-327 -v /w/workspace/foundry_device-usb-camera_PR-327:/w/workspace/foundry_device-usb-camera_PR-327:rw,z -v /w/workspace/foundry_device-usb-camera_PR-327@tmp:/w/workspace/foundry_device-usb-camera_PR-327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:52:23 $ docker top 2d51cb579a3a0b5ea758ec9c7607a4b58e13ccb2ac2aedae6ad95145367ed11f -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:24 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-327 [Pipeline] fileExists [Pipeline] sh 17:52:24 + make test 17:52:24 go test ./... -coverprofile=coverage.out ./... 17:52:26 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:52:44 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:52:44 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 4.4% of statements 17:52:54 go vet ./... 17:52:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:52:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:52:58 ./bin/test-attribution-txt.sh 17:52:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:52:58 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:52:58 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:52:58 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:52:58 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:52:58 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:52:58 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:52:58 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:52:58 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:52:58 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 17:52:58 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 17:52:58 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:52:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:52:58 $ docker stop --time=1 2d51cb579a3a0b5ea758ec9c7607a4b58e13ccb2ac2aedae6ad95145367ed11f 17:53:02 $ docker rm -f --volumes 2d51cb579a3a0b5ea758ec9c7607a4b58e13ccb2ac2aedae6ad95145367ed11f [Pipeline] // withDockerContainer [Pipeline] sh 17:53:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:53:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:53:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:53:04 + ls -al . 17:53:04 total 292 17:53:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 17:52 . 17:53:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 17:50 .. 17:53:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 17:52 .git 17:53:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 17:50 .github 17:53:04 -rw-rw-r-- 1 jenkins jenkins 429 Mar 21 17:50 .gitignore 17:53:04 -rw-rw-r-- 1 jenkins jenkins 45 Mar 21 17:50 .golangci.yml 17:53:04 -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 17:50 .hadolint.yml 17:53:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 17:51 .semver 17:53:04 -rw-rw-r-- 1 jenkins jenkins 10851 Mar 21 17:50 Attribution.txt 17:53:04 -rw-rw-r-- 1 jenkins jenkins 16561 Mar 21 17:50 CHANGELOG.md 17:53:04 -rw-rw-r-- 1 jenkins jenkins 2562 Mar 21 17:50 Dockerfile 17:53:04 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 17:50 GOVERNANCE.md 17:53:04 -rw-rw-r-- 1 jenkins jenkins 659 Mar 21 17:50 Jenkinsfile 17:53:04 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 17:50 LICENSE 17:53:04 -rw-rw-r-- 1 jenkins jenkins 2611 Mar 21 17:50 Makefile 17:53:04 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 17:50 OWNERS.md 17:53:04 -rw-rw-r-- 1 jenkins jenkins 2575 Mar 21 17:50 README.md 17:53:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 17:51 VERSION 17:53:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 17:50 bin 17:53:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 17:50 cmd 17:53:04 -rw-r--r-- 1 jenkins jenkins 54703 Mar 21 17:52 coverage.out 17:53:04 -rwxrwxr-x 1 jenkins jenkins 84 Mar 21 17:50 docker-entrypoint.sh 17:53:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 17:50 docs 17:53:04 -rw-rw-r-- 1 jenkins jenkins 7272 Mar 21 17:50 go.mod 17:53:04 -rw-rw-r-- 1 jenkins jenkins 101525 Mar 21 17:50 go.sum 17:53:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 17:50 internal 17:53:04 -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 17:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:04 + 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=7f7e73ff3c79bc6e877ca73317d9399599d6d168 --label arch=amd64 --label version=0.0.0 . 17:53:04 Sending build context to Docker daemon 14.57MB 17:53:04 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:53:04 Step 2/37 : FROM ${BASE} AS builder 17:53:04 ---> 0e5f480840db 17:53:04 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:53:04 ---> Running in 307bdd6a91a3 17:53:05 Removing intermediate container 307bdd6a91a3 17:53:05 ---> cc7b6560496d 17:53:05 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:05 ---> Running in 6f3f4371bc34 17:53:05 Removing intermediate container 6f3f4371bc34 17:53:05 ---> 38632143b673 17:53:05 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:53:05 ---> Running in a4a5ccff818e 17:53:05 Removing intermediate container a4a5ccff818e 17:53:05 ---> 33aa801a76f7 17:53:05 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:53:05 ---> Running in 59948b801ec5 17:53:05 Removing intermediate container 59948b801ec5 17:53:05 ---> 424f4e69c487 17:53:05 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:05 ---> Running in 89d6c7df7535 17:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:53:06 OK: 271 MiB in 65 packages 17:53:06 Removing intermediate container 89d6c7df7535 17:53:06 ---> 16570d0623df 17:53:06 Step 8/37 : WORKDIR /device-usb-camera 17:53:06 ---> Running in 264ce53bedfa 17:53:06 Removing intermediate container 264ce53bedfa 17:53:06 ---> b56b41739c82 17:53:06 Step 9/37 : COPY go.mod vendor* ./ 17:53:06 ---> 93cb9ab4100c 17:53:06 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:06 ---> Running in 636388cfbab1 17:53:07 Removing intermediate container 636388cfbab1 17:53:07 ---> 91c22f9cfb8b 17:53:07 Step 11/37 : COPY . . 17:53:08 ---> 947ff6f6d2b7 17:53:08 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:53:08 ---> Running in 03a43580bb82 17:53:08  % Total % Received % Xferd Average Speed Time Time Time Current 17:53:08 Dload Upload Total Spent Left Speed 17:53:08 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 30921 0 --:--:-- --:--:-- --:--:-- 31235 17:53:08 Removing intermediate container 03a43580bb82 17:53:08 ---> b401bd72f4bf 17:53:08 Step 13/37 : RUN ${MAKE} 17:53:08 ---> Running in 3634c9d537ea 17:53:09 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.12" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:53:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-595 in /w/workspace/foundry_device-usb-camera_PR-327 [Pipeline] { [Pipeline] ws 17:53:17 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:53:20 Selected Git installation does not exist. Using Default 17:53:20 The recommended git tool is: NONE 17:53:25 using credential edgex-jenkins-ssh 17:53:25 Cloning the remote Git repository 17:53:25 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:53:25 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:53:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:53:25 > git --version # timeout=10 17:53:25 > git --version # 'git version 2.25.1' 17:53:25 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:27 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:53:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:28 Merging remotes/origin/main commit 194431db47f233fb6110709955d70fa5c29cead8 into PR head commit 7f7e73ff3c79bc6e877ca73317d9399599d6d168 17:53:29 Merge succeeded, producing 7f7e73ff3c79bc6e877ca73317d9399599d6d168 17:53:29 Checking out Revision 7f7e73ff3c79bc6e877ca73317d9399599d6d168 (PR-327) 17:53:28 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:53:28 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:53:28 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:53:28 > git config core.sparsecheckout # timeout=10 17:53:28 > git checkout -f 7f7e73ff3c79bc6e877ca73317d9399599d6d168 # timeout=10 17:53:29 > git remote # timeout=10 17:53:29 > git config --get remote.origin.url # timeout=10 17:53:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:29 > git merge 194431db47f233fb6110709955d70fa5c29cead8 # timeout=10 17:53:29 > git rev-parse HEAD^{commit} # timeout=10 17:53:29 > git config core.sparsecheckout # timeout=10 17:53:29 > git checkout -f 7f7e73ff3c79bc6e877ca73317d9399599d6d168 # timeout=10 17:53:29 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:53:29 > git --version # timeout=10 17:53:29 > git --version # 'git version 2.25.1' 17:53:29 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:53:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:53:34 % Total % Received % Xferd Average Speed Time Time Time Current 17:53:34 Dload Upload Total Spent Left Speed 17:53:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 121k 0 --:--:-- --:--:-- --:--:-- 122k [Pipeline] sh 17:53:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:53:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:53:35 + sudo tee /etc/docker/daemon.new 17:53:35 { 17:53:35 "registry-mirrors": [ 17:53:35 "https://nexus3.edgexfoundry.org:10001" 17:53:35 ], 17:53:35 "bip": "10.250.0.254/24", 17:53:35 "hosts": [ 17:53:35 "tcp://0.0.0.0:5555", 17:53:35 "unix:///var/run/docker.sock" 17:53:35 ], 17:53:35 "mtu": 1458, 17:53:35 "selinux-enabled": true, 17:53:35 "seccomp-profile": "/etc/docker/seccomp.json" 17:53:35 } [Pipeline] sh 17:53:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:53:36 + sudo service docker restart 17:53:41 Removing intermediate container 3634c9d537ea 17:53:41 ---> 02ab053f807c 17:53:41 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:53:41 v0.21.6: Pulling from aler9/rtsp-simple-server 17:53:41 4acc49c71d14: Pulling fs layer 17:53:41 4acc49c71d14: Verifying Checksum 17:53:41 4acc49c71d14: Download complete 17:53:41 4acc49c71d14: Pull complete 17:53:41 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:53:41 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:53:41 ---> 01a2bd3e5fff 17:53:41 Step 15/37 : FROM alpine:3.18 17:53:42 3.18: Pulling from library/alpine 17:53:42 619be1103602: Pulling fs layer 17:53:42 619be1103602: Verifying Checksum 17:53:42 619be1103602: Download complete 17:53:42 619be1103602: Pull complete 17:53:42 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 17:53:42 Status: Downloaded newer image for alpine:3.18 17:53:42 ---> d3782b16ccc9 17:53:42 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:53:43 ---> Running in 8a0aa3f23cc3 17:53:43 Removing intermediate container 8a0aa3f23cc3 17:53:43 ---> 5bbf1eb934f7 17:53:43 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:53:43 ---> Running in 7b15746b98db 17:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:53:44 (1/107) Installing dumb-init (1.2.5-r2) 17:53:44 (2/107) Installing sdl2 (2.26.5-r0) 17:53:44 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:53:44 (4/107) Installing aom-libs (3.6.1-r0) 17:53:44 (5/107) Installing libxau (1.0.11-r2) 17:53:44 (6/107) Installing libmd (1.0.4-r2) 17:53:44 (7/107) Installing libbsd (0.11.7-r1) 17:53:44 (8/107) Installing libxdmcp (1.1.4-r2) 17:53:44 (9/107) Installing libxcb (1.15-r1) 17:53:44 (10/107) Installing libx11 (1.8.7-r0) 17:53:44 (11/107) Installing hwdata-pci (0.370-r0) 17:53:44 (12/107) Installing libpciaccess (0.17-r2) 17:53:44 (13/107) Installing libdrm (2.4.115-r4) 17:53:44 (14/107) Installing libxext (1.3.5-r2) 17:53:44 (15/107) Installing libxfixes (6.0.1-r2) 17:53:44 (16/107) Installing libffi (3.4.4-r2) 17:53:44 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:53:44 (18/107) Installing libva (2.18.0-r1) 17:53:44 (19/107) Installing libvdpau (1.5-r1) 17:53:44 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:53:44 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:53:44 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:53:44 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:53:44 (24/107) Installing libdav1d (1.2.1-r0) 17:53:44 (25/107) Installing brotli-libs (1.0.9-r14) 17:53:44 (26/107) Installing libhwy (1.0.4-r1) 17:53:44 (27/107) Installing lcms2 (2.15-r2) 17:53:44 (28/107) Installing libjxl (0.8.2-r0) 17:53:44 (29/107) Installing lame-libs (3.100-r5) 17:53:44 (30/107) Installing opus (1.4-r0) 17:53:44 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:53:44 (32/107) Installing soxr (0.1.3-r5) 17:53:44 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:53:44 (34/107) Installing libogg (1.3.5-r4) 17:53:44 (35/107) Installing libtheora (1.1.1-r17) 17:53:44 (36/107) Installing libvorbis (1.3.7-r1) 17:53:44 (37/107) Installing libvpx (1.13.0-r2) 17:53:44 (38/107) Installing libwebp (1.3.2-r0) 17:53:44 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:53:44 (40/107) Installing numactl (2.0.16-r4) 17:53:44 (41/107) Installing x265-libs (3.5-r4) 17:53:44 (42/107) Installing xvidcore (1.3.7-r1) 17:53:44 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:53:44 (44/107) Installing alsa-lib (1.2.9-r1) 17:53:44 (45/107) Installing libexpat (2.6.2-r0) 17:53:44 (46/107) Installing libbz2 (1.0.8-r5) 17:53:44 (47/107) Installing libpng (1.6.39-r3) 17:53:44 (48/107) Installing freetype (2.13.0-r5) 17:53:44 (49/107) Installing fontconfig (2.14.2-r3) 17:53:44 (50/107) Installing fribidi (1.0.13-r0) 17:53:44 (51/107) Installing libintl (0.21.1-r7) 17:53:44 (52/107) Installing libblkid (2.38.1-r8) 17:53:44 (53/107) Installing libmount (2.38.1-r8) 17:53:44 (54/107) Installing pcre2 (10.42-r1) 17:53:44 (55/107) Installing glib (2.76.6-r0) 17:53:44 (56/107) Installing graphite2 (1.3.14-r5) 17:53:44 (57/107) Installing harfbuzz (7.3.0-r0) 17:53:44 (58/107) Installing libunibreak (5.1-r0) 17:53:44 (59/107) Installing libass (0.17.1-r0) 17:53:44 (60/107) Installing libbluray (1.3.4-r0) 17:53:44 (61/107) Installing gmp (6.2.1-r3) 17:53:44 (62/107) Installing nettle (3.8.1-r2) 17:53:44 (63/107) Installing libunistring (1.1-r1) 17:53:44 (64/107) Installing libidn2 (2.3.4-r1) 17:53:44 (65/107) Installing p11-kit (0.24.1-r2) 17:53:44 (66/107) Installing libtasn1 (4.19.0-r1) 17:53:44 (67/107) Installing gnutls (3.8.3-r0) 17:53:44 (68/107) Installing mpg123-libs (1.31.3-r1) 17:53:44 (69/107) Installing libopenmpt (0.7.2-r0) 17:53:44 (70/107) Installing cjson (1.7.17-r0) 17:53:44 (71/107) Installing mbedtls (2.28.7-r0) 17:53:44 (72/107) Installing librist (0.2.7-r0) 17:53:44 (73/107) Installing libsrt (1.5.2-r0) 17:53:44 (74/107) Installing libssh (0.10.5-r0) 17:53:44 (75/107) Installing xz-libs (5.4.3-r0) 17:53:44 (76/107) Installing libxml2 (2.11.7-r0) 17:53:44 (77/107) Installing libsodium (1.0.18-r3) 17:53:44 (78/107) Installing libzmq (4.3.4-r4) 17:53:45 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:53:45 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:53:45 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:53:45 (82/107) Installing shaderc (2023.3-r1) 17:53:45 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:53:45 (84/107) Installing libplacebo (5.264.1-r1) 17:53:45 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:53:45 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:53:45 (87/107) Installing vidstab (1.1.1-r0) 17:53:45 (88/107) Installing zimg (3.0.5-r0) 17:53:45 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:53:45 (90/107) Installing libasyncns (0.8-r1) 17:53:45 (91/107) Installing dbus-libs (1.14.8-r0) 17:53:45 (92/107) Installing libltdl (2.4.7-r2) 17:53:45 (93/107) Installing orc (0.4.34-r0) 17:53:45 (94/107) Installing flac-libs (1.4.3-r0) 17:53:45 (95/107) Installing libsndfile (1.2.0-r2) 17:53:45 (96/107) Installing speexdsp (1.2.1-r1) 17:53:45 (97/107) Installing tdb-libs (1.4.8-r1) 17:53:45 (98/107) Installing libpulse (16.1-r10) 17:53:45 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:53:45 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:53:45 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:53:45 (102/107) Installing ffmpeg (6.0.1-r0) 17:53:45 (103/107) Installing udev-init-scripts (35-r1) 17:53:45 (104/107) Installing eudev-libs (3.2.11-r8) 17:53:45 (105/107) Installing zstd-libs (1.5.5-r4) 17:53:45 (106/107) Installing kmod-libs (30-r3) 17:53:45 (107/107) Installing eudev (3.2.11-r8) 17:53:45 Executing busybox-1.36.1-r5.trigger 17:53:45 Executing glib-2.76.6-r0.trigger 17:53:45 Executing eudev-3.2.11-r8.trigger 17:53:45 OK: 131 MiB in 122 packages 17:53:48 Removing intermediate container 7b15746b98db 17:53:48 ---> 8c1e54ea2e2a 17:53:48 Step 18/37 : RUN apk --no-cache upgrade 17:53:48 ---> Running in bf229fe20128 17:53:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:53:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:53:48 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 17:53:48 OK: 131 MiB in 122 packages 17:53:49 Removing intermediate container bf229fe20128 17:53:49 ---> 6112b0711850 17:53:49 Step 19/37 : WORKDIR / 17:53:49 ---> Running in 755353ce4823 17:53:49 Removing intermediate container 755353ce4823 17:53:49 ---> c6b0d3da403d 17:53:49 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:53:50 ---> 33ad138a0d71 17:53:50 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:53:50 ---> 49e3f3e52e70 17:53:50 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:53:50 ---> e55d9ead3bed 17:53:50 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:53:50 ---> 6038b77fa35e 17:53:50 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:53:50 ---> 8becfad56779 17:53:50 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 17:53:50 ---> 0f9ea347643c 17:53:50 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 17:53:51 ---> ddf2a822648f 17:53:51 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:53:51 ---> Running in 8cf9f0433112 17:53:52 Removing intermediate container 8cf9f0433112 17:53:52 ---> 02c19d2a79d7 17:53:52 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:53:52 ---> Running in 789a2b634efc 17:53:52 Removing intermediate container 789a2b634efc 17:53:52 ---> 357538319c78 17:53:52 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:53:52 ---> Running in 359969565e09 17:53:53 Removing intermediate container 359969565e09 17:53:53 ---> 7d8f8f7e94a6 17:53:53 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:53:53 ---> Running in a8314afe5633 17:53:53 Removing intermediate container a8314afe5633 17:53:53 ---> b9b2419f7531 17:53:53 Step 31/37 : EXPOSE 59983 17:53:53 ---> Running in 418a7b556c27 17:53:54 Removing intermediate container 418a7b556c27 17:53:54 ---> 29fe762c8fe9 17:53:54 Step 32/37 : EXPOSE 8554 17:53:54 ---> Running in 78489d939111 17:53:54 Removing intermediate container 78489d939111 17:53:54 ---> 95b1253b4fbd 17:53:54 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:53:54 ---> Running in f26bce451c8b 17:53:54 Removing intermediate container f26bce451c8b 17:53:54 ---> 9fc9939e8486 17:53:54 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:53:54 ---> Running in 15221723b79f 17:53:54 Removing intermediate container 15221723b79f 17:53:54 ---> b09307b787dc 17:53:54 Step 35/37 : LABEL arch=amd64 17:53:54 ---> Running in 292760477a49 17:53:54 Removing intermediate container 292760477a49 17:53:54 ---> bf5fbbf62acd 17:53:54 Step 36/37 : LABEL git_sha=7f7e73ff3c79bc6e877ca73317d9399599d6d168 17:53:54 ---> Running in 14d2098dbf1e 17:53:54 Removing intermediate container 14d2098dbf1e 17:53:54 ---> 321861b1652d 17:53:54 Step 37/37 : LABEL version=0.0.0 17:53:54 ---> Running in 32df73cd827a [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:54 provisioning config files... 17:53:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3394420177993185109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:54 Removing intermediate container 32df73cd827a 17:53:54 ---> 066465cbf7bc 17:53:54 [Warning] One or more build-args [ARCH] were not consumed 17:53:54 Successfully built 066465cbf7bc 17:53:54 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 17:53:54 ---> ****-login.sh 17:53:54 nexus3.edgexfoundry.org:10001 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 17:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:53:55 Configure a credential helper to remove this warning. See 17:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:53:55 17:53:55 Login Succeeded 17:53:55 nexus3.edgexfoundry.org:10002 17:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:55 17:53:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 17:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:53:55 Configure a credential helper to remove this warning. See 17:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:53:55 17:53:55 Login Succeeded 17:53:55 nexus3.edgexfoundry.org:10003 [Pipeline] sh 17:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:56 latest: Pulling from edgex-lftools-log-publisher 17:53:56 5eb5b503b376: Pulling fs layer 17:53:56 5c69ac0246d0: Pulling fs layer 17:53:56 ec43610c2a17: Pulling fs layer 17:53:56 3a2ae6a8a46f: Pulling fs layer 17:53:56 33b1e0a273af: Pulling fs layer 17:53:56 5d3b04190fa2: Pulling fs layer 17:53:56 2f39f015ded8: Pulling fs layer 17:53:56 33b1e0a273af: Waiting 17:53:56 5d3b04190fa2: Waiting 17:53:56 2f39f015ded8: Waiting 17:53:56 3a2ae6a8a46f: Waiting 17:53:56 5c69ac0246d0: Download complete 17:53:56 3a2ae6a8a46f: Download complete 17:53:56 33b1e0a273af: Verifying Checksum 17:53:56 33b1e0a273af: Download complete 17:53:56 ec43610c2a17: Verifying Checksum 17:53:56 ec43610c2a17: Download complete 17:53:56 5d3b04190fa2: Verifying Checksum 17:53:56 5d3b04190fa2: Download complete 17:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:53:56 Configure a credential helper to remove this warning. See 17:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:53:56 17:53:56 Login Succeeded 17:53:56 nexus3.edgexfoundry.org:10004 17:53:56 5eb5b503b376: Verifying Checksum 17:53:56 5eb5b503b376: Download complete 17:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:53:56 Configure a credential helper to remove this warning. See 17:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:53:56 17:53:56 Login Succeeded 17:53:56 ****.io 17:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:56 2f39f015ded8: Verifying Checksum 17:53:56 2f39f015ded8: Download complete 17:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:53:57 Configure a credential helper to remove this warning. See 17:53:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:53:57 17:53:57 Login Succeeded 17:53:57 ---> ****-login.sh ends [Pipeline] } 17:53:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 17:53:57 5eb5b503b376: Pull complete 17:53:57 5c69ac0246d0: Pull complete [Pipeline] echo 17:53:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:53:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:53:57 ========================================================= 17:53:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:53:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:58 ec43610c2a17: Pull complete 17:53:58 3a2ae6a8a46f: Pull complete 17:53:58 + 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:53:58 33b1e0a273af: Pull complete 17:53:58 5d3b04190fa2: Pull complete 17:53:58 Sending build context to Docker daemon 7.517MB 17:53:58 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:53:58 Step 2/13 : FROM ${BASE} AS builder 17:53:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:53:58 9fda8d8052c6: Pulling fs layer 17:53:58 5d54e960e981: Pulling fs layer 17:53:58 c4a7e357bf2a: Pulling fs layer 17:53:58 f0e02332f6b5: Pulling fs layer 17:53:58 872ee5b61b7b: Pulling fs layer 17:53:58 0c6a40ed1a82: Pulling fs layer 17:53:58 94ae7d8d031c: Pulling fs layer 17:53:58 872ee5b61b7b: Waiting 17:53:58 0c6a40ed1a82: Waiting 17:53:58 94ae7d8d031c: Waiting 17:53:58 f0e02332f6b5: Waiting 17:53:58 5d54e960e981: Verifying Checksum 17:53:58 5d54e960e981: Download complete 17:53:58 f0e02332f6b5: Verifying Checksum 17:53:58 f0e02332f6b5: Download complete 17:53:58 872ee5b61b7b: Verifying Checksum 17:53:58 872ee5b61b7b: Download complete 17:53:58 9fda8d8052c6: Verifying Checksum 17:53:58 9fda8d8052c6: Download complete 17:53:59 94ae7d8d031c: Verifying Checksum 17:53:59 94ae7d8d031c: Download complete 17:53:59 9fda8d8052c6: Pull complete 17:54:00 5d54e960e981: Pull complete 17:54:00 c4a7e357bf2a: Verifying Checksum 17:54:00 c4a7e357bf2a: Download complete 17:54:01 0c6a40ed1a82: Download complete 17:54:02 2f39f015ded8: Pull complete 17:54:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:02 prd-ubuntu20.04-docker-8c-8g-594 does not seem to be running inside a container 17:54:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-327 -v /w/workspace/foundry_device-usb-camera_PR-327:/w/workspace/foundry_device-usb-camera_PR-327:rw,z -v /w/workspace/foundry_device-usb-camera_PR-327@tmp:/w/workspace/foundry_device-usb-camera_PR-327@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:54:06 $ docker top 8ccce78e01ab89d65d47a6856467f671463ee9371e13595de1d94131a49738f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:07 ---> job-cost.sh 17:54:07 lf-activate-venv: SKIPPING 17:54:07 INFO: No Stack... 17:54:07 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:07 INFO: Archiving Costs [Pipeline] sh 17:54:08 + + cat /w/workspace/foundry_device-usb-camera_PR-327/archives/cost.csv 17:54:08 cut -d, -f6 [Pipeline] lock 17:54:08 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] 17:54:08 Resource [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] did not exist. Created. 17:54:08 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:08 + echo total: 0.2199999988079071 [Pipeline] stash 17:54:08 Stashed 1 file(s) [Pipeline] } 17:54:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:08 $ docker stop --time=1 8ccce78e01ab89d65d47a6856467f671463ee9371e13595de1d94131a49738f6 17:54:10 $ docker rm -f --volumes 8ccce78e01ab89d65d47a6856467f671463ee9371e13595de1d94131a49738f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:54:14 c4a7e357bf2a: Pull complete 17:54:14 f0e02332f6b5: Pull complete 17:54:14 872ee5b61b7b: Pull complete 17:54:22 0c6a40ed1a82: Pull complete 17:54:23 94ae7d8d031c: Pull complete 17:54:23 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 17:54:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:54:23 ---> 86de565de09d 17:54:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:54:25 ---> Running in 2ece8eb2eb96 17:54:25 Removing intermediate container 2ece8eb2eb96 17:54:25 ---> 0a4862962dc6 17:54:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:25 ---> Running in 6309f2e24ca9 17:54:25 Removing intermediate container 6309f2e24ca9 17:54:25 ---> cd3065c67ede 17:54:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:54:26 ---> Running in 7fd297fd48fb 17:54:26 Removing intermediate container 7fd297fd48fb 17:54:26 ---> db76eb083523 17:54:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:54:26 ---> Running in 8439b2631898 17:54:26 Removing intermediate container 8439b2631898 17:54:26 ---> dcd785f20851 17:54:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:26 ---> Running in e7bc2dd3eaaf 17:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:54:29 (1/13) Installing libintl (0.21.1-r7) 17:54:29 (2/13) Installing eudev-libs (3.2.11-r8) 17:54:29 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:54:29 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:54:29 (5/13) Installing v4l-utils (1.24.1-r0) 17:54:29 (6/13) Installing libdvbv5 (1.24.1-r0) 17:54:29 (7/13) Installing udev-init-scripts (35-r1) 17:54:29 (8/13) Installing libblkid (2.38.1-r8) 17:54:29 (9/13) Installing xz-libs (5.4.3-r0) 17:54:29 (10/13) Installing kmod-libs (30-r3) 17:54:29 (11/13) Installing eudev (3.2.11-r8) 17:54:29 (12/13) Installing eudev-dev (3.2.11-r8) 17:54:29 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:54:29 Executing busybox-1.36.1-r5.trigger 17:54:29 Executing eudev-3.2.11-r8.trigger 17:54:29 OK: 273 MiB in 65 packages 17:54:31 Removing intermediate container e7bc2dd3eaaf 17:54:31 ---> d2d2eb3cfa4b 17:54:31 Step 8/13 : WORKDIR /device-usb-camera 17:54:31 ---> Running in 8474ff76d3ed 17:54:31 Removing intermediate container 8474ff76d3ed 17:54:31 ---> 61fa9b6b38db 17:54:31 Step 9/13 : COPY go.mod vendor* ./ 17:54:31 ---> cf8432168bd2 17:54:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:32 ---> Running in 840856f3cf57 17:56:38 Removing intermediate container 840856f3cf57 17:56:38 ---> f71f8b76b770 17:56:38 Step 11/13 : COPY . . 17:56:38 ---> 619f0ab6daa0 17:56:38 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:56:38 ---> Running in f1c7a9abfc60 17:56:38  % Total % Received % Xferd Average Speed Time Time Time Current 17:56:38 Dload Upload Total Spent Left Speed 17:56:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062 0 0 8545 0 --:--:-- --:--:-- --:--:-- 8634 17:56:38 Removing intermediate container f1c7a9abfc60 17:56:38 ---> e6296fb0a634 17:56:38 Step 13/13 : RUN ${MAKE} 17:56:38 ---> Running in e9bd0703ef87 17:56:38 noop 17:56:38 Removing intermediate container e9bd0703ef87 17:56:38 ---> d097a0cc755b 17:56:38 Successfully built d097a0cc755b 17:56:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:39 + docker inspect -f . ci-base-image-arm64 17:56:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:39 prd-ubuntu20.04-docker-arm64-4c-16g-595 does not seem to be running inside a container 17:56:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:56:40 $ docker top d9a34b3458090e2dfef80490d3dce4ff4e90c6371664257af22aed11b9605513 -eo pid,comm [Pipeline] { [Pipeline] sh 17:56:41 + go version 17:56:41 go version go1.21.0 linux/arm64 [Pipeline] } 17:56:41 $ docker stop --time=1 d9a34b3458090e2dfef80490d3dce4ff4e90c6371664257af22aed11b9605513 17:56:43 $ docker rm -f --volumes d9a34b3458090e2dfef80490d3dce4ff4e90c6371664257af22aed11b9605513 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:44 + docker inspect -f . ci-base-image-arm64 17:56:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:44 prd-ubuntu20.04-docker-arm64-4c-16g-595 does not seem to be running inside a container 17:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:56:45 $ docker top 01cb9c0f8c45b26a1b8a6476ea73c427161f0ae9bb70b8e4a1c6a0937f29b910 -eo pid,comm [Pipeline] { [Pipeline] sh 17:56:46 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:56:47 + make test 17:56:47 go test ./... -coverprofile=coverage.out ./... 17:56:52 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:59:29 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:59:29 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 4.4% of statements 17:59:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:59:29 go vet ./... 18:00:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:00:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:00:01 ./bin/test-attribution-txt.sh 18:00:01 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:00:01 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:00:01 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:00:01 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:00:01 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:00:01 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:00:01 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:00:01 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:00:01 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:00:01 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 18:00:01 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:00:01 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:00:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:00:01 $ docker stop --time=1 01cb9c0f8c45b26a1b8a6476ea73c427161f0ae9bb70b8e4a1c6a0937f29b910 18:00:03 $ docker rm -f --volumes 01cb9c0f8c45b26a1b8a6476ea73c427161f0ae9bb70b8e4a1c6a0937f29b910 [Pipeline] // withDockerContainer [Pipeline] sh 18:00:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:00:04 Warning: overwriting stash ‘coverage-report’ 18:00:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:00:06 + ls -al . 18:00:06 total 288 18:00:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 17:56 . 18:00:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 17:53 .. 18:00:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 17:53 .git 18:00:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 17:53 .github 18:00:06 -rw-rw-r-- 1 jenkins jenkins 429 Mar 21 17:53 .gitignore 18:00:06 -rw-rw-r-- 1 jenkins jenkins 45 Mar 21 17:53 .golangci.yml 18:00:06 -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 17:53 .hadolint.yml 18:00:06 -rw-rw-r-- 1 jenkins jenkins 10851 Mar 21 17:53 Attribution.txt 18:00:06 -rw-rw-r-- 1 jenkins jenkins 16561 Mar 21 17:53 CHANGELOG.md 18:00:06 -rw-rw-r-- 1 jenkins jenkins 2562 Mar 21 17:53 Dockerfile 18:00:06 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 17:53 GOVERNANCE.md 18:00:06 -rw-rw-r-- 1 jenkins jenkins 659 Mar 21 17:53 Jenkinsfile 18:00:06 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 17:53 LICENSE 18:00:06 -rw-rw-r-- 1 jenkins jenkins 2611 Mar 21 17:53 Makefile 18:00:06 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 17:53 OWNERS.md 18:00:06 -rw-rw-r-- 1 jenkins jenkins 2575 Mar 21 17:53 README.md 18:00:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 17:51 VERSION 18:00:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 17:53 bin 18:00:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 17:53 cmd 18:00:06 -rw-r--r-- 1 jenkins jenkins 54703 Mar 21 17:59 coverage.out 18:00:06 -rwxrwxr-x 1 jenkins jenkins 84 Mar 21 17:53 docker-entrypoint.sh 18:00:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 17:53 docs 18:00:06 -rw-rw-r-- 1 jenkins jenkins 7272 Mar 21 17:53 go.mod 18:00:06 -rw-rw-r-- 1 jenkins jenkins 101525 Mar 21 17:53 go.sum 18:00:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 17:53 internal 18:00:06 -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 17:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:06 + 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=7f7e73ff3c79bc6e877ca73317d9399599d6d168 --label arch=arm64 --label version=0.0.0 . 18:00:07 Sending build context to Docker daemon 7.572MB 18:00:07 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 18:00:07 Step 2/37 : FROM ${BASE} AS builder 18:00:07 ---> d097a0cc755b 18:00:07 Step 3/37 : ARG ADD_BUILD_TAGS="" 18:00:07 ---> Running in c0a451534e25 18:00:07 Removing intermediate container c0a451534e25 18:00:07 ---> 128ade9b324a 18:00:07 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:07 ---> Running in 70496e32e14c 18:00:08 Removing intermediate container 70496e32e14c 18:00:08 ---> fae83d8d04d7 18:00:08 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:00:08 ---> Running in 5c3e8f48611e 18:00:08 Removing intermediate container 5c3e8f48611e 18:00:08 ---> c57f862a5bcd 18:00:08 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:00:08 ---> Running in 0a7e1967ea17 18:00:08 Removing intermediate container 0a7e1967ea17 18:00:08 ---> 057b03a2a942 18:00:08 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:00:08 ---> Running in 8c7ae1907c03 18:00:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:00:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:00:11 OK: 273 MiB in 65 packages 18:00:12 Removing intermediate container 8c7ae1907c03 18:00:12 ---> 5596d0b24a02 18:00:12 Step 8/37 : WORKDIR /device-usb-camera 18:00:12 ---> Running in 349d6c6c3974 18:00:12 Removing intermediate container 349d6c6c3974 18:00:12 ---> a554943b7df8 18:00:12 Step 9/37 : COPY go.mod vendor* ./ 18:00:12 ---> d7674a76aba4 18:00:12 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:12 ---> Running in 7f3df6e02b99 18:00:15 Removing intermediate container 7f3df6e02b99 18:00:15 ---> 84f185528784 18:00:15 Step 11/37 : COPY . . 18:00:16 ---> 8a12c56a33bc 18:00:16 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:00:16 ---> Running in 1dfb5d98d228 18:00:17  % Total % Received % Xferd Average Speed Time Time Time Current 18:00:17 Dload Upload Total Spent Left Speed 18:00:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0  0    0   0   0    0   0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5216 0 --:--:-- --:--:-- --:--:--  5205 18:00:18 Removing intermediate container 1dfb5d98d228 18:00:18 ---> 0172dc084621 18:00:18 Step 13/37 : RUN ${MAKE} 18:00:18 ---> Running in 3f81a50d7ff0 18:00:19 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.12" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:03:10 Removing intermediate container 3f81a50d7ff0 18:03:10 ---> 9db90fed1210 18:03:10 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:03:10 v0.21.6: Pulling from aler9/rtsp-simple-server 18:03:11 8766b47fe142: Pulling fs layer 18:03:11 8766b47fe142: Verifying Checksum 18:03:11 8766b47fe142: Download complete 18:03:12 8766b47fe142: Pull complete 18:03:12 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:03:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:03:12 ---> 69d40e2cb93c 18:03:12 Step 15/37 : FROM alpine:3.18 18:03:13 3.18: Pulling from library/alpine 18:03:13 c6b39de5b339: Pulling fs layer 18:03:13 c6b39de5b339: Download complete 18:03:14 c6b39de5b339: Pull complete 18:03:14 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:03:14 Status: Downloaded newer image for alpine:3.18 18:03:14 ---> 33abbf032149 18:03:14 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:03:14 ---> Running in 9147f3c19589 18:03:14 Removing intermediate container 9147f3c19589 18:03:14 ---> 7dd06a370486 18:03:14 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:03:14 ---> Running in 3e38417a4d7e 18:03:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:03:17 (1/104) Installing dumb-init (1.2.5-r2) 18:03:17 (2/104) Installing sdl2 (2.26.5-r0) 18:03:17 (3/104) Installing svt-av1-libs (1.6.0-r0) 18:03:17 (4/104) Installing aom-libs (3.6.1-r0) 18:03:17 (5/104) Installing libxau (1.0.11-r2) 18:03:17 (6/104) Installing libmd (1.0.4-r2) 18:03:17 (7/104) Installing libbsd (0.11.7-r1) 18:03:17 (8/104) Installing libxdmcp (1.1.4-r2) 18:03:17 (9/104) Installing libxcb (1.15-r1) 18:03:17 (10/104) Installing libx11 (1.8.7-r0) 18:03:17 (11/104) Installing libdrm (2.4.115-r4) 18:03:17 (12/104) Installing libxext (1.3.5-r2) 18:03:17 (13/104) Installing libxfixes (6.0.1-r2) 18:03:17 (14/104) Installing libffi (3.4.4-r2) 18:03:17 (15/104) Installing wayland-libs-client (1.22.0-r2) 18:03:17 (16/104) Installing libva (2.18.0-r1) 18:03:17 (17/104) Installing libvdpau (1.5-r1) 18:03:17 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 18:03:17 (19/104) Installing libdav1d (1.2.1-r0) 18:03:18 (20/104) Installing brotli-libs (1.0.9-r14) 18:03:18 (21/104) Installing libgcc (12.2.1_git20220924-r10) 18:03:18 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 18:03:18 (23/104) Installing libhwy (1.0.4-r1) 18:03:18 (24/104) Installing lcms2 (2.15-r2) 18:03:18 (25/104) Installing libjxl (0.8.2-r0) 18:03:18 (26/104) Installing lame-libs (3.100-r5) 18:03:18 (27/104) Installing opus (1.4-r0) 18:03:18 (28/104) Installing libgomp (12.2.1_git20220924-r10) 18:03:18 (29/104) Installing soxr (0.1.3-r5) 18:03:18 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 18:03:18 (31/104) Installing libogg (1.3.5-r4) 18:03:18 (32/104) Installing libtheora (1.1.1-r17) 18:03:18 (33/104) Installing libvorbis (1.3.7-r1) 18:03:18 (34/104) Installing libvpx (1.13.0-r2) 18:03:19 (35/104) Installing libwebp (1.3.2-r0) 18:03:19 (36/104) Installing x264-libs (0.164_git20220602-r1) 18:03:19 (37/104) Installing numactl (2.0.16-r4) 18:03:19 (38/104) Installing x265-libs (3.5-r4) 18:03:19 (39/104) Installing xvidcore (1.3.7-r1) 18:03:19 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 18:03:20 (41/104) Installing alsa-lib (1.2.9-r1) 18:03:20 (42/104) Installing libexpat (2.6.2-r0) 18:03:20 (43/104) Installing libbz2 (1.0.8-r5) 18:03:20 (44/104) Installing libpng (1.6.39-r3) 18:03:20 (45/104) Installing freetype (2.13.0-r5) 18:03:20 (46/104) Installing fontconfig (2.14.2-r3) 18:03:20 (47/104) Installing fribidi (1.0.13-r0) 18:03:20 (48/104) Installing libintl (0.21.1-r7) 18:03:20 (49/104) Installing libblkid (2.38.1-r8) 18:03:20 (50/104) Installing libmount (2.38.1-r8) 18:03:20 (51/104) Installing pcre2 (10.42-r1) 18:03:20 (52/104) Installing glib (2.76.6-r0) 18:03:20 (53/104) Installing graphite2 (1.3.14-r5) 18:03:20 (54/104) Installing harfbuzz (7.3.0-r0) 18:03:20 (55/104) Installing libunibreak (5.1-r0) 18:03:20 (56/104) Installing libass (0.17.1-r0) 18:03:20 (57/104) Installing libbluray (1.3.4-r0) 18:03:20 (58/104) Installing gmp (6.2.1-r3) 18:03:20 (59/104) Installing nettle (3.8.1-r2) 18:03:20 (60/104) Installing libunistring (1.1-r1) 18:03:20 (61/104) Installing libidn2 (2.3.4-r1) 18:03:20 (62/104) Installing p11-kit (0.24.1-r2) 18:03:20 (63/104) Installing libtasn1 (4.19.0-r1) 18:03:20 (64/104) Installing gnutls (3.8.3-r0) 18:03:20 (65/104) Installing mpg123-libs (1.31.3-r1) 18:03:20 (66/104) Installing libopenmpt (0.7.2-r0) 18:03:20 (67/104) Installing cjson (1.7.17-r0) 18:03:20 (68/104) Installing mbedtls (2.28.7-r0) 18:03:20 (69/104) Installing librist (0.2.7-r0) 18:03:20 (70/104) Installing libsrt (1.5.2-r0) 18:03:20 (71/104) Installing libssh (0.10.5-r0) 18:03:20 (72/104) Installing xz-libs (5.4.3-r0) 18:03:20 (73/104) Installing libxml2 (2.11.7-r0) 18:03:20 (74/104) Installing libsodium (1.0.18-r3) 18:03:20 (75/104) Installing libzmq (4.3.4-r4) 18:03:20 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 18:03:21 (77/104) Installing glslang-libs (1.3.243.0-r1) 18:03:21 (78/104) Installing spirv-tools (1.3.243.0-r1) 18:03:21 (79/104) Installing shaderc (2023.3-r1) 18:03:21 (80/104) Installing vulkan-loader (1.3.243.0-r1) 18:03:21 (81/104) Installing libplacebo (5.264.1-r1) 18:03:21 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 18:03:21 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 18:03:21 (84/104) Installing vidstab (1.1.1-r0) 18:03:21 (85/104) Installing zimg (3.0.5-r0) 18:03:22 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 18:03:22 (87/104) Installing libasyncns (0.8-r1) 18:03:22 (88/104) Installing dbus-libs (1.14.8-r0) 18:03:22 (89/104) Installing libltdl (2.4.7-r2) 18:03:22 (90/104) Installing orc (0.4.34-r0) 18:03:22 (91/104) Installing flac-libs (1.4.3-r0) 18:03:22 (92/104) Installing libsndfile (1.2.0-r2) 18:03:22 (93/104) Installing speexdsp (1.2.1-r1) 18:03:22 (94/104) Installing tdb-libs (1.4.8-r1) 18:03:22 (95/104) Installing libpulse (16.1-r10) 18:03:22 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 18:03:22 (97/104) Installing v4l-utils-libs (1.24.1-r0) 18:03:22 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 18:03:22 (99/104) Installing ffmpeg (6.0.1-r0) 18:03:22 (100/104) Installing udev-init-scripts (35-r1) 18:03:22 (101/104) Installing eudev-libs (3.2.11-r8) 18:03:22 (102/104) Installing zstd-libs (1.5.5-r4) 18:03:22 (103/104) Installing kmod-libs (30-r3) 18:03:22 (104/104) Installing eudev (3.2.11-r8) 18:03:22 Executing busybox-1.36.1-r5.trigger 18:03:22 Executing glib-2.76.6-r0.trigger 18:03:22 Executing eudev-3.2.11-r8.trigger 18:03:22 OK: 110 MiB in 119 packages 18:03:27 Removing intermediate container 3e38417a4d7e 18:03:27 ---> e8818d5ddaf0 18:03:27 Step 18/37 : RUN apk --no-cache upgrade 18:03:27 ---> Running in 9d13ffc2bba0 18:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:03:28 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:03:28 OK: 110 MiB in 119 packages 18:03:29 Removing intermediate container 9d13ffc2bba0 18:03:29 ---> e8e19666e27c 18:03:29 Step 19/37 : WORKDIR / 18:03:29 ---> Running in ed7ce4c1f5d5 18:03:30 Removing intermediate container ed7ce4c1f5d5 18:03:30 ---> 5d086b2b3410 18:03:30 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 18:03:32 ---> d22fec58011a 18:03:32 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 18:03:32 ---> cae2e0954e13 18:03:32 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:03:33 ---> b4a5ae8d6dbe 18:03:33 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:03:33 ---> e50f565d9886 18:03:33 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:03:34 ---> 71516e623359 18:03:34 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 18:03:34 ---> e91f1c020df3 18:03:34 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 18:03:36 ---> ac0869bfd4e0 18:03:36 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:03:36 ---> Running in 192035405a49 18:03:38 Removing intermediate container 192035405a49 18:03:38 ---> bb7ed2492353 18:03:38 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:03:38 ---> Running in d80b0801dc30 18:03:39 Removing intermediate container d80b0801dc30 18:03:39 ---> 094bc040d7e4 18:03:39 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:03:39 ---> Running in 0c7e47448c06 18:03:40 Removing intermediate container 0c7e47448c06 18:03:40 ---> d2ec779ac709 18:03:40 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:03:40 ---> Running in 861d4ef1b4e5 18:03:42 Removing intermediate container 861d4ef1b4e5 18:03:42 ---> c54f910b78dc 18:03:42 Step 31/37 : EXPOSE 59983 18:03:42 ---> Running in 272205c440b3 18:03:42 Removing intermediate container 272205c440b3 18:03:42 ---> 5eb4119593bb 18:03:42 Step 32/37 : EXPOSE 8554 18:03:42 ---> Running in ebf4dda2b84b 18:03:43 Removing intermediate container ebf4dda2b84b 18:03:43 ---> a792c1844b18 18:03:43 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:03:43 ---> Running in 31fbdce70a64 18:03:43 Removing intermediate container 31fbdce70a64 18:03:43 ---> 8c87cbf525db 18:03:43 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:03:43 ---> Running in f66301a96244 18:03:43 Removing intermediate container f66301a96244 18:03:43 ---> 483f07af7fab 18:03:43 Step 35/37 : LABEL arch=arm64 18:03:43 ---> Running in a671949e75a8 18:03:44 Removing intermediate container a671949e75a8 18:03:44 ---> ebd04190f6df 18:03:44 Step 36/37 : LABEL git_sha=7f7e73ff3c79bc6e877ca73317d9399599d6d168 18:03:44 ---> Running in 37760a3b34a9 18:03:44 Removing intermediate container 37760a3b34a9 18:03:44 ---> aea4e21ea9e1 18:03:44 Step 37/37 : LABEL version=0.0.0 18:03:44 ---> Running in c4781db1c18b 18:03:44 Removing intermediate container c4781db1c18b 18:03:44 ---> 4818abfedb20 18:03:44 [Warning] One or more build-args [ARCH] were not consumed 18:03:44 Successfully built 4818abfedb20 18:03:44 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:45 18:03:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:46 arm64: Pulling from edgex-lftools-log-publisher 18:03:46 8998bd30e6a1: Pulling fs layer 18:03:46 04944245beec: Pulling fs layer 18:03:46 699f458cf7ca: Pulling fs layer 18:03:46 765212b225bb: Pulling fs layer 18:03:46 f23df028b6ca: Pulling fs layer 18:03:46 d65c8cfc05b1: Pulling fs layer 18:03:46 2437ff75d9bd: Pulling fs layer 18:03:46 765212b225bb: Waiting 18:03:46 f23df028b6ca: Waiting 18:03:46 d65c8cfc05b1: Waiting 18:03:46 04944245beec: Verifying Checksum 18:03:46 04944245beec: Download complete 18:03:46 765212b225bb: Verifying Checksum 18:03:46 765212b225bb: Download complete 18:03:46 f23df028b6ca: Verifying Checksum 18:03:46 f23df028b6ca: Download complete 18:03:46 d65c8cfc05b1: Verifying Checksum 18:03:46 d65c8cfc05b1: Download complete 18:03:46 699f458cf7ca: Verifying Checksum 18:03:46 699f458cf7ca: Download complete 18:03:47 8998bd30e6a1: Verifying Checksum 18:03:47 8998bd30e6a1: Download complete 18:03:49 2437ff75d9bd: Verifying Checksum 18:03:49 2437ff75d9bd: Download complete 18:03:51 8998bd30e6a1: Pull complete 18:03:52 04944245beec: Pull complete 18:03:53 699f458cf7ca: Pull complete 18:03:53 765212b225bb: Pull complete 18:03:54 f23df028b6ca: Pull complete 18:03:55 d65c8cfc05b1: Pull complete 18:04:13 2437ff75d9bd: Pull complete 18:04:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:13 prd-ubuntu20.04-docker-arm64-4c-16g-595 does not seem to be running inside a container 18:04:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:04:16 $ docker top 69ad7d503b03c184c3d3ca06194ce220aaa12b4f8af003b10316feedf356f654 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:17 ---> job-cost.sh 18:04:17 lf-activate-venv: SKIPPING 18:04:17 INFO: No Stack... 18:04:17 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:18 INFO: Archiving Costs [Pipeline] sh 18:04:18 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:04:18 + cut -d, -f6 [Pipeline] lock 18:04:19 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] 18:04:19 Resource [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] did not exist. Created. 18:04:19 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:19 /w/workspace/device-usb-camera/1@tmp/durable-d89174b7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:20 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:20 Warning: overwriting stash ‘stack-cost’ 18:04:20 Stashed 1 file(s) [Pipeline] } 18:04:20 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:20 $ docker stop --time=1 69ad7d503b03c184c3d3ca06194ce220aaa12b4f8af003b10316feedf356f654 18:04:22 $ docker rm -f --volumes 69ad7d503b03c184c3d3ca06194ce220aaa12b4f8af003b10316feedf356f654 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:04:23 provisioning config files... 18:04:23 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-327@tmp/config10337505317043212955tmp [Pipeline] { [Pipeline] sh 18:04:23 + set +x 18:04:23 + curl -s https://codecov.io/bash 18:04:23 + bash -s -- 18:04:23 18:04:23 _____ _ 18:04:23 / ____| | | 18:04:23 | | ___ __| | ___ ___ _____ __ 18:04:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:23 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:23 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:23 Bash-1.0.6 18:04:23 18:04:23 18:04:23 ==> git version 2.25.1 found 18:04:23 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:04:23 Release-Date: 2020-01-08 18:04:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:04:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:04:23 ==> Jenkins CI detected. 18:04:23 current dir:  /w/workspace/foundry_device-usb-camera_PR-327 18:04:23 project root: . 18:04:23 --> token set from env 18:04:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:23 ==> Running gcov in . (disable via -X gcov) 18:04:23 ==> Python coveragepy not found 18:04:23 ==> Searching for coverage reports in: 18:04:23 + . 18:04:23 -> Found 1 reports 18:04:23 ==> Detecting git/mercurial file structure 18:04:23 ==> Reading reports 18:04:23 + ./coverage.out bytes=54703 18:04:23 ==> Appending adjustments 18:04:23 https://docs.codecov.io/docs/fixing-reports 18:04:23 + Found adjustments 18:04:23 ==> Gzipping contents 18:04:23 8.0K /tmp/codecov.5mq25G.gz 18:04:23 ==> Uploading reports 18:04:23 url: https://codecov.io 18:04:23 query: branch=PR-327&commit=7f7e73ff3c79bc6e877ca73317d9399599d6d168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=327&job=&cmd_args= 18:04:23 -> Pinging Codecov 18:04:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-327&commit=7f7e73ff3c79bc6e877ca73317d9399599d6d168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=327&job=&cmd_args= 18:04:24 -> Uploading to 18:04:24 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/73D8F5FF140700D3E01443B452E23636/7f7e73ff3c79bc6e877ca73317d9399599d6d168/b3607c75-3de8-49e8-9360-7885aa7b175d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T180423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d112ce80b7e633986753305a6abb2e2a3cad0d6389ea8991f1960604329c7592 18:04:24 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:24 Dload Upload Total Spent Left Speed 18:04:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 23710 --:--:-- --:--:-- --:--:-- 23710 18:04:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/7f7e73ff3c79bc6e877ca73317d9399599d6d168 [Pipeline] } 18:04:24 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:04:28 + [ -d /w/workspace/foundry_device-usb-camera_PR-327/archives ] 18:04:28 + ls -al /w/workspace/foundry_device-usb-camera_PR-327/archives 18:04:28 total 16 18:04:28 drwxr-xr-x 3 root root 4096 Mar 21 17:54 . 18:04:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 17:54 .. 18:04:28 drwxr-xr-x 2 root root 4096 Mar 21 17:54 cost 18:04:28 -rw-r--r-- 1 root root 89 Mar 21 17:54 cost.csv 18:04:28 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-327/archives 18:04:28 + ls -al /w/workspace/foundry_device-usb-camera_PR-327/archives 18:04:28 total 16 18:04:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 17:54 . 18:04:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 17:54 .. 18:04:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 17:54 cost 18:04:28 -rw-r--r-- 1 jenkins jenkins 89 Mar 21 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:04:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:04:30 ---> package-listing.sh 18:04:30 ++ facter osfamily 18:04:30 ++ tr '[:upper:]' '[:lower:]' 18:04:30 + OS_FAMILY=debian 18:04:30 + workspace=/w/workspace/foundry_device-usb-camera_PR-327 18:04:30 + START_PACKAGES=/tmp/packages_start.txt 18:04:30 + END_PACKAGES=/tmp/packages_end.txt 18:04:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:04:30 + PACKAGES=/tmp/packages_start.txt 18:04:30 + '[' /w/workspace/foundry_device-usb-camera_PR-327 ']' 18:04:30 + PACKAGES=/tmp/packages_end.txt 18:04:30 + case "${OS_FAMILY}" in 18:04:30 + dpkg -l 18:04:30 + grep '^ii' 18:04:30 + '[' -f /tmp/packages_start.txt ']' 18:04:30 + '[' -f /tmp/packages_end.txt ']' 18:04:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:04:30 + '[' /w/workspace/foundry_device-usb-camera_PR-327 ']' 18:04:30 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-327/archives/ 18:04:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-327/archives/ [Pipeline] echo 18:04:30 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-327/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:04:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:31 prd-ubuntu20.04-docker-8c-8g-594 does not seem to be running inside a container 18:04:31 $ 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-327/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-327 -v /w/workspace/foundry_device-usb-camera_PR-327:/w/workspace/foundry_device-usb-camera_PR-327:rw,z -v /w/workspace/foundry_device-usb-camera_PR-327@tmp:/w/workspace/foundry_device-usb-camera_PR-327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:04:31 $ docker top 6a2415f5cd208d1ffa743c1e162b8252ac26b8d1e1d394e55a4f1be074ee18c8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:32 + touch /tmp/pre-build-complete [Pipeline] sh 18:04:32 + mkdir -p /var/log/sysstat [Pipeline] sh 18:04:32 + ls /var/log/sa-host 18:04:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:33 provisioning config files... 18:04:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-327@tmp/config18054506778434596983tmp [Pipeline] { [Pipeline] echo 18:04:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:04:33 ---> create-netrc.sh [Pipeline] } 18:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:04:33 ---> python-tools-install.sh [Pipeline] echo 18:04:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:04:34 ---> sudo-logs.sh 18:04:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:04:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:04:34 ---> job-cost.sh 18:04:34 lf-activate-venv: SKIPPING 18:04:34 DEBUG: total: 0.2199999988079071 18:04:34 INFO: Retrieving Stack Cost... 18:04:36 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:36 INFO: Archiving Costs [Pipeline] echo 18:04:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:04:36 ---> logs-deploy.sh 18:04:36 lf-activate-venv: SKIPPING 18:04:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-327/1 18:04:36 INFO: archiving workspace using pattern(s): 18:04:37 Archives upload complete. 18:04:37 INFO: archiving logs to Nexus