Pull request #307 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a18bf06bf9035be12ce3d19de514a4833ecb1c5a+86d2622c4f907fedb2cba4bacbdfe80b4f9c365d (1f75f88f1788231545dcf5c7838659ccf3c5d100) 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-ssh9676342363114089120.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh11874121097838344876.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-307/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-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13163134332511518935.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-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16330437778101433002.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh5878400758407437923.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-307/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-307/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10136582935622528046.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16252 in /w/workspace/foundry_device-usb-camera_PR-307 [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-307 # 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 Merging remotes/origin/main commit 86d2622c4f907fedb2cba4bacbdfe80b4f9c365d into PR head commit a18bf06bf9035be12ce3d19de514a4833ecb1c5a Merge succeeded, producing a18bf06bf9035be12ce3d19de514a4833ecb1c5a Checking out Revision a18bf06bf9035be12ce3d19de514a4833ecb1c5a (PR-307) 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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 > 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/307/head:refs/remotes/origin/PR-307 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a18bf06bf9035be12ce3d19de514a4833ecb1c5a # 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 86d2622c4f907fedb2cba4bacbdfe80b4f9c365d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a18bf06bf9035be12ce3d19de514a4833ecb1c5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:57:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:57:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:57:25 ========================================================= 17:57:25 EdgeX Global Pipelines Version Info 17:57:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:57:26 ------------------- 17:57:26 stable info: 17:57:26 ------------------- 17:57:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:57:26 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 17:57:26 Message: update stable to v1.0.255 17:57:26 ------------------- 17:57:26 experimental info: 17:57:26 ------------------- 17:57:26 Commited By: **** collab-it+edgex@linuxfoundation.org 17:57:26 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 17:57:26 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:57:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-307 [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-307 [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-307 [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a18bf06bf9035be12ce3d19de514a4833ecb1c5a [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a18bf06 [Pipeline] echo 17:57:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:28 provisioning config files... 17:57:28 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-307@tmp/config2743278121555316135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:28 ---> docker-login.sh 17:57:28 nexus3.edgexfoundry.org:10001 17:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:29 Configure a credential helper to remove this warning. See 17:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:29 17:57:29 Login Succeeded 17:57:29 nexus3.edgexfoundry.org:10002 17:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:29 Configure a credential helper to remove this warning. See 17:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:29 17:57:29 Login Succeeded 17:57:29 nexus3.edgexfoundry.org:10003 17:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:29 Configure a credential helper to remove this warning. See 17:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:29 17:57:29 Login Succeeded 17:57:29 nexus3.edgexfoundry.org:10004 17:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:29 Configure a credential helper to remove this warning. See 17:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:29 17:57:29 Login Succeeded 17:57:29 docker.io 17:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:29 Configure a credential helper to remove this warning. See 17:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:29 17:57:29 Login Succeeded 17:57:29 ---> docker-login.sh ends [Pipeline] } 17:57:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:57:30 + git rev-list -1 --merges a18bf06bf9035be12ce3d19de514a4833ecb1c5a~1..a18bf06bf9035be12ce3d19de514a4833ecb1c5a [Pipeline] echo 17:57:30 -----------> git rev-list -1 --merges a18bf06bf9035be12ce3d19de514a4833ecb1c5a~1..a18bf06bf9035be12ce3d19de514a4833ecb1c5a a18bf06bf9035be12ce3d19de514a4833ecb1c5a [false] [Pipeline] sh 17:57:30 + git log --format=format:%s -1 a18bf06bf9035be12ce3d19de514a4833ecb1c5a [Pipeline] echo 17:57:30 ========================================================= 17:57:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:57:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:31 + git log --format=format:%s -1 a18bf06bf9035be12ce3d19de514a4833ecb1c5a [Pipeline] echo 17:57:31 [semverPrep] GIT_COMMIT: a18bf06bf9035be12ce3d19de514a4833ecb1c5a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:57:31 [semverPrep] This is not a build commit. [Pipeline] sh 17:57:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:57:31 + grep -v github /etc/ssh/ssh_known_hosts 17:57:31 + [ -e /tmp/ssh_known_hosts ] 17:57:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:57:31 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:57:31 sudo tee -a /etc/ssh/ssh_known_hosts 17:57:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:32 17:57:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:32 0.1.4: Pulling from edgex-devops/py-git-semver 17:57:32 b85a868b505f: Pulling fs layer 17:57:32 e2be974225ed: Pulling fs layer 17:57:32 339a4e72a1f5: Pulling fs layer 17:57:32 988bab9f4d93: Pulling fs layer 17:57:32 1469e6f7b9e6: Pulling fs layer 17:57:32 eaf3925da568: Pulling fs layer 17:57:32 bab4dde63d76: Pulling fs layer 17:57:32 bde34c3a00c8: Pulling fs layer 17:57:32 b352a97aabf1: Pulling fs layer 17:57:32 4872d77fe225: Pulling fs layer 17:57:32 5851b861e8e6: Pulling fs layer 17:57:32 1469e6f7b9e6: Waiting 17:57:32 eaf3925da568: Waiting 17:57:32 bab4dde63d76: Waiting 17:57:32 bde34c3a00c8: Waiting 17:57:32 b352a97aabf1: Waiting 17:57:32 4872d77fe225: Waiting 17:57:32 5851b861e8e6: Waiting 17:57:32 988bab9f4d93: Waiting 17:57:32 e2be974225ed: Verifying Checksum 17:57:32 e2be974225ed: Download complete 17:57:32 988bab9f4d93: Verifying Checksum 17:57:32 988bab9f4d93: Download complete 17:57:33 1469e6f7b9e6: Verifying Checksum 17:57:33 1469e6f7b9e6: Download complete 17:57:33 eaf3925da568: Download complete 17:57:33 339a4e72a1f5: Verifying Checksum 17:57:33 339a4e72a1f5: Download complete 17:57:33 bde34c3a00c8: Download complete 17:57:33 b352a97aabf1: Verifying Checksum 17:57:33 b352a97aabf1: Download complete 17:57:33 4872d77fe225: Verifying Checksum 17:57:33 4872d77fe225: Download complete 17:57:33 5851b861e8e6: Verifying Checksum 17:57:33 5851b861e8e6: Download complete 17:57:33 b85a868b505f: Verifying Checksum 17:57:33 b85a868b505f: Download complete 17:57:33 bab4dde63d76: Verifying Checksum 17:57:33 bab4dde63d76: Download complete 17:57:34 b85a868b505f: Pull complete 17:57:34 e2be974225ed: Pull complete 17:57:35 339a4e72a1f5: Pull complete 17:57:35 988bab9f4d93: Pull complete 17:57:35 1469e6f7b9e6: Pull complete 17:57:35 eaf3925da568: Pull complete 17:57:37 bab4dde63d76: Pull complete 17:57:37 bde34c3a00c8: Pull complete 17:57:37 b352a97aabf1: Pull complete 17:57:37 4872d77fe225: Pull complete 17:57:37 5851b861e8e6: Pull complete 17:57:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:57:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:37 prd-ubuntu20.04-docker-8c-8g-16252 does not seem to be running inside a container 17:57:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-307 -v /w/workspace/foundry_device-usb-camera_PR-307:/w/workspace/foundry_device-usb-camera_PR-307:rw,z -v /w/workspace/foundry_device-usb-camera_PR-307@tmp:/w/workspace/foundry_device-usb-camera_PR-307@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:57:41 $ docker top 9e2e45100647b2e5b4dfafce8ac7a62657732a1ef1c4b71284e4f2c2ddde93e0 -eo pid,comm 17:57:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:57:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:57:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:41 [ssh-agent] Looking for ssh-agent implementation... 17:57:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:41 $ docker exec 9e2e45100647b2e5b4dfafce8ac7a62657732a1ef1c4b71284e4f2c2ddde93e0 ssh-agent 17:57:41 SSH_AUTH_SOCK=/tmp/ssh-gWv0f4ji306r/agent.32 17:57:41 SSH_AGENT_PID=38 17:57:41 Running ssh-add (command line suppressed) 17:57:41 Identity added: /w/workspace/foundry_device-usb-camera_PR-307@tmp/private_key_10479051788438850348.key (/w/workspace/foundry_device-usb-camera_PR-307@tmp/private_key_10479051788438850348.key) 17:57:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:42 + git tag --points-at HEAD [Pipeline] } 17:57:42 $ docker exec --env ******** --env ******** 9e2e45100647b2e5b4dfafce8ac7a62657732a1ef1c4b71284e4f2c2ddde93e0 ssh-agent -k 17:57:42 unset SSH_AUTH_SOCK; 17:57:42 unset SSH_AGENT_PID; 17:57:42 echo Agent pid 38 killed; 17:57:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:57:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:42 [ssh-agent] Looking for ssh-agent implementation... 17:57:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:42 $ docker exec 9e2e45100647b2e5b4dfafce8ac7a62657732a1ef1c4b71284e4f2c2ddde93e0 ssh-agent 17:57:42 SSH_AUTH_SOCK=/tmp/ssh-oiwfgRi3HxsQ/agent.70 17:57:42 SSH_AGENT_PID=76 17:57:42 Running ssh-add (command line suppressed) 17:57:42 Identity added: /w/workspace/foundry_device-usb-camera_PR-307@tmp/private_key_9771060066488385911.key (/w/workspace/foundry_device-usb-camera_PR-307@tmp/private_key_9771060066488385911.key) 17:57:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:43 + git semver init 17:57:43 2023-11-01 17:57:43,299 [run_init] DEBUG init version:0.0.0 force:False 17:57:43 2023-11-01 17:57:43,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-307/.semver 17:57:43 2023-11-01 17:57:43,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-307/.semver 17:57:43 2023-11-01 17:57:43,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-307/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-307, universal_newlines=False, shell=None, istream=None) 17:57:44 2023-11-01 17:57:44,183 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-307/.git/info/exclude 17:57:44 2023-11-01 17:57:44,184 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-307/.semver/PR-307 with force:False 17:57:44 2023-11-01 17:57:44,184 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-307/.semver/PR-307 17:57:44 2023-11-01 17:57:44,188 [execute] INFO git cat-file --batch-check 17:57:44 2023-11-01 17:57:44,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-307/.semver, universal_newlines=False, shell=None, istream=) 17:57:44 2023-11-01 17:57:44,194 [execute] INFO git cat-file --batch 17:57:44 2023-11-01 17:57:44,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-307/.semver, universal_newlines=False, shell=None, istream=) 17:57:44 2023-11-01 17:57:44,200 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-307/.semver/PR-307 17:57:44 0.0.0 [Pipeline] } 17:57:44 $ docker exec --env ******** --env ******** 9e2e45100647b2e5b4dfafce8ac7a62657732a1ef1c4b71284e4f2c2ddde93e0 ssh-agent -k 17:57:44 unset SSH_AUTH_SOCK; 17:57:44 unset SSH_AGENT_PID; 17:57:44 echo Agent pid 76 killed; 17:57:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:57:44 + git semver [Pipeline] } 17:57:45 $ docker stop --time=1 9e2e45100647b2e5b4dfafce8ac7a62657732a1ef1c4b71284e4f2c2ddde93e0 17:57:46 $ docker rm -f --volumes 9e2e45100647b2e5b4dfafce8ac7a62657732a1ef1c4b71284e4f2c2ddde93e0 [Pipeline] // withDockerContainer [Pipeline] sh 17:57:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:57:47 Stashed 1 file(s) [Pipeline] echo 17:57:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:47 provisioning config files... 17:57:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-307@tmp/config11886522082468320953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:48 ---> docker-login.sh 17:57:48 nexus3.edgexfoundry.org:10001 17:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:48 Configure a credential helper to remove this warning. See 17:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:48 17:57:48 Login Succeeded 17:57:48 nexus3.edgexfoundry.org:10002 17:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:48 Configure a credential helper to remove this warning. See 17:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:48 17:57:48 Login Succeeded 17:57:48 nexus3.edgexfoundry.org:10003 17:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:48 Configure a credential helper to remove this warning. See 17:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:48 17:57:48 Login Succeeded 17:57:48 nexus3.edgexfoundry.org:10004 17:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:48 Configure a credential helper to remove this warning. See 17:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:48 17:57:48 Login Succeeded 17:57:48 docker.io 17:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:49 Configure a credential helper to remove this warning. See 17:57:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:49 17:57:49 Login Succeeded 17:57:49 ---> docker-login.sh ends [Pipeline] } 17:57:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:49 ========================================================= 17:57:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:57:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:57:49 Sending build context to Docker daemon 2.288MB 17:57:49 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:57:49 Step 2/13 : FROM ${BASE} AS builder 17:57:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:57:50 7264a8db6415: Pulling fs layer 17:57:50 c4d48a809fc2: Pulling fs layer 17:57:50 4f1c88b9dad5: Pulling fs layer 17:57:50 ad3a456e5733: Pulling fs layer 17:57:50 33e27b845d1e: Pulling fs layer 17:57:50 c68163c4e522: Pulling fs layer 17:57:50 50da416c3ac9: Pulling fs layer 17:57:50 23d2d4c4bb30: Pulling fs layer 17:57:50 ad3a456e5733: Waiting 17:57:50 33e27b845d1e: Waiting 17:57:50 c68163c4e522: Waiting 17:57:50 23d2d4c4bb30: Waiting 17:57:50 50da416c3ac9: Waiting 17:57:50 c4d48a809fc2: Download complete 17:57:50 ad3a456e5733: Verifying Checksum 17:57:50 ad3a456e5733: Download complete 17:57:50 33e27b845d1e: Verifying Checksum 17:57:50 33e27b845d1e: Download complete 17:57:50 7264a8db6415: Verifying Checksum 17:57:50 7264a8db6415: Download complete 17:57:50 c68163c4e522: Verifying Checksum 17:57:50 c68163c4e522: Download complete 17:57:50 7264a8db6415: Pull complete 17:57:50 23d2d4c4bb30: Verifying Checksum 17:57:50 23d2d4c4bb30: Download complete 17:57:50 4f1c88b9dad5: Verifying Checksum 17:57:50 4f1c88b9dad5: Download complete 17:57:51 c4d48a809fc2: Pull complete 17:57:51 50da416c3ac9: Verifying Checksum 17:57:51 50da416c3ac9: Download complete 17:57:54 4f1c88b9dad5: Pull complete 17:57:54 ad3a456e5733: Pull complete 17:57:55 33e27b845d1e: Pull complete 17:57:55 c68163c4e522: Pull complete 17:57:57 50da416c3ac9: Pull complete 17:57:57 23d2d4c4bb30: Pull complete 17:57:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:57:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:57:58 ---> 0786185ac409 17:57:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:58:02 Still waiting to schedule task 17:58:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:58:03 ---> Running in 0b267ad45910 17:58:03 Removing intermediate container 0b267ad45910 17:58:03 ---> 0538fc6bf008 17:58:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:58:03 ---> Running in f2c355b30ab2 17:58:03 Removing intermediate container f2c355b30ab2 17:58:03 ---> 7b10a5d7c3b9 17:58:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:58:03 ---> Running in faeec1310030 17:58:03 Removing intermediate container faeec1310030 17:58:03 ---> a67a6b405c73 17:58:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:58:03 ---> Running in d7825f517c33 17:58:03 Removing intermediate container d7825f517c33 17:58:03 ---> dae93073fbb1 17:58:03 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:03 ---> Running in 4ed6761b92e5 17:58:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:58:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:58:04 (1/13) Installing libintl (0.21.1-r7) 17:58:04 (2/13) Installing eudev-libs (3.2.11-r8) 17:58:04 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:58:04 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:58:04 (5/13) Installing v4l-utils (1.24.1-r0) 17:58:04 (6/13) Installing libdvbv5 (1.24.1-r0) 17:58:04 (7/13) Installing udev-init-scripts (35-r1) 17:58:04 (8/13) Installing libblkid (2.38.1-r8) 17:58:04 (9/13) Installing xz-libs (5.4.3-r0) 17:58:04 (10/13) Installing kmod-libs (30-r3) 17:58:04 (11/13) Installing eudev (3.2.11-r8) 17:58:04 (12/13) Installing eudev-dev (3.2.11-r8) 17:58:04 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:58:04 Executing busybox-1.36.1-r2.trigger 17:58:04 Executing eudev-3.2.11-r8.trigger 17:58:04 OK: 271 MiB in 65 packages 17:58:05 Removing intermediate container 4ed6761b92e5 17:58:05 ---> 1add1149e483 17:58:05 Step 8/13 : WORKDIR /device-usb-camera 17:58:05 ---> Running in b4d51c5e500c 17:58:05 Removing intermediate container b4d51c5e500c 17:58:05 ---> 4687cda49c75 17:58:05 Step 9/13 : COPY go.mod vendor* ./ 17:58:05 ---> 815c905e4338 17:58:05 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:05 ---> Running in 60e64d3a764d 17:58:52 Removing intermediate container 60e64d3a764d 17:58:52 ---> 3ab5e6246c79 17:58:52 Step 11/13 : COPY . . 17:58:52 ---> 35e43c02b5f0 17:58:52 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:58:52 ---> Running in d66a94f70e4e 17:58:52  % Total % Received % Xferd Average Speed Time Time Time Current 17:58:52 Dload Upload Total Spent Left Speed 17:58:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1253  100  1253    0     0   8069      0 --:--:-- --:--:-- --:--:--  8083 17:58:52 Removing intermediate container d66a94f70e4e 17:58:52 ---> c6160515fd70 17:58:52 Step 13/13 : RUN ${MAKE} 17:58:52 ---> Running in 53e9bfdef8a2 17:58:53 noop 17:58:53 Removing intermediate container 53e9bfdef8a2 17:58:53 ---> f7d19d4745dc 17:58:53 Successfully built f7d19d4745dc 17:58:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:53 + docker inspect -f . ci-base-image-x86_64 17:58:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:53 prd-ubuntu20.04-docker-8c-8g-16252 does not seem to be running inside a container 17:58:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-307 -v /w/workspace/foundry_device-usb-camera_PR-307:/w/workspace/foundry_device-usb-camera_PR-307:rw,z -v /w/workspace/foundry_device-usb-camera_PR-307@tmp:/w/workspace/foundry_device-usb-camera_PR-307@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:58:54 $ docker top 2361bb86eedc93be82a7bac72313e36c2992500343c9958719115b7126f8d601 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:54 + go version 17:58:54 go version go1.21.0 linux/amd64 [Pipeline] } 17:58:54 $ docker stop --time=1 2361bb86eedc93be82a7bac72313e36c2992500343c9958719115b7126f8d601 17:58:56 $ docker rm -f --volumes 2361bb86eedc93be82a7bac72313e36c2992500343c9958719115b7126f8d601 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:56 + docker inspect -f . ci-base-image-x86_64 17:58:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:56 prd-ubuntu20.04-docker-8c-8g-16252 does not seem to be running inside a container 17:58:56 $ 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-307 -v /w/workspace/foundry_device-usb-camera_PR-307:/w/workspace/foundry_device-usb-camera_PR-307:rw,z -v /w/workspace/foundry_device-usb-camera_PR-307@tmp:/w/workspace/foundry_device-usb-camera_PR-307@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:58:57 $ docker top cbf519e2ae1536f094e61779ce03ed5c94bdaeff7ae6858ce6805b0dbd85890e -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:57 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-307 [Pipeline] fileExists [Pipeline] sh 17:58:58 + make test 17:58:58 go test ./... -coverprofile=coverage.out ./... 17:59:00 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:59:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:59:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 4.4% of statements 17:59:18 go vet ./... 17:59:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:59:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:59:23 ./bin/test-attribution-txt.sh [Pipeline] echo 17:59:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:59:23 $ docker stop --time=1 cbf519e2ae1536f094e61779ce03ed5c94bdaeff7ae6858ce6805b0dbd85890e 17:59:28 $ docker rm -f --volumes cbf519e2ae1536f094e61779ce03ed5c94bdaeff7ae6858ce6805b0dbd85890e [Pipeline] // withDockerContainer [Pipeline] sh 17:59:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:59:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:59:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:59:30 + ls -al . 17:59:30 total 216 17:59:30 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 17:58 . 17:59:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:57 .. 17:59:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:59 .git 17:59:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:57 .github 17:59:30 -rw-rw-r-- 1 jenkins jenkins 429 Nov 1 17:57 .gitignore 17:59:30 -rw-rw-r-- 1 jenkins jenkins 45 Nov 1 17:57 .golangci.yml 17:59:30 -rw-rw-r-- 1 jenkins jenkins 77 Nov 1 17:57 .hadolint.yml 17:59:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:57 .semver 17:59:30 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 1 17:57 Attribution.txt 17:59:30 -rw-rw-r-- 1 jenkins jenkins 11903 Nov 1 17:57 CHANGELOG.md 17:59:30 -rw-rw-r-- 1 jenkins jenkins 2453 Nov 1 17:57 Dockerfile 17:59:30 -rw-rw-r-- 1 jenkins jenkins 678 Nov 1 17:57 GOVERNANCE.md 17:59:30 -rw-rw-r-- 1 jenkins jenkins 659 Nov 1 17:57 Jenkinsfile 17:59:30 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 1 17:57 LICENSE 17:59:30 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 1 17:57 Makefile 17:59:30 -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 17:57 OWNERS.md 17:59:30 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 1 17:57 README.md 17:59:30 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:57 VERSION 17:59:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:57 bin 17:59:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:57 cmd 17:59:30 -rw-r--r-- 1 jenkins jenkins 54703 Nov 1 17:59 coverage.out 17:59:30 -rwxrwxr-x 1 jenkins jenkins 84 Nov 1 17:57 docker-entrypoint.sh 17:59:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:57 docs 17:59:30 -rw-rw-r-- 1 jenkins jenkins 3925 Nov 1 17:57 go.mod 17:59:30 -rw-rw-r-- 1 jenkins jenkins 34838 Nov 1 17:57 go.sum 17:59:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:57 internal 17:59:30 -rw-rw-r-- 1 jenkins jenkins 231 Nov 1 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:31 + 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=a18bf06bf9035be12ce3d19de514a4833ecb1c5a --label arch=amd64 --label version=0.0.0 . 17:59:31 Sending build context to Docker daemon 2.343MB 17:59:31 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 17:59:31 Step 2/36 : FROM ${BASE} AS builder 17:59:31 ---> f7d19d4745dc 17:59:31 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:59:31 ---> Running in e85c7ee3650b 17:59:31 Removing intermediate container e85c7ee3650b 17:59:31 ---> 7bddf6ca6f3c 17:59:31 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:59:31 ---> Running in 5b4c8c98b4af 17:59:31 Removing intermediate container 5b4c8c98b4af 17:59:31 ---> 49937e277e1a 17:59:31 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:59:31 ---> Running in a0dcf4b723dc 17:59:31 Removing intermediate container a0dcf4b723dc 17:59:31 ---> c727bf7dbe4b 17:59:31 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:59:31 ---> Running in 4ac37312079f 17:59:31 Removing intermediate container 4ac37312079f 17:59:31 ---> 1d5046d087ae 17:59:31 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:59:31 ---> Running in 308b4abe124d 17:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:59:32 OK: 271 MiB in 65 packages 17:59:32 Removing intermediate container 308b4abe124d 17:59:32 ---> 369447c70141 17:59:32 Step 8/36 : WORKDIR /device-usb-camera 17:59:32 ---> Running in a849afa0144c 17:59:33 Removing intermediate container a849afa0144c 17:59:33 ---> 4de4c9685c4c 17:59:33 Step 9/36 : COPY go.mod vendor* ./ 17:59:33 ---> 79be26f8cc8d 17:59:33 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:59:33 ---> Running in 7b1c79d0b329 17:59:34 Removing intermediate container 7b1c79d0b329 17:59:34 ---> b9f73052ae88 17:59:34 Step 11/36 : COPY . . 17:59:34 ---> fc9a04642e29 17:59:34 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:59:34 ---> Running in 3ef99606eec7 17:59:34  % Total % Received % Xferd Average Speed Time Time Time Current 17:59:34 Dload Upload Total Spent Left Speed 17:59:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 37221 0 --:--:-- --:--:-- --:--:-- 37969 17:59:35 Removing intermediate container 3ef99606eec7 17:59:35 ---> 6538ec268889 17:59:35 Step 13/36 : RUN ${MAKE} 17:59:35 ---> Running in 07ec3b202bcd 17:59:35 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.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:59:57 Removing intermediate container 07ec3b202bcd 17:59:57 ---> e5cfda5fe954 17:59:57 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:59:58 v0.21.6: Pulling from aler9/rtsp-simple-server 17:59:58 4acc49c71d14: Pulling fs layer 18:00:01 4acc49c71d14: Verifying Checksum 18:00:01 4acc49c71d14: Download complete 18:00:01 4acc49c71d14: Pull complete 18:00:01 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:00:01 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:00:01 ---> 01a2bd3e5fff 18:00:01 Step 15/36 : FROM alpine:3.18 18:00:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16253 in /w/workspace/foundry_device-usb-camera_PR-307 [Pipeline] { [Pipeline] ws 18:00:02 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 18:00:02 Selected Git installation does not exist. Using Default 18:00:02 The recommended git tool is: NONE 18:00:03 3.18: Pulling from library/alpine 18:00:03 96526aa774ef: Pulling fs layer 18:00:03 96526aa774ef: Verifying Checksum 18:00:03 96526aa774ef: Download complete 18:00:03 96526aa774ef: Pull complete 18:00:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:00:03 Status: Downloaded newer image for alpine:3.18 18:00:03 ---> 8ca4688f4f35 18:00:03 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:00:03 ---> Running in 91913940f5d8 18:00:03 Removing intermediate container 91913940f5d8 18:00:03 ---> addd197bcb4f 18:00:03 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:00:03 ---> Running in 8c4c52ff59ff 18:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:00:04 (1/107) Installing dumb-init (1.2.5-r2) 18:00:04 (2/107) Installing sdl2 (2.26.5-r0) 18:00:04 (3/107) Installing svt-av1-libs (1.6.0-r0) 18:00:04 (4/107) Installing aom-libs (3.6.1-r0) 18:00:04 (5/107) Installing libxau (1.0.11-r2) 18:00:04 (6/107) Installing libmd (1.0.4-r2) 18:00:04 (7/107) Installing libbsd (0.11.7-r1) 18:00:04 (8/107) Installing libxdmcp (1.1.4-r2) 18:00:04 (9/107) Installing libxcb (1.15-r1) 18:00:04 (10/107) Installing libx11 (1.8.7-r0) 18:00:04 (11/107) Installing hwdata-pci (0.370-r0) 18:00:04 (12/107) Installing libpciaccess (0.17-r2) 18:00:04 (13/107) Installing libdrm (2.4.115-r4) 18:00:04 (14/107) Installing libxext (1.3.5-r2) 18:00:04 (15/107) Installing libxfixes (6.0.1-r2) 18:00:04 (16/107) Installing libffi (3.4.4-r2) 18:00:04 (17/107) Installing wayland-libs-client (1.22.0-r2) 18:00:04 (18/107) Installing libva (2.18.0-r1) 18:00:04 (19/107) Installing libvdpau (1.5-r1) 18:00:04 (20/107) Installing libgcc (12.2.1_git20220924-r10) 18:00:04 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 18:00:04 (22/107) Installing onevpl-libs (2023.2.1-r0) 18:00:04 (23/107) Installing ffmpeg-libavutil (6.0-r15) 18:00:04 (24/107) Installing libdav1d (1.2.1-r0) 18:00:04 (25/107) Installing brotli-libs (1.0.9-r14) 18:00:04 (26/107) Installing libhwy (1.0.4-r1) 18:00:04 (27/107) Installing lcms2 (2.15-r2) 18:00:04 (28/107) Installing libjxl (0.8.2-r0) 18:00:05 (29/107) Installing lame-libs (3.100-r5) 18:00:05 (30/107) Installing opus (1.4-r0) 18:00:05 (31/107) Installing libgomp (12.2.1_git20220924-r10) 18:00:05 (32/107) Installing soxr (0.1.3-r5) 18:00:05 (33/107) Installing ffmpeg-libswresample (6.0-r15) 18:00:05 (34/107) Installing libogg (1.3.5-r4) 18:00:05 (35/107) Installing libtheora (1.1.1-r17) 18:00:05 (36/107) Installing libvorbis (1.3.7-r1) 18:00:05 (37/107) Installing libvpx (1.13.0-r2) 18:00:05 (38/107) Installing libwebp (1.3.2-r0) 18:00:05 (39/107) Installing x264-libs (0.164_git20220602-r1) 18:00:05 (40/107) Installing numactl (2.0.16-r4) 18:00:05 (41/107) Installing x265-libs (3.5-r4) 18:00:05 (42/107) Installing xvidcore (1.3.7-r1) 18:00:05 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 18:00:05 (44/107) Installing alsa-lib (1.2.9-r1) 18:00:05 (45/107) Installing libexpat (2.5.0-r1) 18:00:05 (46/107) Installing libbz2 (1.0.8-r5) 18:00:05 (47/107) Installing libpng (1.6.39-r3) 18:00:05 (48/107) Installing freetype (2.13.0-r5) 18:00:05 (49/107) Installing fontconfig (2.14.2-r3) 18:00:05 (50/107) Installing fribidi (1.0.13-r0) 18:00:05 (51/107) Installing libintl (0.21.1-r7) 18:00:05 (52/107) Installing libblkid (2.38.1-r8) 18:00:05 (53/107) Installing libmount (2.38.1-r8) 18:00:05 (54/107) Installing pcre2 (10.42-r1) 18:00:05 (55/107) Installing glib (2.76.4-r0) 18:00:05 (56/107) Installing graphite2 (1.3.14-r5) 18:00:05 (57/107) Installing harfbuzz (7.3.0-r0) 18:00:05 (58/107) Installing libunibreak (5.1-r0) 18:00:05 (59/107) Installing libass (0.17.1-r0) 18:00:05 (60/107) Installing libbluray (1.3.4-r0) 18:00:05 (61/107) Installing gmp (6.2.1-r3) 18:00:05 (62/107) Installing nettle (3.8.1-r2) 18:00:05 (63/107) Installing libunistring (1.1-r1) 18:00:05 (64/107) Installing libidn2 (2.3.4-r1) 18:00:05 (65/107) Installing p11-kit (0.24.1-r2) 18:00:05 (66/107) Installing libtasn1 (4.19.0-r1) 18:00:05 (67/107) Installing gnutls (3.8.0-r2) 18:00:05 (68/107) Installing mpg123-libs (1.31.3-r1) 18:00:05 (69/107) Installing libopenmpt (0.7.2-r0) 18:00:05 (70/107) Installing cjson (1.7.15-r4) 18:00:05 (71/107) Installing mbedtls (2.28.5-r0) 18:00:05 (72/107) Installing librist (0.2.7-r0) 18:00:05 (73/107) Installing libsrt (1.5.2-r0) 18:00:05 (74/107) Installing libssh (0.10.5-r0) 18:00:05 (75/107) Installing xz-libs (5.4.3-r0) 18:00:05 (76/107) Installing libxml2 (2.11.4-r0) 18:00:05 (77/107) Installing libsodium (1.0.18-r3) 18:00:05 (78/107) Installing libzmq (4.3.4-r4) 18:00:05 (79/107) Installing ffmpeg-libavformat (6.0-r15) 18:00:05 (80/107) Installing glslang-libs (1.3.243.0-r1) 18:00:05 (81/107) Installing spirv-tools (1.3.243.0-r1) 18:00:05 (82/107) Installing shaderc (2023.3-r1) 18:00:05 (83/107) Installing vulkan-loader (1.3.243.0-r1) 18:00:05 (84/107) Installing libplacebo (5.264.1-r1) 18:00:05 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 18:00:05 (86/107) Installing ffmpeg-libswscale (6.0-r15) 18:00:05 (87/107) Installing vidstab (1.1.1-r0) 18:00:05 (88/107) Installing zimg (3.0.5-r0) 18:00:05 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 18:00:05 (90/107) Installing libasyncns (0.8-r1) 18:00:05 (91/107) Installing dbus-libs (1.14.8-r0) 18:00:05 (92/107) Installing libltdl (2.4.7-r2) 18:00:05 (93/107) Installing orc (0.4.34-r0) 18:00:05 (94/107) Installing flac-libs (1.4.3-r0) 18:00:05 (95/107) Installing libsndfile (1.2.0-r2) 18:00:05 (96/107) Installing speexdsp (1.2.1-r1) 18:00:05 (97/107) Installing tdb-libs (1.4.8-r1) 18:00:05 (98/107) Installing libpulse (16.1-r10) 18:00:05 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 18:00:05 (100/107) Installing v4l-utils-libs (1.24.1-r0) 18:00:05 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 18:00:05 (102/107) Installing ffmpeg (6.0-r15) 18:00:05 (103/107) Installing udev-init-scripts (35-r1) 18:00:05 (104/107) Installing eudev-libs (3.2.11-r8) 18:00:05 (105/107) Installing zstd-libs (1.5.5-r4) 18:00:05 (106/107) Installing kmod-libs (30-r3) 18:00:05 (107/107) Installing eudev (3.2.11-r8) 18:00:05 Executing busybox-1.36.1-r2.trigger 18:00:05 Executing glib-2.76.4-r0.trigger 18:00:05 Executing eudev-3.2.11-r8.trigger 18:00:05 OK: 131 MiB in 122 packages 18:00:07 using credential edgex-jenkins-ssh 18:00:07 Cloning the remote Git repository 18:00:07 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:00:08 > git init /w/workspace/device-usb-camera/1 # timeout=10 18:00:08 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:00:08 > git --version # timeout=10 18:00:08 > git --version # 'git version 2.25.1' 18:00:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:09 Removing intermediate container 8c4c52ff59ff 18:00:09 ---> f324afff0d92 18:00:09 Step 18/36 : WORKDIR / 18:00:09 ---> Running in ce91ecf682df 18:00:09 Removing intermediate container ce91ecf682df 18:00:09 ---> 634aa3178258 18:00:09 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:00:09 ---> 1fc71ffbad4a 18:00:09 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:00:10 ---> c0d58143f2c8 18:00:10 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:00:10 ---> 06b5391d1115 18:00:10 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:00:09 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:00:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:10 ---> 5560d39ad0e8 18:00:10 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:00:10 ---> 26b9d44516dd 18:00:10 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:00:10 ---> c977419591c2 18:00:10 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:00:11 Merging remotes/origin/main commit 86d2622c4f907fedb2cba4bacbdfe80b4f9c365d into PR head commit a18bf06bf9035be12ce3d19de514a4833ecb1c5a 18:00:11 Merge succeeded, producing a18bf06bf9035be12ce3d19de514a4833ecb1c5a 18:00:11 Checking out Revision a18bf06bf9035be12ce3d19de514a4833ecb1c5a (PR-307) 18:00:10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:00:10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:00:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/307/head:refs/remotes/origin/PR-307 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:00:11 > git config core.sparsecheckout # timeout=10 18:00:11 > git checkout -f a18bf06bf9035be12ce3d19de514a4833ecb1c5a # timeout=10 18:00:11 > git remote # timeout=10 18:00:11 > git config --get remote.origin.url # timeout=10 18:00:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:11 > git merge 86d2622c4f907fedb2cba4bacbdfe80b4f9c365d # timeout=10 18:00:11 > git rev-parse HEAD^{commit} # timeout=10 18:00:11 > git config core.sparsecheckout # timeout=10 18:00:11 > git checkout -f a18bf06bf9035be12ce3d19de514a4833ecb1c5a # timeout=10 18:00:11 ---> 52926eaf15fb 18:00:11 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:00:11 ---> Running in 2783a916f91c 18:00:11 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:00:11 > git --version # timeout=10 18:00:11 > git --version # 'git version 2.25.1' 18:00:11 fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 18:00:12 Removing intermediate container 2783a916f91c 18:00:12 ---> 27879a7e0453 18:00:12 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:00:12 ---> Running in 8cd090d1f882 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:13 Removing intermediate container 8cd090d1f882 18:00:13 ---> ee01dfa2dd1c 18:00:13 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:00:13 ---> Running in 232245b79b9c 18:00:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:00:13 % Total % Received % Xferd Average Speed Time Time Time Current 18:00:13 Dload Upload Total Spent Left Speed 18:00:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 88830 0 --:--:-- --:--:-- --:--:-- 88830 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 18:00:13 Removing intermediate container 232245b79b9c 18:00:13 ---> 1d57b9404989 18:00:13 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:00:13 ---> Running in ce0d514f4343 18:00:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:00:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:00:14 + sudo tee /etc/docker/daemon.new 18:00:14 { 18:00:14 "registry-mirrors": [ 18:00:14 "https://nexus3.edgexfoundry.org:10001" 18:00:14 ], 18:00:14 "bip": "10.250.0.254/24", 18:00:14 "hosts": [ 18:00:14 "tcp://0.0.0.0:5555", 18:00:14 "unix:///var/run/docker.sock" 18:00:14 ], 18:00:14 "mtu": 1458, 18:00:14 "selinux-enabled": true, 18:00:14 "seccomp-profile": "/etc/docker/seccomp.json" 18:00:14 } [Pipeline] sh 18:00:14 Removing intermediate container ce0d514f4343 18:00:14 ---> cc21453526fb 18:00:14 Step 30/36 : EXPOSE 59983 18:00:14 ---> Running in 50e175601ae9 18:00:14 Removing intermediate container 50e175601ae9 18:00:14 ---> 3066dc6e437e 18:00:14 Step 31/36 : EXPOSE 8554 18:00:14 ---> Running in d6c23ed854df 18:00:14 Removing intermediate container d6c23ed854df 18:00:14 ---> 7042516c357c 18:00:14 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:00:14 ---> Running in 69bd58558349 18:00:14 Removing intermediate container 69bd58558349 18:00:14 ---> 5660fedab0d6 18:00:14 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:00:14 ---> Running in 726ee79160f6 18:00:14 Removing intermediate container 726ee79160f6 18:00:14 ---> 9cea69287df7 18:00:14 Step 34/36 : LABEL arch=amd64 18:00:14 ---> Running in fb6860247df2 18:00:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:00:14 Removing intermediate container fb6860247df2 18:00:14 ---> 28ee8d6a200c 18:00:14 Step 35/36 : LABEL git_sha=a18bf06bf9035be12ce3d19de514a4833ecb1c5a 18:00:14 ---> Running in 8f82065747b9 18:00:14 Removing intermediate container 8f82065747b9 18:00:14 ---> d88871e7a336 18:00:14 Step 36/36 : LABEL version=0.0.0 18:00:14 ---> Running in 17039137aa3c 18:00:14 Removing intermediate container 17039137aa3c 18:00:14 ---> fb231e9e3107 18:00:14 [Warning] One or more build-args [ARCH] were not consumed 18:00:14 Successfully built fb231e9e3107 18:00:14 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:00:14 + sudo service docker restart [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:15 18:00:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:16 latest: Pulling from edgex-lftools-log-publisher 18:00:16 5eb5b503b376: Pulling fs layer 18:00:16 5c69ac0246d0: Pulling fs layer 18:00:16 ec43610c2a17: Pulling fs layer 18:00:16 3a2ae6a8a46f: Pulling fs layer 18:00:16 33b1e0a273af: Pulling fs layer 18:00:16 5d3b04190fa2: Pulling fs layer 18:00:16 2f39f015ded8: Pulling fs layer 18:00:16 33b1e0a273af: Waiting 18:00:16 5d3b04190fa2: Waiting 18:00:16 2f39f015ded8: Waiting 18:00:16 3a2ae6a8a46f: Waiting 18:00:16 5c69ac0246d0: Download complete 18:00:16 3a2ae6a8a46f: Verifying Checksum 18:00:16 3a2ae6a8a46f: Download complete 18:00:16 33b1e0a273af: Verifying Checksum 18:00:16 33b1e0a273af: Download complete 18:00:16 5d3b04190fa2: Verifying Checksum 18:00:16 5d3b04190fa2: Download complete 18:00:16 ec43610c2a17: Verifying Checksum 18:00:16 ec43610c2a17: Download complete 18:00:16 5eb5b503b376: Download complete 18:00:16 2f39f015ded8: Download complete 18:00:17 5eb5b503b376: Pull complete 18:00:17 5c69ac0246d0: Pull complete 18:00:18 ec43610c2a17: Pull complete 18:00:18 3a2ae6a8a46f: Pull complete 18:00:18 33b1e0a273af: Pull complete 18:00:18 5d3b04190fa2: Pull complete 18:00:23 2f39f015ded8: Pull complete 18:00:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:00:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:24 prd-ubuntu20.04-docker-8c-8g-16252 does not seem to be running inside a container 18:00:24 $ 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-307 -v /w/workspace/foundry_device-usb-camera_PR-307:/w/workspace/foundry_device-usb-camera_PR-307:rw,z -v /w/workspace/foundry_device-usb-camera_PR-307@tmp:/w/workspace/foundry_device-usb-camera_PR-307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:00:30 $ docker top 2fd106d3684bb908960af0a01075aeccd0bdcfebbf46b49cb6cb3f9738f151fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:30 ---> job-cost.sh 18:00:30 lf-activate-venv: SKIPPING 18:00:30 INFO: No Stack... 18:00:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:00:31 INFO: Archiving Costs [Pipeline] sh 18:00:31 + cat /w/workspace/foundry_device-usb-camera_PR-307/archives/cost.csv 18:00:31 + cut -d, -f6 [Pipeline] lock 18:00:31 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] 18:00:31 Resource [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] did not exist. Created. 18:00:31 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:00:31 + echo total: 0.2199999988079071 [Pipeline] stash 18:00:31 Stashed 1 file(s) [Pipeline] } 18:00:32 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:00:32 $ docker stop --time=1 2fd106d3684bb908960af0a01075aeccd0bdcfebbf46b49cb6cb3f9738f151fb 18:00:33 $ docker rm -f --volumes 2fd106d3684bb908960af0a01075aeccd0bdcfebbf46b49cb6cb3f9738f151fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 18:00:33 provisioning config files... [Pipeline] } 18:00:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config15283363466816275342tmp [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 18:00:38 ---> docker-login.sh 18:00:38 nexus3.edgexfoundry.org:10001 18:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] } 18:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:39 Configure a credential helper to remove this warning. See 18:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:39 18:00:39 Login Succeeded 18:00:39 nexus3.edgexfoundry.org:10002 18:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:39 Configure a credential helper to remove this warning. See 18:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:39 18:00:39 Login Succeeded 18:00:39 nexus3.edgexfoundry.org:10003 18:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:39 Configure a credential helper to remove this warning. See 18:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:39 18:00:39 Login Succeeded 18:00:39 nexus3.edgexfoundry.org:10004 18:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:40 Configure a credential helper to remove this warning. See 18:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:40 18:00:40 Login Succeeded 18:00:40 docker.io 18:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:41 Configure a credential helper to remove this warning. See 18:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:41 18:00:41 Login Succeeded 18:00:41 ---> docker-login.sh ends [Pipeline] } 18:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:00:42 ========================================================= 18:00:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:00:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:00:43 Sending build context to Docker daemon 1.356MB 18:00:43 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 18:00:43 Step 2/13 : FROM ${BASE} AS builder 18:00:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:00:43 9fda8d8052c6: Pulling fs layer 18:00:43 5d54e960e981: Pulling fs layer 18:00:43 c4a7e357bf2a: Pulling fs layer 18:00:43 f0e02332f6b5: Pulling fs layer 18:00:43 cefa15bbcfad: Pulling fs layer 18:00:43 17808c966233: Pulling fs layer 18:00:43 f4c1fc716caa: Pulling fs layer 18:00:43 f0e02332f6b5: Waiting 18:00:43 cefa15bbcfad: Waiting 18:00:43 17808c966233: Waiting 18:00:43 5d54e960e981: Verifying Checksum 18:00:43 5d54e960e981: Download complete 18:00:43 f0e02332f6b5: Verifying Checksum 18:00:43 f0e02332f6b5: Download complete 18:00:43 9fda8d8052c6: Download complete 18:00:43 cefa15bbcfad: Verifying Checksum 18:00:43 cefa15bbcfad: Download complete 18:00:44 f4c1fc716caa: Verifying Checksum 18:00:44 f4c1fc716caa: Download complete 18:00:44 9fda8d8052c6: Pull complete 18:00:45 5d54e960e981: Pull complete 18:00:45 c4a7e357bf2a: Verifying Checksum 18:00:45 c4a7e357bf2a: Download complete 18:00:46 17808c966233: Verifying Checksum 18:00:46 17808c966233: Download complete 18:00:58 c4a7e357bf2a: Pull complete 18:00:58 f0e02332f6b5: Pull complete 18:00:58 cefa15bbcfad: Pull complete 18:01:09 17808c966233: Pull complete 18:01:09 f4c1fc716caa: Pull complete 18:01:09 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:01:09 ---> ea914061e18c 18:01:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:01:11 ---> Running in ad214c2b59ee 18:01:12 Removing intermediate container ad214c2b59ee 18:01:12 ---> f1b341af535d 18:01:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:01:12 ---> Running in b7325e2ffe02 18:01:12 Removing intermediate container b7325e2ffe02 18:01:12 ---> cac7d01ab46d 18:01:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:01:12 ---> Running in 33ec81440f6e 18:01:13 Removing intermediate container 33ec81440f6e 18:01:13 ---> f72fed335a64 18:01:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:01:13 ---> Running in 57899ba06e25 18:01:13 Removing intermediate container 57899ba06e25 18:01:13 ---> 186b2c7988b3 18:01:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:13 ---> Running in 13ec907e1672 18:01:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:01:16 (1/13) Installing libintl (0.21.1-r7) 18:01:16 (2/13) Installing eudev-libs (3.2.11-r8) 18:01:16 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 18:01:16 (4/13) Installing v4l-utils-libs (1.24.1-r0) 18:01:16 (5/13) Installing v4l-utils (1.24.1-r0) 18:01:16 (6/13) Installing libdvbv5 (1.24.1-r0) 18:01:16 (7/13) Installing udev-init-scripts (35-r1) 18:01:16 (8/13) Installing libblkid (2.38.1-r8) 18:01:16 (9/13) Installing xz-libs (5.4.3-r0) 18:01:16 (10/13) Installing kmod-libs (30-r3) 18:01:16 (11/13) Installing eudev (3.2.11-r8) 18:01:16 (12/13) Installing eudev-dev (3.2.11-r8) 18:01:16 (13/13) Installing v4l-utils-dev (1.24.1-r0) 18:01:16 Executing busybox-1.36.1-r2.trigger 18:01:16 Executing eudev-3.2.11-r8.trigger 18:01:16 OK: 273 MiB in 65 packages 18:01:18 Removing intermediate container 13ec907e1672 18:01:18 ---> 91391ff496ea 18:01:18 Step 8/13 : WORKDIR /device-usb-camera 18:01:18 ---> Running in 1f7a7da07f59 18:01:18 Removing intermediate container 1f7a7da07f59 18:01:18 ---> bfc14357de18 18:01:18 Step 9/13 : COPY go.mod vendor* ./ 18:01:18 ---> 5c12c72cb981 18:01:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:18 ---> Running in a7c2e0f2d72b 18:02:40 Removing intermediate container a7c2e0f2d72b 18:02:40 ---> f12c0427b9f2 18:02:40 Step 11/13 : COPY . . 18:02:40 ---> d41d3d39da11 18:02:40 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:02:40 ---> Running in dcc152484801 18:02:40  % Total % Received % Xferd Average Speed Time Time  Time Current 18:02:40 Dload Upload Total Spent Left Speed 18:02:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253  0 0 8911 0 --:--:-- --:--:-- --:--:-- 9350 18:02:40 Removing intermediate container dcc152484801 18:02:40 ---> f36f22cef4c5 18:02:40 Step 13/13 : RUN ${MAKE} 18:02:40 ---> Running in 1e7f9da6fe6f 18:02:40 noop 18:02:40 Removing intermediate container 1e7f9da6fe6f 18:02:40 ---> 9f0a4072661b 18:02:40 Successfully built 9f0a4072661b 18:02:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:41 + docker inspect -f . ci-base-image-arm64 18:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:41 prd-ubuntu20.04-docker-arm64-4c-16g-16253 does not seem to be running inside a container 18:02:41 $ 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 18:02:42 $ docker top 033baba7df1ae1332fd0451bed3a093f0d2f08983ad9568d000ab8a441450466 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:43 + go version 18:02:43 go version go1.21.0 linux/arm64 [Pipeline] } 18:02:43 $ docker stop --time=1 033baba7df1ae1332fd0451bed3a093f0d2f08983ad9568d000ab8a441450466 18:02:48 $ docker rm -f --volumes 033baba7df1ae1332fd0451bed3a093f0d2f08983ad9568d000ab8a441450466 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:49 + docker inspect -f . ci-base-image-arm64 18:02:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:49 prd-ubuntu20.04-docker-arm64-4c-16g-16253 does not seem to be running inside a container 18:02:49 $ 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 18:02:50 $ docker top 089e012bbca2e7ecbcb427a9f2a9fda9e70494043580abca728c447a5c62bc37 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:51 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 18:02:52 + make test 18:02:52 go test ./... -coverprofile=coverage.out ./... 18:02:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:04:33 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:04:38 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 4.4% of statements 18:04:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:04:40 go vet ./... 18:05:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:05:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:05:07 ./bin/test-attribution-txt.sh [Pipeline] echo 18:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:05:07 $ docker stop --time=1 089e012bbca2e7ecbcb427a9f2a9fda9e70494043580abca728c447a5c62bc37 18:05:09 $ docker rm -f --volumes 089e012bbca2e7ecbcb427a9f2a9fda9e70494043580abca728c447a5c62bc37 [Pipeline] // withDockerContainer [Pipeline] sh 18:05:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:05:11 Warning: overwriting stash ‘coverage-report’ 18:05:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:05:12 + ls -al . 18:05:12 total 212 18:05:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 18:02 . 18:05:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:00 .. 18:05:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 18:00 .git 18:05:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:00 .github 18:05:12 -rw-rw-r-- 1 jenkins jenkins 429 Nov 1 18:00 .gitignore 18:05:12 -rw-rw-r-- 1 jenkins jenkins 45 Nov 1 18:00 .golangci.yml 18:05:12 -rw-rw-r-- 1 jenkins jenkins 77 Nov 1 18:00 .hadolint.yml 18:05:12 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 1 18:00 Attribution.txt 18:05:12 -rw-rw-r-- 1 jenkins jenkins 11903 Nov 1 18:00 CHANGELOG.md 18:05:12 -rw-rw-r-- 1 jenkins jenkins 2453 Nov 1 18:00 Dockerfile 18:05:12 -rw-rw-r-- 1 jenkins jenkins 678 Nov 1 18:00 GOVERNANCE.md 18:05:12 -rw-rw-r-- 1 jenkins jenkins 659 Nov 1 18:00 Jenkinsfile 18:05:12 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 1 18:00 LICENSE 18:05:12 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 1 18:00 Makefile 18:05:12 -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 18:00 OWNERS.md 18:05:12 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 1 18:00 README.md 18:05:12 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:57 VERSION 18:05:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 18:00 bin 18:05:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:00 cmd 18:05:12 -rw-r--r-- 1 jenkins jenkins 54703 Nov 1 18:04 coverage.out 18:05:12 -rwxrwxr-x 1 jenkins jenkins 84 Nov 1 18:00 docker-entrypoint.sh 18:05:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 18:00 docs 18:05:12 -rw-rw-r-- 1 jenkins jenkins 3925 Nov 1 18:00 go.mod 18:05:12 -rw-rw-r-- 1 jenkins jenkins 34838 Nov 1 18:00 go.sum 18:05:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:00 internal 18:05:12 -rw-rw-r-- 1 jenkins jenkins 231 Nov 1 18:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:13 + 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=a18bf06bf9035be12ce3d19de514a4833ecb1c5a --label arch=arm64 --label version=0.0.0 . 18:05:13 Sending build context to Docker daemon 1.411MB 18:05:13 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 18:05:13 Step 2/36 : FROM ${BASE} AS builder 18:05:13 ---> 9f0a4072661b 18:05:13 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:05:13 ---> Running in 4f9c9e5b0428 18:05:14 Removing intermediate container 4f9c9e5b0428 18:05:14 ---> a27258c454b0 18:05:14 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:05:14 ---> Running in c4984fb52206 18:05:14 Removing intermediate container c4984fb52206 18:05:14 ---> 10fc309ccc20 18:05:14 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:05:14 ---> Running in deda7e027f1d 18:05:14 Removing intermediate container deda7e027f1d 18:05:14 ---> ad75f064e3c5 18:05:14 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:05:14 ---> Running in 1e0e99377c8f 18:05:15 Removing intermediate container 1e0e99377c8f 18:05:15 ---> 1ae470ab432d 18:05:15 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:05:15 ---> Running in ac77229805cf 18:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:05:17 OK: 273 MiB in 65 packages 18:05:18 Removing intermediate container ac77229805cf 18:05:18 ---> 7af0c2f48d74 18:05:18 Step 8/36 : WORKDIR /device-usb-camera 18:05:18 ---> Running in b11cc63e2e52 18:05:19 Removing intermediate container b11cc63e2e52 18:05:19 ---> 9dc04757c497 18:05:19 Step 9/36 : COPY go.mod vendor* ./ 18:05:23 ---> 93f597740050 18:05:23 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:05:23 ---> Running in 6cb4ab29e874 18:05:26 Removing intermediate container 6cb4ab29e874 18:05:26 ---> 948d645d42dd 18:05:26 Step 11/36 : COPY . . 18:05:26 ---> 682fce9d0ca4 18:05:26 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:05:27 ---> Running in b5da5b924c8f 18:05:27  % Total % Received % Xferd Average Speed Time Time Time Current 18:05:27 Dload Upload Total Spent Left Speed 18:05:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5158 0 --:--:-- --:--:-- --:--:-- 5199 18:05:29 Removing intermediate container b5da5b924c8f 18:05:29 ---> 3cfdebf18f13 18:05:29 Step 13/36 : RUN ${MAKE} 18:05:29 ---> Running in 8a51aff721c0 18:05:30 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.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:08:07 Removing intermediate container 8a51aff721c0 18:08:07 ---> e4b33eaada53 18:08:07 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:08:07 v0.21.6: Pulling from aler9/rtsp-simple-server 18:08:07 8766b47fe142: Pulling fs layer 18:08:07 8766b47fe142: Verifying Checksum 18:08:07 8766b47fe142: Download complete 18:08:07 8766b47fe142: Pull complete 18:08:07 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:08:07 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:08:07 ---> 69d40e2cb93c 18:08:07 Step 15/36 : FROM alpine:3.18 18:08:07 3.18: Pulling from library/alpine 18:08:07 579b34f0a95b: Pulling fs layer 18:08:07 579b34f0a95b: Verifying Checksum 18:08:07 579b34f0a95b: Download complete 18:08:07 579b34f0a95b: Pull complete 18:08:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:08:07 Status: Downloaded newer image for alpine:3.18 18:08:07 ---> 3cc203321400 18:08:07 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:08:07 ---> Running in 0091ee0e3be3 18:08:07 Removing intermediate container 0091ee0e3be3 18:08:07 ---> 549174476e68 18:08:07 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:08:07 ---> Running in 8c606878e346 18:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:08:07 (1/104) Installing dumb-init (1.2.5-r2) 18:08:07 (2/104) Installing sdl2 (2.26.5-r0) 18:08:07 (3/104) Installing svt-av1-libs (1.6.0-r0) 18:08:07 (4/104) Installing aom-libs (3.6.1-r0) 18:08:07 (5/104) Installing libxau (1.0.11-r2) 18:08:07 (6/104) Installing libmd (1.0.4-r2) 18:08:07 (7/104) Installing libbsd (0.11.7-r1) 18:08:07 (8/104) Installing libxdmcp (1.1.4-r2) 18:08:07 (9/104) Installing libxcb (1.15-r1) 18:08:07 (10/104) Installing libx11 (1.8.7-r0) 18:08:07 (11/104) Installing libdrm (2.4.115-r4) 18:08:07 (12/104) Installing libxext (1.3.5-r2) 18:08:07 (13/104) Installing libxfixes (6.0.1-r2) 18:08:07 (14/104) Installing libffi (3.4.4-r2) 18:08:07 (15/104) Installing wayland-libs-client (1.22.0-r2) 18:08:07 (16/104) Installing libva (2.18.0-r1) 18:08:07 (17/104) Installing libvdpau (1.5-r1) 18:08:07 (18/104) Installing ffmpeg-libavutil (6.0-r15) 18:08:07 (19/104) Installing libdav1d (1.2.1-r0) 18:08:07 (20/104) Installing brotli-libs (1.0.9-r14) 18:08:07 (21/104) Installing libgcc (12.2.1_git20220924-r10) 18:08:07 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 18:08:07 (23/104) Installing libhwy (1.0.4-r1) 18:08:07 (24/104) Installing lcms2 (2.15-r2) 18:08:07 (25/104) Installing libjxl (0.8.2-r0) 18:08:07 (26/104) Installing lame-libs (3.100-r5) 18:08:07 (27/104) Installing opus (1.4-r0) 18:08:07 (28/104) Installing libgomp (12.2.1_git20220924-r10) 18:08:07 (29/104) Installing soxr (0.1.3-r5) 18:08:07 (30/104) Installing ffmpeg-libswresample (6.0-r15) 18:08:07 (31/104) Installing libogg (1.3.5-r4) 18:08:07 (32/104) Installing libtheora (1.1.1-r17) 18:08:07 (33/104) Installing libvorbis (1.3.7-r1) 18:08:07 (34/104) Installing libvpx (1.13.0-r2) 18:08:07 (35/104) Installing libwebp (1.3.2-r0) 18:08:07 (36/104) Installing x264-libs (0.164_git20220602-r1) 18:08:07 (37/104) Installing numactl (2.0.16-r4) 18:08:07 (38/104) Installing x265-libs (3.5-r4) 18:08:07 (39/104) Installing xvidcore (1.3.7-r1) 18:08:07 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 18:08:07 (41/104) Installing alsa-lib (1.2.9-r1) 18:08:07 (42/104) Installing libexpat (2.5.0-r1) 18:08:07 (43/104) Installing libbz2 (1.0.8-r5) 18:08:07 (44/104) Installing libpng (1.6.39-r3) 18:08:07 (45/104) Installing freetype (2.13.0-r5) 18:08:07 (46/104) Installing fontconfig (2.14.2-r3) 18:08:07 (47/104) Installing fribidi (1.0.13-r0) 18:08:07 (48/104) Installing libintl (0.21.1-r7) 18:08:07 (49/104) Installing libblkid (2.38.1-r8) 18:08:07 (50/104) Installing libmount (2.38.1-r8) 18:08:07 (51/104) Installing pcre2 (10.42-r1) 18:08:07 (52/104) Installing glib (2.76.4-r0) 18:08:08 (53/104) Installing graphite2 (1.3.14-r5) 18:08:08 (54/104) Installing harfbuzz (7.3.0-r0) 18:08:08 (55/104) Installing libunibreak (5.1-r0) 18:08:08 (56/104) Installing libass (0.17.1-r0) 18:08:08 (57/104) Installing libbluray (1.3.4-r0) 18:08:08 (58/104) Installing gmp (6.2.1-r3) 18:08:08 (59/104) Installing nettle (3.8.1-r2) 18:08:08 (60/104) Installing libunistring (1.1-r1) 18:08:08 (61/104) Installing libidn2 (2.3.4-r1) 18:08:08 (62/104) Installing p11-kit (0.24.1-r2) 18:08:08 (63/104) Installing libtasn1 (4.19.0-r1) 18:08:08 (64/104) Installing gnutls (3.8.0-r2) 18:08:08 (65/104) Installing mpg123-libs (1.31.3-r1) 18:08:08 (66/104) Installing libopenmpt (0.7.2-r0) 18:08:08 (67/104) Installing cjson (1.7.15-r4) 18:08:08 (68/104) Installing mbedtls (2.28.5-r0) 18:08:08 (69/104) Installing librist (0.2.7-r0) 18:08:08 (70/104) Installing libsrt (1.5.2-r0) 18:08:08 (71/104) Installing libssh (0.10.5-r0) 18:08:08 (72/104) Installing xz-libs (5.4.3-r0) 18:08:08 (73/104) Installing libxml2 (2.11.4-r0) 18:08:08 (74/104) Installing libsodium (1.0.18-r3) 18:08:08 (75/104) Installing libzmq (4.3.4-r4) 18:08:08 (76/104) Installing ffmpeg-libavformat (6.0-r15) 18:08:08 (77/104) Installing glslang-libs (1.3.243.0-r1) 18:08:08 (78/104) Installing spirv-tools (1.3.243.0-r1) 18:08:08 (79/104) Installing shaderc (2023.3-r1) 18:08:08 (80/104) Installing vulkan-loader (1.3.243.0-r1) 18:08:08 (81/104) Installing libplacebo (5.264.1-r1) 18:08:08 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 18:08:08 (83/104) Installing ffmpeg-libswscale (6.0-r15) 18:08:08 (84/104) Installing vidstab (1.1.1-r0) 18:08:08 (85/104) Installing zimg (3.0.5-r0) 18:08:08 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 18:08:09 (87/104) Installing libasyncns (0.8-r1) 18:08:09 (88/104) Installing dbus-libs (1.14.8-r0) 18:08:09 (89/104) Installing libltdl (2.4.7-r2) 18:08:09 (90/104) Installing orc (0.4.34-r0) 18:08:09 (91/104) Installing flac-libs (1.4.3-r0) 18:08:09 (92/104) Installing libsndfile (1.2.0-r2) 18:08:09 (93/104) Installing speexdsp (1.2.1-r1) 18:08:09 (94/104) Installing tdb-libs (1.4.8-r1) 18:08:09 (95/104) Installing libpulse (16.1-r10) 18:08:09 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 18:08:09 (97/104) Installing v4l-utils-libs (1.24.1-r0) 18:08:09 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 18:08:09 (99/104) Installing ffmpeg (6.0-r15) 18:08:09 (100/104) Installing udev-init-scripts (35-r1) 18:08:09 (101/104) Installing eudev-libs (3.2.11-r8) 18:08:09 (102/104) Installing zstd-libs (1.5.5-r4) 18:08:09 (103/104) Installing kmod-libs (30-r3) 18:08:09 (104/104) Installing eudev (3.2.11-r8) 18:08:09 Executing busybox-1.36.1-r2.trigger 18:08:09 Executing glib-2.76.4-r0.trigger 18:08:09 Executing eudev-3.2.11-r8.trigger 18:08:09 OK: 110 MiB in 119 packages 18:08:16 Removing intermediate container 8c606878e346 18:08:16 ---> 3dd00c6438bb 18:08:16 Step 18/36 : WORKDIR / 18:08:16 ---> Running in f95eb65c4e13 18:08:16 Removing intermediate container f95eb65c4e13 18:08:16 ---> 399aca2b9430 18:08:16 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:08:17 ---> d26969f46555 18:08:17 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:08:17 ---> e392c23d0f25 18:08:17 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:08:18 ---> de0177a3680f 18:08:18 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:08:18 ---> 1768dec25b2b 18:08:18 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:08:19 ---> ca5cec90afc1 18:08:19 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:08:19 ---> fc8c88b4eec9 18:08:19 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:08:21 ---> be43963cef8b 18:08:21 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:08:21 ---> Running in 8f7068f90465 18:08:23 Removing intermediate container 8f7068f90465 18:08:23 ---> 338010e387bd 18:08:23 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:08:23 ---> Running in 9dd2580f0e3a 18:08:26 Removing intermediate container 9dd2580f0e3a 18:08:26 ---> 0fb72c01741e 18:08:26 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:08:26 ---> Running in 95f6fce3f851 18:08:28 Removing intermediate container 95f6fce3f851 18:08:28 ---> 094d34bba513 18:08:28 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:08:28 ---> Running in e4a12ba5af98 18:08:30 Removing intermediate container e4a12ba5af98 18:08:30 ---> 12abd083bf00 18:08:30 Step 30/36 : EXPOSE 59983 18:08:30 ---> Running in 8bed39148bd5 18:08:30 Removing intermediate container 8bed39148bd5 18:08:30 ---> e489c448c173 18:08:30 Step 31/36 : EXPOSE 8554 18:08:30 ---> Running in 2ff46da51eee 18:08:30 Removing intermediate container 2ff46da51eee 18:08:30 ---> b5513b57ced5 18:08:30 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:08:30 ---> Running in 3c36d0cd8373 18:08:31 Removing intermediate container 3c36d0cd8373 18:08:31 ---> 921222d36433 18:08:31 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:08:31 ---> Running in 07641f6e5495 18:08:31 Removing intermediate container 07641f6e5495 18:08:31 ---> 9aa6639a735e 18:08:31 Step 34/36 : LABEL arch=arm64 18:08:31 ---> Running in c5bb82aa7834 18:08:31 Removing intermediate container c5bb82aa7834 18:08:31 ---> 0293a1f0689d 18:08:31 Step 35/36 : LABEL git_sha=a18bf06bf9035be12ce3d19de514a4833ecb1c5a 18:08:31 ---> Running in 4e5e35cb83ed 18:08:32 Removing intermediate container 4e5e35cb83ed 18:08:32 ---> 4ee96b6e07a4 18:08:32 Step 36/36 : LABEL version=0.0.0 18:08:32 ---> Running in de36c5eeaddd 18:08:32 Removing intermediate container de36c5eeaddd 18:08:32 ---> 166f9a7923c1 18:08:32 [Warning] One or more build-args [ARCH] were not consumed 18:08:32 Successfully built 166f9a7923c1 18:08:32 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:08:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:33 18:08:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:33 arm64: Pulling from edgex-lftools-log-publisher 18:08:33 8998bd30e6a1: Pulling fs layer 18:08:33 04944245beec: Pulling fs layer 18:08:33 699f458cf7ca: Pulling fs layer 18:08:33 765212b225bb: Pulling fs layer 18:08:33 f23df028b6ca: Pulling fs layer 18:08:33 d65c8cfc05b1: Pulling fs layer 18:08:33 2437ff75d9bd: Pulling fs layer 18:08:33 f23df028b6ca: Waiting 18:08:33 d65c8cfc05b1: Waiting 18:08:33 2437ff75d9bd: Waiting 18:08:33 765212b225bb: Waiting 18:08:34 04944245beec: Verifying Checksum 18:08:34 04944245beec: Download complete 18:08:34 765212b225bb: Verifying Checksum 18:08:34 765212b225bb: Download complete 18:08:34 f23df028b6ca: Verifying Checksum 18:08:34 f23df028b6ca: Download complete 18:08:34 d65c8cfc05b1: Verifying Checksum 18:08:34 d65c8cfc05b1: Download complete 18:08:34 699f458cf7ca: Verifying Checksum 18:08:34 699f458cf7ca: Download complete 18:08:34 8998bd30e6a1: Verifying Checksum 18:08:34 8998bd30e6a1: Download complete 18:08:37 2437ff75d9bd: Verifying Checksum 18:08:37 2437ff75d9bd: Download complete 18:08:39 8998bd30e6a1: Pull complete 18:08:40 04944245beec: Pull complete 18:08:41 699f458cf7ca: Pull complete 18:08:41 765212b225bb: Pull complete 18:08:42 f23df028b6ca: Pull complete 18:08:43 d65c8cfc05b1: Pull complete 18:09:01 2437ff75d9bd: Pull complete 18:09:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:09:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:09:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:01 prd-ubuntu20.04-docker-arm64-4c-16g-16253 does not seem to be running inside a container 18:09:01 $ 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:09:05 $ docker top 89562134fcae2c7baa49522902b1d6b2c3f40e16d05024f0389f0801a207d7de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:06 ---> job-cost.sh 18:09:06 lf-activate-venv: SKIPPING 18:09:06 INFO: No Stack... 18:09:06 INFO: Retrieving Pricing Info for: v3-standard-4 18:09:07 INFO: Archiving Costs [Pipeline] sh 18:09:07 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:09:07 + cut -d, -f6 [Pipeline] lock 18:09:08 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] 18:09:08 Resource [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] did not exist. Created. 18:09:08 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:08 /w/workspace/device-usb-camera/1@tmp/durable-d5c08ce8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:09:09 + echo total: 0.10999999940395355 [Pipeline] stash 18:09:09 Warning: overwriting stash ‘stack-cost’ 18:09:09 Stashed 1 file(s) [Pipeline] } 18:09:09 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-307-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:09:09 $ docker stop --time=1 89562134fcae2c7baa49522902b1d6b2c3f40e16d05024f0389f0801a207d7de 18:09:11 $ docker rm -f --volumes 89562134fcae2c7baa49522902b1d6b2c3f40e16d05024f0389f0801a207d7de [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:09:12 provisioning config files... 18:09:12 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-307@tmp/config7261830322064048790tmp [Pipeline] { [Pipeline] sh 18:09:12 + set +x 18:09:12 + bash -s -- 18:09:12 + curl -s https://codecov.io/bash 18:09:12 18:09:12 _____ _ 18:09:12 / ____| | | 18:09:12 | | ___ __| | ___ ___ _____ __ 18:09:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:09:12 | |___| (_) | (_| | __/ (_| (_) \ V / 18:09:12 \_____\___/ \__,_|\___|\___\___/ \_/ 18:09:12 Bash-1.0.6 18:09:12 18:09:12 18:09:12 ==> git version 2.25.1 found 18:09:12 ==> 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:09:12 Release-Date: 2020-01-08 18:09:12 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:09:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:09:12 ==> Jenkins CI detected. 18:09:12 current dir:  /w/workspace/foundry_device-usb-camera_PR-307 18:09:12 project root: . 18:09:12 --> token set from env 18:09:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:09:12 ==> Running gcov in . (disable via -X gcov) 18:09:12 ==> Python coveragepy not found 18:09:12 ==> Searching for coverage reports in: 18:09:12 + . 18:09:12 -> Found 1 reports 18:09:12 ==> Detecting git/mercurial file structure 18:09:12 ==> Reading reports 18:09:12 + ./coverage.out bytes=54703 18:09:12 ==> Appending adjustments 18:09:12 https://docs.codecov.io/docs/fixing-reports 18:09:12 + Found adjustments 18:09:12 ==> Gzipping contents 18:09:12 8.0K /tmp/codecov.V8nMVt.gz 18:09:12 ==> Uploading reports 18:09:12 url: https://codecov.io 18:09:12 query: branch=PR-307&commit=a18bf06bf9035be12ce3d19de514a4833ecb1c5a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=307&job=&cmd_args= 18:09:12 -> Pinging Codecov 18:09:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-307&commit=a18bf06bf9035be12ce3d19de514a4833ecb1c5a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=307&job=&cmd_args= 18:09:13 -> Uploading to 18:09:13 https://storage.googleapis.com/codecov/v4/raw/2023-11-01/73D8F5FF140700D3E01443B452E23636/a18bf06bf9035be12ce3d19de514a4833ecb1c5a/383a2090-5d30-4f25-bbf9-b7b31640bc4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T180912Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a10f08ef27c79e338ed032623d1f1634c0f37fc29e8b594e865d70fe16473862 18:09:13 % Total % Received % Xferd Average Speed Time Time Time Current 18:09:13 Dload Upload Total Spent Left Speed 18:09:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 24745 --:--:-- --:--:-- --:--:-- 24745 18:09:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/a18bf06bf9035be12ce3d19de514a4833ecb1c5a [Pipeline] } 18:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [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:09:15 + [ -d /w/workspace/foundry_device-usb-camera_PR-307/archives ] 18:09:15 + ls -al /w/workspace/foundry_device-usb-camera_PR-307/archives 18:09:15 total 16 18:09:15 drwxr-xr-x 3 root root 4096 Nov 1 18:00 . 18:09:15 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 18:00 .. 18:09:15 drwxr-xr-x 2 root root 4096 Nov 1 18:00 cost 18:09:15 -rw-r--r-- 1 root root 89 Nov 1 18:00 cost.csv 18:09:15 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-307/archives 18:09:15 + ls -al /w/workspace/foundry_device-usb-camera_PR-307/archives 18:09:15 total 16 18:09:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 18:00 . 18:09:15 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 18:00 .. 18:09:15 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 18:00 cost 18:09:15 -rw-r--r-- 1 jenkins jenkins 89 Nov 1 18:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:09:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:09:16 ---> package-listing.sh 18:09:16 ++ facter osfamily 18:09:16 ++ tr '[:upper:]' '[:lower:]' 18:09:16 + OS_FAMILY=debian 18:09:16 + workspace=/w/workspace/foundry_device-usb-camera_PR-307 18:09:16 + START_PACKAGES=/tmp/packages_start.txt 18:09:16 + END_PACKAGES=/tmp/packages_end.txt 18:09:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:09:16 + PACKAGES=/tmp/packages_start.txt 18:09:16 + '[' /w/workspace/foundry_device-usb-camera_PR-307 ']' 18:09:16 + PACKAGES=/tmp/packages_end.txt 18:09:16 + case "${OS_FAMILY}" in 18:09:16 + dpkg -l 18:09:16 + grep '^ii' 18:09:16 + '[' -f /tmp/packages_start.txt ']' 18:09:16 + '[' -f /tmp/packages_end.txt ']' 18:09:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:09:16 + '[' /w/workspace/foundry_device-usb-camera_PR-307 ']' 18:09:16 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-307/archives/ 18:09:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-307/archives/ [Pipeline] echo 18:09:16 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-307/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:09:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:17 prd-ubuntu20.04-docker-8c-8g-16252 does not seem to be running inside a container 18:09:17 $ 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-307/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-307 -v /w/workspace/foundry_device-usb-camera_PR-307:/w/workspace/foundry_device-usb-camera_PR-307:rw,z -v /w/workspace/foundry_device-usb-camera_PR-307@tmp:/w/workspace/foundry_device-usb-camera_PR-307@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:09:18 $ docker top cec2926825d62904b47590b4355ea7c65d0948e8c3cbe3ef85cdbb892b97de8e -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:18 + touch /tmp/pre-build-complete [Pipeline] sh 18:09:18 + mkdir -p /var/log/sysstat [Pipeline] sh 18:09:19 + ls /var/log/sa-host 18:09:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:19 provisioning config files... 18:09:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-307@tmp/config8918411872023715036tmp [Pipeline] { [Pipeline] echo 18:09:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:09:19 ---> create-netrc.sh [Pipeline] } 18:09:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:09:20 ---> python-tools-install.sh [Pipeline] echo 18:09:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:09:20 ---> sudo-logs.sh 18:09:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:09:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:09:20 ---> job-cost.sh 18:09:20 lf-activate-venv: SKIPPING 18:09:20 DEBUG: total: 0.2199999988079071 18:09:20 INFO: Retrieving Stack Cost... 18:09:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:09:21 INFO: Archiving Costs [Pipeline] echo 18:09:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:09:22 ---> logs-deploy.sh 18:09:22 lf-activate-venv: SKIPPING 18:09:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-307/1 18:09:22 INFO: archiving workspace using pattern(s): 18:09:23 Archives upload complete. 18:09:23 INFO: archiving logs to Nexus 18:09:23 ---> uname -a: 18:09:23 Linux prd-ubuntu20-04-docker-8c-8g-16252 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:09:23 18:09:23 18:09:23 ---> lscpu: 18:09:23 Architecture: x86_64 18:09:23 CPU op-mode(s): 32-bit, 64-bit 18:09:23 Byte Order: Little Endian 18:09:23 Address sizes: 40 bits physical, 48 bits virtual 18:09:23 CPU(s): 8 18:09:23 On-line CPU(s) list: 0-7 18:09:23 Thread(s) per core: 1 18:09:23 Core(s) per socket: 1 18:09:23 Socket(s): 8 18:09:23 NUMA node(s): 1 18:09:23 Vendor ID: AuthenticAMD 18:09:23 CPU family: 23 18:09:23 Model: 49 18:09:23 Model name: AMD EPYC-Rome Processor 18:09:23 Stepping: 0 18:09:23 CPU MHz: 2799.998 18:09:23 BogoMIPS: 5599.99 18:09:23 Virtualization: AMD-V 18:09:23 Hypervisor vendor: KVM 18:09:23 Virtualization type: full 18:09:23 L1d cache: 256 KiB 18:09:23 L1i cache: 256 KiB 18:09:23 L2 cache: 4 MiB 18:09:23 L3 cache: 128 MiB 18:09:23 NUMA node0 CPU(s): 0-7 18:09:23 Vulnerability Itlb multihit: Not affected 18:09:23 Vulnerability L1tf: Not affected 18:09:23 Vulnerability Mds: Not affected 18:09:23 Vulnerability Meltdown: Not affected 18:09:23 Vulnerability Mmio stale data: Not affected 18:09:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:09:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:09:23 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:09:23 Vulnerability Srbds: Not affected 18:09:23 Vulnerability Tsx async abort: Not affected 18:09:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:09:23 18:09:23 18:09:23 ---> nproc: 18:09:23 8 18:09:23 18:09:23 18:09:23 ---> df -h: 18:09:23 Filesystem Size Used Avail Use% Mounted on 18:09:23 overlay 155G 12G 144G 8% / 18:09:23 tmpfs 64M 0 64M 0% /dev 18:09:23 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:09:23 shm 64M 0 64M 0% /dev/shm 18:09:23 /dev/vda1 155G 12G 144G 8% /facter-os 18:09:23 18:09:23 18:09:23 ---> sar -b -r -n DEV: 18:09:23 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16252) 11/01/23 _x86_64_ (8 CPU) 18:09:23 18:09:23 17:56:45 LINUX RESTART (8 CPU) 18:09:23 18:09:23 17:57:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:09:23 17:58:02 150.19 47.53 102.66 0.00 5354.61 68383.04 0.00 18:09:23 17:59:01 231.69 1.56 230.13 0.00 31.86 56225.32 0.00 18:09:23 18:00:01 103.23 0.18 103.05 0.00 2.80 26112.58 0.00 18:09:23 18:01:01 163.94 0.10 163.84 0.00 10.00 31568.21 0.00 18:09:23 18:02:01 28.45 8.80 19.65 0.00 926.25 2167.92 0.00 18:09:23 18:03:01 33.04 2.82 30.23 0.00 4250.62 6477.72 0.00 18:09:23 18:04:01 3.48 0.02 3.47 0.00 0.13 87.30 0.00 18:09:23 18:05:01 1.60 0.00 1.60 0.00 0.00 16.80 0.00 18:09:23 18:06:01 1.00 0.00 1.00 0.00 0.00 11.20 0.00 18:09:23 18:07:01 1.70 0.00 1.70 0.00 0.00 18.40 0.00 18:09:23 18:08:01 1.00 0.00 1.00 0.00 0.00 11.20 0.00 18:09:23 18:09:01 1.23 0.00 1.23 0.00 0.00 19.20 0.00 18:09:23 Average: 59.82 5.10 54.73 0.00 883.40 15878.87 0.00 18:09:23 18:09:23 17:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:09:23 17:58:02 29298620 31580760 750468 2.28 73832 2484584 1877836 5.53 994968 2229956 148 18:09:23 17:59:01 28032176 31279400 1027796 3.13 151648 3274576 2424196 7.14 1459216 2901076 91348 18:09:23 18:00:01 28137052 31535188 773744 2.35 155808 3418796 1864052 5.49 1245548 3014552 26296 18:09:23 18:01:01 27437232 31539248 767292 2.33 167632 4052696 1749500 5.16 1316348 3582544 480 18:09:23 18:02:01 27301488 31523212 757040 2.30 182908 4160012 1708688 5.04 1395852 3615056 1920 18:09:23 18:03:01 26962428 31523804 753868 2.29 197096 4477788 1710460 5.04 1619568 3718412 8 18:09:23 18:04:01 26966104 31522664 755176 2.30 195668 4474540 1715420 5.06 1618264 3715212 8 18:09:23 18:05:01 26973720 31530348 747376 2.27 195708 4474540 1715420 5.06 1611724 3715208 4 18:09:23 18:06:01 26974020 31530688 747080 2.27 195728 4474544 1715420 5.06 1611512 3715212 16 18:09:23 18:07:01 26973884 31530588 747052 2.27 195768 4474552 1715420 5.06 1611388 3715220 24 18:09:23 18:08:01 26974492 31531244 746396 2.27 195796 4474552 1715420 5.06 1611568 3715220 20 18:09:23 18:09:01 26977424 31534224 743568 2.26 195844 4474556 1715420 5.06 1609548 3715224 168 18:09:23 Average: 27417387 31513447 776405 2.36 175286 4059645 1802271 5.31 1475459 3446074 10037 18:09:23 18:09:23 17:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:09:23 17:58:02 lo 6.92 6.92 0.67 0.67 0.00 0.00 0.00 0.00 18:09:23 17:58:02 ens3 528.15 315.08 5506.01 81.81 0.00 0.00 0.00 0.00 18:09:23 17:58:02 docker0 1.46 1.28 0.27 13.44 0.00 0.00 0.00 0.00 18:09:23 17:59:01 vethb8d59b4 0.00 0.14 0.00 0.01 0.00 0.00 0.00 0.00 18:09:23 17:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:09:23 17:59:01 ens3 346.98 233.16 2532.99 32.56 0.00 0.00 0.00 0.00 18:09:23 17:59:01 docker0 216.17 321.01 18.27 2505.68 0.00 0.00 0.00 0.00 18:09:23 18:00:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 18:09:23 18:00:01 ens3 63.06 50.06 273.44 91.07 0.00 0.00 0.00 0.00 18:09:23 18:00:01 docker0 1.42 2.58 0.10 30.97 0.00 0.00 0.00 0.00 18:09:23 18:01:01 lo 1.53 1.53 0.15 0.15 0.00 0.00 0.00 0.00 18:09:23 18:01:01 ens3 155.62 87.57 3399.71 18.11 0.00 0.00 0.00 0.00 18:09:23 18:01:01 docker0 17.10 43.34 1.25 800.54 0.00 0.00 0.00 0.00 18:09:23 18:02:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 18:09:23 18:02:01 ens3 54.09 32.49 703.53 2.41 0.00 0.00 0.00 0.00 18:09:23 18:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:03:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 18:09:23 18:03:01 ens3 165.56 87.95 2028.18 5.95 0.00 0.00 0.00 0.00 18:09:23 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:04:01 ens3 0.70 0.20 0.14 0.07 0.00 0.00 0.00 0.00 18:09:23 18:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:09:23 18:05:01 ens3 0.62 0.70 0.67 0.24 0.00 0.00 0.00 0.00 18:09:23 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:06:01 ens3 0.10 0.03 0.01 0.00 0.00 0.00 0.00 0.00 18:09:23 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:09:23 18:07:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 18:09:23 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:08:01 ens3 0.18 0.08 0.08 0.06 0.00 0.00 0.00 0.00 18:09:23 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 18:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:09:23 18:09:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 18:09:23 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:23 Average: lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 18:09:23 Average: ens3 109.36 67.11 1202.70 19.35 0.00 0.00 0.00 0.00 18:09:23 Average: docker0 19.40 30.28 1.63 276.07 0.00 0.00 0.00 0.00 18:09:23 18:09:23 18:09:23 ---> sar -P ALL: 18:09:23 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16252) 11/01/23 _x86_64_ (8 CPU) 18:09:23 18:09:23 17:56:45 LINUX RESTART (8 CPU) 18:09:23 18:09:23 17:57:01 CPU %user %nice %system %iowait %steal %idle 18:09:23 17:58:02 all 8.80 0.00 3.14 3.10 0.06 84.89 18:09:23 17:58:02 0 6.05 0.00 2.27 0.66 0.05 90.98 18:09:23 17:58:02 1 10.48 0.00 2.99 0.99 0.05 85.49 18:09:23 17:58:02 2 10.93 0.00 3.12 9.99 0.07 75.89 18:09:23 17:58:02 3 9.61 0.00 2.57 0.91 0.07 86.85 18:09:23 17:58:02 4 8.97 0.00 4.56 0.80 0.08 85.58 18:09:23 17:58:02 5 9.14 0.00 3.24 0.84 0.05 86.73 18:09:23 17:58:02 6 6.66 0.00 3.05 0.64 0.05 89.60 18:09:23 17:58:02 7 8.58 0.00 3.32 10.00 0.07 78.04 18:09:23 17:59:01 all 8.51 0.00 3.28 7.07 0.07 81.05 18:09:23 17:59:01 0 8.74 0.00 3.57 0.89 0.03 86.77 18:09:23 17:59:01 1 9.40 0.00 3.26 1.95 0.07 85.32 18:09:23 17:59:01 2 7.77 0.00 2.22 0.20 0.05 89.76 18:09:23 17:59:01 3 7.76 0.00 4.41 38.35 0.09 49.40 18:09:23 17:59:01 4 8.93 0.00 2.85 5.44 0.15 82.63 18:09:23 17:59:01 5 8.96 0.00 2.91 1.06 0.05 87.02 18:09:23 17:59:01 6 7.67 0.00 3.19 0.65 0.07 88.42 18:09:23 17:59:01 7 8.89 0.00 3.88 8.27 0.09 78.88 18:09:23 18:00:01 all 38.19 0.00 4.83 2.37 0.09 54.52 18:09:23 18:00:01 0 36.68 0.00 4.21 0.35 0.08 58.67 18:09:23 18:00:01 1 38.95 0.00 4.35 0.30 0.08 56.31 18:09:23 18:00:01 2 37.56 0.00 4.47 6.73 0.10 51.14 18:09:23 18:00:01 3 36.73 0.00 5.09 0.44 0.10 57.64 18:09:23 18:00:01 4 39.83 0.00 5.04 3.28 0.08 51.77 18:09:23 18:00:01 5 39.37 0.00 4.82 1.65 0.12 54.04 18:09:23 18:00:01 6 35.60 0.00 4.45 0.15 0.08 59.71 18:09:23 18:00:01 7 40.75 0.00 6.21 6.12 0.10 46.81 18:09:23 18:01:01 all 4.10 0.00 1.98 2.70 0.05 91.17 18:09:23 18:01:01 0 3.50 0.00 1.34 0.74 0.05 94.37 18:09:23 18:01:01 1 4.68 0.00 1.89 0.40 0.07 92.96 18:09:23 18:01:01 2 3.32 0.00 2.17 1.12 0.03 93.35 18:09:23 18:01:01 3 4.18 0.00 2.18 1.74 0.05 91.85 18:09:23 18:01:01 4 3.36 0.00 2.20 4.12 0.05 90.27 18:09:23 18:01:01 5 4.67 0.00 1.83 3.09 0.05 90.37 18:09:23 18:01:01 6 5.47 0.00 1.91 2.43 0.03 90.14 18:09:23 18:01:01 7 3.62 0.00 2.36 7.97 0.05 86.00 18:09:23 18:02:01 all 1.23 0.00 0.71 0.70 0.02 97.34 18:09:23 18:02:01 0 0.95 0.00 0.44 0.05 0.02 98.54 18:09:23 18:02:01 1 1.18 0.00 0.52 0.27 0.02 98.02 18:09:23 18:02:01 2 1.05 0.00 0.70 0.23 0.02 98.00 18:09:23 18:02:01 3 1.13 0.00 0.78 1.78 0.05 96.25 18:09:23 18:02:01 4 2.04 0.00 2.04 0.20 0.02 95.71 18:09:23 18:02:01 5 1.85 0.00 0.48 0.48 0.03 97.15 18:09:23 18:02:01 6 0.88 0.00 0.37 0.08 0.02 98.65 18:09:23 18:02:01 7 0.70 0.00 0.38 2.52 0.02 96.37 18:09:23 18:03:01 all 1.42 0.00 0.68 0.74 0.02 97.14 18:09:23 18:03:01 0 0.70 0.00 0.37 0.05 0.00 98.88 18:09:23 18:03:01 1 2.03 0.00 1.03 0.30 0.02 96.62 18:09:23 18:03:01 2 0.67 0.00 0.40 1.00 0.03 97.89 18:09:23 18:03:01 3 3.19 0.00 0.40 0.20 0.02 96.20 18:09:23 18:03:01 4 1.35 0.00 0.53 0.02 0.02 98.08 18:09:23 18:03:01 5 1.22 0.00 1.20 0.05 0.02 97.51 18:09:23 18:03:01 6 1.22 0.00 1.12 1.27 0.02 96.37 18:09:23 18:03:01 7 1.00 0.00 0.40 3.00 0.03 95.56 18:09:23 18:04:01 all 0.08 0.00 0.06 0.04 0.01 99.82 18:09:23 18:04:01 0 0.07 0.00 0.07 0.12 0.02 99.73 18:09:23 18:04:01 1 0.05 0.00 0.07 0.00 0.00 99.88 18:09:23 18:04:01 2 0.07 0.00 0.05 0.03 0.02 99.83 18:09:23 18:04:01 3 0.03 0.00 0.02 0.00 0.00 99.95 18:09:23 18:04:01 4 0.22 0.00 0.12 0.05 0.02 99.60 18:09:23 18:04:01 5 0.03 0.00 0.05 0.00 0.02 99.90 18:09:23 18:04:01 6 0.05 0.00 0.07 0.00 0.00 99.88 18:09:23 18:04:01 7 0.08 0.00 0.02 0.08 0.00 99.82 18:09:23 18:05:01 all 0.03 0.00 0.01 0.06 0.01 99.89 18:09:23 18:05:01 0 0.03 0.00 0.02 0.03 0.00 99.92 18:09:23 18:05:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:09:23 18:05:01 2 0.03 0.00 0.02 0.12 0.03 99.80 18:09:23 18:05:01 3 0.00 0.00 0.02 0.00 0.02 99.97 18:09:23 18:05:01 4 0.03 0.00 0.00 0.32 0.00 99.65 18:09:23 18:05:01 5 0.05 0.00 0.00 0.00 0.00 99.95 18:09:23 18:05:01 6 0.07 0.00 0.02 0.00 0.02 99.90 18:09:23 18:05:01 7 0.03 0.00 0.02 0.00 0.00 99.95 18:09:23 18:06:01 all 0.11 0.00 0.01 0.00 0.01 99.87 18:09:23 18:06:01 0 0.80 0.00 0.02 0.00 0.02 99.17 18:09:23 18:06:01 1 0.02 0.00 0.02 0.00 0.02 99.95 18:09:23 18:06:01 2 0.03 0.00 0.02 0.00 0.02 99.93 18:09:23 18:06:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:09:23 18:06:01 4 0.00 0.00 0.00 0.00 0.02 99.98 18:09:23 18:06:01 5 0.00 0.00 0.02 0.00 0.00 99.98 18:09:23 18:06:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:09:23 18:06:01 7 0.02 0.00 0.03 0.00 0.00 99.95 18:09:23 18:07:01 all 0.03 0.00 0.01 0.06 0.00 99.90 18:09:23 18:07:01 0 0.00 0.00 0.00 0.15 0.00 99.85 18:09:23 18:07:01 1 0.05 0.00 0.03 0.00 0.00 99.92 18:09:23 18:07:01 2 0.07 0.00 0.02 0.35 0.02 99.55 18:09:23 18:07:01 3 0.00 0.00 0.02 0.00 0.00 99.98 18:09:23 18:07:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:09:23 18:07:01 5 0.03 0.00 0.02 0.02 0.00 99.93 18:09:23 18:07:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:09:23 18:07:01 7 0.02 0.00 0.00 0.00 0.00 99.98 18:09:23 18:08:01 all 0.05 0.00 0.00 0.00 0.01 99.93 18:09:23 18:08:01 0 0.00 0.00 0.00 0.02 0.02 99.97 18:09:23 18:08:01 1 0.33 0.00 0.00 0.00 0.00 99.67 18:09:23 18:08:01 2 0.03 0.00 0.02 0.02 0.03 99.90 18:09:23 18:08:01 3 0.00 0.00 0.02 0.00 0.02 99.97 18:09:23 18:08:01 4 0.00 0.00 0.00 0.00 0.00 100.00 18:09:23 18:08:01 5 0.03 0.00 0.00 0.00 0.02 99.95 18:09:23 18:08:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:09:23 18:08:01 7 0.02 0.00 0.00 0.00 0.00 99.98 18:09:23 18:09:23 18:08:01 CPU %user %nice %system %iowait %steal %idle 18:09:23 18:09:01 all 0.10 0.00 0.02 0.00 0.00 99.87 18:09:23 18:09:01 0 0.62 0.00 0.00 0.02 0.00 99.37 18:09:23 18:09:01 1 0.02 0.00 0.03 0.00 0.00 99.95 18:09:23 18:09:01 2 0.05 0.00 0.02 0.02 0.02 99.90 18:09:23 18:09:01 3 0.05 0.00 0.03 0.00 0.00 99.92 18:09:23 18:09:01 4 0.00 0.00 0.02 0.00 0.02 99.97 18:09:23 18:09:01 5 0.03 0.00 0.00 0.00 0.00 99.97 18:09:23 18:09:01 6 0.02 0.00 0.03 0.00 0.00 99.95 18:09:23 18:09:01 7 0.02 0.00 0.00 0.00 0.00 99.98 18:09:23 Average: all 5.18 0.00 1.22 1.39 0.03 92.18 18:09:23 Average: 0 4.82 0.00 1.02 0.25 0.02 93.89 18:09:23 Average: 1 5.57 0.00 1.18 0.35 0.03 92.88 18:09:23 Average: 2 5.08 0.00 1.09 1.64 0.04 92.15 18:09:23 Average: 3 5.19 0.00 1.28 3.53 0.03 89.97 18:09:23 Average: 4 5.35 0.00 1.44 1.17 0.04 92.01 18:09:23 Average: 5 5.42 0.00 1.21 0.60 0.03 92.75 18:09:23 Average: 6 4.76 0.00 1.17 0.43 0.02 93.61 18:09:23 Average: 7 5.26 0.00 1.37 3.14 0.03 90.20 18:09:23 18:09:23 18:09:23