Pull request #333 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6cf99f982f25d3231244b9f361a460cefdf4c8aa+ccce436d0ac5c3ef3c815fb520729a26368c4d34 (72783f9ee8a2a9b8b493d5c8a906916305bcdc8a) 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-ssh14050878739506202459.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7749145561525120152.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-333/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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6734903702518392444.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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9759012844789743158.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2107724989084935391.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-333/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-333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14323969341751396608.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4378 in /w/workspace/foundry_device-usb-camera_PR-333 [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-333 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ccce436d0ac5c3ef3c815fb520729a26368c4d34 into PR head commit 6cf99f982f25d3231244b9f361a460cefdf4c8aa Merge succeeded, producing 6cf99f982f25d3231244b9f361a460cefdf4c8aa Checking out Revision 6cf99f982f25d3231244b9f361a460cefdf4c8aa (PR-333) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 6cf99f982f25d3231244b9f361a460cefdf4c8aa # 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 ccce436d0ac5c3ef3c815fb520729a26368c4d34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cf99f982f25d3231244b9f361a460cefdf4c8aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:54:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:54:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:54:17 ========================================================= 17:54:17 EdgeX Global Pipelines Version Info 17:54:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:54:18 ------------------- 17:54:18 stable info: 17:54:18 ------------------- 17:54:18 Commited By: Ginny Guan ginny@iotechsys.com 17:54:18 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 17:54:18 Message: update stable to v1.0.260 17:54:19 ------------------- 17:54:19 experimental info: 17:54:19 ------------------- 17:54:19 Commited By: Ginny Guan ginny@iotechsys.com 17:54:19 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 17:54:19 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:54:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:54:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo 17:54:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo 17:54:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo 17:54:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cf99f982f25d3231244b9f361a460cefdf4c8aa [Pipeline] echo 17:54:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cf99f9 [Pipeline] echo 17:54:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:21 provisioning config files... 17:54:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-333@tmp/config5774960669100006784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:22 ---> ****-login.sh 17:54:22 nexus3.edgexfoundry.org:10001 17:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:22 Configure a credential helper to remove this warning. See 17:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:22 17:54:22 Login Succeeded 17:54:22 nexus3.edgexfoundry.org:10002 17:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:22 Configure a credential helper to remove this warning. See 17:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:22 17:54:22 Login Succeeded 17:54:22 nexus3.edgexfoundry.org:10003 17:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:22 Configure a credential helper to remove this warning. See 17:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:22 17:54:22 Login Succeeded 17:54:22 nexus3.edgexfoundry.org:10004 17:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:22 Configure a credential helper to remove this warning. See 17:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:22 17:54:22 Login Succeeded 17:54:22 ****.io 17:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:23 Configure a credential helper to remove this warning. See 17:54:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:23 17:54:23 Login Succeeded 17:54:23 ---> ****-login.sh ends [Pipeline] } 17:54:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:54:23 + git rev-list -1 --merges 6cf99f982f25d3231244b9f361a460cefdf4c8aa~1..6cf99f982f25d3231244b9f361a460cefdf4c8aa [Pipeline] echo 17:54:23 -----------> git rev-list -1 --merges 6cf99f982f25d3231244b9f361a460cefdf4c8aa~1..6cf99f982f25d3231244b9f361a460cefdf4c8aa 6cf99f982f25d3231244b9f361a460cefdf4c8aa [false] [Pipeline] sh 17:54:24 + git log --format=format:%s -1 6cf99f982f25d3231244b9f361a460cefdf4c8aa [Pipeline] echo 17:54:24 ========================================================= 17:54:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:54:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:24 + git log --format=format:%s -1 6cf99f982f25d3231244b9f361a460cefdf4c8aa [Pipeline] echo 17:54:24 [semverPrep] GIT_COMMIT: 6cf99f982f25d3231244b9f361a460cefdf4c8aa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:54:24 [semverPrep] This is not a build commit. [Pipeline] sh 17:54:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:54:25 + grep -v github /etc/ssh/ssh_known_hosts 17:54:25 + [ -e /tmp/ssh_known_hosts ] 17:54:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:54:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:54:25 + sudo tee -a /etc/ssh/ssh_known_hosts 17:54:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:25 17:54:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:26 0.1.4: Pulling from edgex-devops/py-git-semver 17:54:26 b85a868b505f: Pulling fs layer 17:54:26 e2be974225ed: Pulling fs layer 17:54:26 339a4e72a1f5: Pulling fs layer 17:54:26 988bab9f4d93: Pulling fs layer 17:54:26 1469e6f7b9e6: Pulling fs layer 17:54:26 eaf3925da568: Pulling fs layer 17:54:26 bab4dde63d76: Pulling fs layer 17:54:26 bde34c3a00c8: Pulling fs layer 17:54:26 b352a97aabf1: Pulling fs layer 17:54:26 4872d77fe225: Pulling fs layer 17:54:26 5851b861e8e6: Pulling fs layer 17:54:26 988bab9f4d93: Waiting 17:54:26 bde34c3a00c8: Waiting 17:54:26 1469e6f7b9e6: Waiting 17:54:26 eaf3925da568: Waiting 17:54:26 bab4dde63d76: Waiting 17:54:26 b352a97aabf1: Waiting 17:54:26 5851b861e8e6: Waiting 17:54:26 4872d77fe225: Waiting 17:54:26 e2be974225ed: Download complete 17:54:26 988bab9f4d93: Verifying Checksum 17:54:26 988bab9f4d93: Download complete 17:54:26 339a4e72a1f5: Verifying Checksum 17:54:26 339a4e72a1f5: Download complete 17:54:26 1469e6f7b9e6: Verifying Checksum 17:54:26 1469e6f7b9e6: Download complete 17:54:26 eaf3925da568: Download complete 17:54:26 bde34c3a00c8: Download complete 17:54:26 b352a97aabf1: Download complete 17:54:26 4872d77fe225: Download complete 17:54:26 5851b861e8e6: Verifying Checksum 17:54:26 b85a868b505f: Verifying Checksum 17:54:26 b85a868b505f: Download complete 17:54:26 bab4dde63d76: Verifying Checksum 17:54:26 bab4dde63d76: Download complete 17:54:27 b85a868b505f: Pull complete 17:54:27 e2be974225ed: Pull complete 17:54:28 339a4e72a1f5: Pull complete 17:54:28 988bab9f4d93: Pull complete 17:54:28 1469e6f7b9e6: Pull complete 17:54:28 eaf3925da568: Pull complete 17:54:30 bab4dde63d76: Pull complete 17:54:30 bde34c3a00c8: Pull complete 17:54:30 b352a97aabf1: Pull complete 17:54:30 4872d77fe225: Pull complete 17:54:30 5851b861e8e6: Pull complete 17:54:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:54:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:31 prd-ubuntu20.04-docker-8c-8g-4378 does not seem to be running inside a container 17:54:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-333 -v /w/workspace/foundry_device-usb-camera_PR-333:/w/workspace/foundry_device-usb-camera_PR-333:rw,z -v /w/workspace/foundry_device-usb-camera_PR-333@tmp:/w/workspace/foundry_device-usb-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:54:34 $ docker top b408486997c15c215c8b301c03bd97949da50989ba9e2647bac8114df716c7ab -eo pid,comm 17:54:34 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:54:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:54:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:54:35 [ssh-agent] Looking for ssh-agent implementation... 17:54:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:54:35 $ docker exec b408486997c15c215c8b301c03bd97949da50989ba9e2647bac8114df716c7ab ssh-agent 17:54:35 SSH_AUTH_SOCK=/tmp/ssh-ArOD6CC9yigJ/agent.32 17:54:35 SSH_AGENT_PID=38 17:54:35 Running ssh-add (command line suppressed) 17:54:35 Identity added: /w/workspace/foundry_device-usb-camera_PR-333@tmp/private_key_17287709629622380495.key (/w/workspace/foundry_device-usb-camera_PR-333@tmp/private_key_17287709629622380495.key) 17:54:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:54:35 + git tag --points-at HEAD [Pipeline] } 17:54:35 $ docker exec --env ******** --env ******** b408486997c15c215c8b301c03bd97949da50989ba9e2647bac8114df716c7ab ssh-agent -k 17:54:35 unset SSH_AUTH_SOCK; 17:54:35 unset SSH_AGENT_PID; 17:54:35 echo Agent pid 38 killed; 17:54:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:54:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:54:36 [ssh-agent] Looking for ssh-agent implementation... 17:54:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:54:36 $ docker exec b408486997c15c215c8b301c03bd97949da50989ba9e2647bac8114df716c7ab ssh-agent 17:54:36 SSH_AUTH_SOCK=/tmp/ssh-MBx0L5Qy4QWG/agent.72 17:54:36 SSH_AGENT_PID=78 17:54:36 Running ssh-add (command line suppressed) 17:54:36 Identity added: /w/workspace/foundry_device-usb-camera_PR-333@tmp/private_key_17685423826939139113.key (/w/workspace/foundry_device-usb-camera_PR-333@tmp/private_key_17685423826939139113.key) 17:54:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:54:36 + git semver init 17:54:37 2024-06-25 17:54:37,008 [run_init] DEBUG init version:0.0.0 force:False 17:54:37 2024-06-25 17:54:37,010 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-333/.semver 17:54:37 2024-06-25 17:54:37,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-333/.semver 17:54:37 2024-06-25 17:54:37,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-333/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-333, universal_newlines=False, shell=None, istream=None) 17:54:38 2024-06-25 17:54:38,208 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-333/.git/info/exclude 17:54:38 2024-06-25 17:54:38,209 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-333/.semver/PR-333 with force:False 17:54:38 2024-06-25 17:54:38,209 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-333/.semver/PR-333 17:54:38 2024-06-25 17:54:38,214 [execute] INFO git cat-file --batch-check 17:54:38 2024-06-25 17:54:38,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) 17:54:38 2024-06-25 17:54:38,220 [execute] INFO git cat-file --batch 17:54:38 2024-06-25 17:54:38,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) 17:54:38 2024-06-25 17:54:38,227 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-333/.semver/PR-333 17:54:38 0.0.0 [Pipeline] } 17:54:38 $ docker exec --env ******** --env ******** b408486997c15c215c8b301c03bd97949da50989ba9e2647bac8114df716c7ab ssh-agent -k 17:54:38 unset SSH_AUTH_SOCK; 17:54:38 unset SSH_AGENT_PID; 17:54:38 echo Agent pid 78 killed; 17:54:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:54:39 + git semver [Pipeline] } 17:54:39 $ docker stop --time=1 b408486997c15c215c8b301c03bd97949da50989ba9e2647bac8114df716c7ab 17:54:40 $ docker rm -f --volumes b408486997c15c215c8b301c03bd97949da50989ba9e2647bac8114df716c7ab [Pipeline] // withDockerContainer [Pipeline] sh 17:54:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:54:41 Stashed 1 file(s) [Pipeline] echo 17:54:41 [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:54:42 provisioning config files... 17:54:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-333@tmp/config7575200685615467624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:42 ---> ****-login.sh 17:54:42 nexus3.edgexfoundry.org:10001 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 nexus3.edgexfoundry.org:10002 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 nexus3.edgexfoundry.org:10003 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 nexus3.edgexfoundry.org:10004 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 ****.io 17:54:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:43 Configure a credential helper to remove this warning. See 17:54:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:43 17:54:43 Login Succeeded 17:54:43 ---> ****-login.sh ends [Pipeline] } 17:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:54:43 ========================================================= 17:54:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:54:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + 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:54:43 Sending build context to Docker daemon 17.94MB 17:54:43 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:54:43 Step 2/13 : FROM ${BASE} AS builder 17:54:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:54:43 619be1103602: Pulling fs layer 17:54:43 7862e08f4a3e: Pulling fs layer 17:54:43 5df492c9dc93: Pulling fs layer 17:54:43 7629e6793208: Pulling fs layer 17:54:43 4f4fb700ef54: Pulling fs layer 17:54:43 fb5054dd5b73: Pulling fs layer 17:54:43 eeca6798cff9: Pulling fs layer 17:54:43 aa269ceb94a6: Pulling fs layer 17:54:43 ada007ff1a6a: Pulling fs layer 17:54:43 4f4fb700ef54: Waiting 17:54:43 fb5054dd5b73: Waiting 17:54:43 eeca6798cff9: Waiting 17:54:43 aa269ceb94a6: Waiting 17:54:43 ada007ff1a6a: Waiting 17:54:43 7862e08f4a3e: Verifying Checksum 17:54:43 7862e08f4a3e: Download complete 17:54:44 7629e6793208: Verifying Checksum 17:54:44 7629e6793208: Download complete 17:54:44 4f4fb700ef54: Verifying Checksum 17:54:44 4f4fb700ef54: Download complete 17:54:44 fb5054dd5b73: Verifying Checksum 17:54:44 fb5054dd5b73: Download complete 17:54:44 619be1103602: Verifying Checksum 17:54:44 619be1103602: Download complete 17:54:44 eeca6798cff9: Verifying Checksum 17:54:44 eeca6798cff9: Download complete 17:54:44 619be1103602: Pull complete 17:54:44 ada007ff1a6a: Verifying Checksum 17:54:44 ada007ff1a6a: Download complete 17:54:44 7862e08f4a3e: Pull complete 17:54:44 5df492c9dc93: Verifying Checksum 17:54:44 5df492c9dc93: Download complete 17:54:45 aa269ceb94a6: Verifying Checksum 17:54:45 aa269ceb94a6: Download complete 17:54:47 5df492c9dc93: Pull complete 17:54:47 7629e6793208: Pull complete 17:54:47 4f4fb700ef54: Pull complete 17:54:47 fb5054dd5b73: Pull complete 17:54:47 eeca6798cff9: Pull complete 17:54:50 aa269ceb94a6: Pull complete 17:54:50 ada007ff1a6a: Pull complete 17:54:50 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:54:50 ---> f489d0715acc 17:54:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:54:55 ---> Running in 0ec7bf064f11 17:54:55 Removing intermediate container 0ec7bf064f11 17:54:55 ---> ebe7b81afc75 17:54:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:55 ---> Running in da4c0e6773b7 17:54:55 Removing intermediate container da4c0e6773b7 17:54:55 ---> 6411768f06ef 17:54:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:54:55 ---> Running in 31acb251fd99 17:54:55 Removing intermediate container 31acb251fd99 17:54:55 ---> 1736602edb67 17:54:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:54:55 ---> Running in 1578a2792119 17:54:55 Removing intermediate container 1578a2792119 17:54:55 ---> 0676ca79b1a8 17:54:55 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:55 ---> Running in 3754615e1452 17:54:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:54:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:54:56 (1/13) Installing libintl (0.21.1-r7) 17:54:56 (2/13) Installing eudev-libs (3.2.11-r8) 17:54:56 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:54:56 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:54:56 (5/13) Installing v4l-utils (1.24.1-r0) 17:54:56 (6/13) Installing libdvbv5 (1.24.1-r0) 17:54:56 (7/13) Installing udev-init-scripts (35-r1) 17:54:56 (8/13) Installing libblkid (2.38.1-r8) 17:54:56 (9/13) Installing xz-libs (5.4.3-r0) 17:54:56 (10/13) Installing kmod-libs (30-r3) 17:54:56 (11/13) Installing eudev (3.2.11-r8) 17:54:56 Still waiting to schedule task 17:54:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:54:57 (12/13) Installing eudev-dev (3.2.11-r8) 17:54:57 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:54:57 Executing busybox-1.36.1-r5.trigger 17:54:57 Executing eudev-3.2.11-r8.trigger 17:54:57 OK: 271 MiB in 65 packages 17:54:57 Removing intermediate container 3754615e1452 17:54:57 ---> fdc331bac5c3 17:54:57 Step 8/13 : WORKDIR /device-usb-camera 17:54:57 ---> Running in 8e91dd36874d 17:54:58 Removing intermediate container 8e91dd36874d 17:54:58 ---> 25031705a277 17:54:58 Step 9/13 : COPY go.mod vendor* ./ 17:54:58 ---> fb5bc687a85a 17:54:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:58 ---> Running in 289aa9922719 17:55:54 Removing intermediate container 289aa9922719 17:55:54 ---> 0ebcbbd11289 17:55:54 Step 11/13 : COPY . . 17:55:54 ---> 2d2033644abc 17:55:54 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:55:54 ---> Running in 84233daff7de 17:55:54  % Total % Received % Xferd Average Speed Time Time Time Current 17:55:54 Dload Upload Total Spent Left Speed 17:55:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062   0 0  7197    0 --:--:-- --:--:-- --:--:--  7224 17:55:54 Removing intermediate container 84233daff7de 17:55:54 ---> cceb513bc5bf 17:55:54 Step 13/13 : RUN ${MAKE} 17:55:54 ---> Running in 7cd20e488b46 17:55:54 noop 17:55:54 Removing intermediate container 7cd20e488b46 17:55:54 ---> 77ce1a8c967f 17:55:54 Successfully built 77ce1a8c967f 17:55:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:54 + docker inspect -f . ci-base-image-x86_64 17:55:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:54 prd-ubuntu20.04-docker-8c-8g-4378 does not seem to be running inside a container 17:55:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-333 -v /w/workspace/foundry_device-usb-camera_PR-333:/w/workspace/foundry_device-usb-camera_PR-333:rw,z -v /w/workspace/foundry_device-usb-camera_PR-333@tmp:/w/workspace/foundry_device-usb-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:55:55 $ docker top dedad2883d7402a2b378a09bde858fcbd4c77a53230f7dee49b08795b8afa190 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:55 + go version 17:55:55 go version go1.21.9 linux/amd64 [Pipeline] } 17:55:55 $ docker stop --time=1 dedad2883d7402a2b378a09bde858fcbd4c77a53230f7dee49b08795b8afa190 17:55:57 $ docker rm -f --volumes dedad2883d7402a2b378a09bde858fcbd4c77a53230f7dee49b08795b8afa190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:57 + docker inspect -f . ci-base-image-x86_64 17:55:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:58 prd-ubuntu20.04-docker-8c-8g-4378 does not seem to be running inside a container 17:55:58 $ 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-333 -v /w/workspace/foundry_device-usb-camera_PR-333:/w/workspace/foundry_device-usb-camera_PR-333:rw,z -v /w/workspace/foundry_device-usb-camera_PR-333@tmp:/w/workspace/foundry_device-usb-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:55:58 $ docker top 9cb1d44508fd6a6c8b33e1bb78b001da8b316a0ee2d13354f5da8bf7baa576c7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:58 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-333 [Pipeline] fileExists [Pipeline] sh 17:55:59 + make test 17:55:59 go test ./... -coverprofile=coverage.out ./... 17:56:00 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:56:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:56:18 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 4.4% of statements 17:56:28 go vet ./... 17:56:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4379 in /w/workspace/foundry_device-usb-camera_PR-333 [Pipeline] { [Pipeline] ws 17:56:31 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:56:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:56:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:56:33 ./bin/test-attribution-txt.sh 17:56:33 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:56:33 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:56:33 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:56:33 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:56:33 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:56:33 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:56:33 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:56:33 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:56:33 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:56:33 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 17:56:34 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add 17:56:34 Selected Git installation does not exist. Using Default 17:56:34 The recommended git tool is: NONE [Pipeline] echo 17:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:56:34 $ docker stop --time=1 9cb1d44508fd6a6c8b33e1bb78b001da8b316a0ee2d13354f5da8bf7baa576c7 17:56:39 $ docker rm -f --volumes 9cb1d44508fd6a6c8b33e1bb78b001da8b316a0ee2d13354f5da8bf7baa576c7 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:56:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:56:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:56:41 + ls -al . 17:56:41 total 292 17:56:41 drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 17:55 . 17:56:41 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 17:54 .. 17:56:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 17:56 .git 17:56:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 17:54 .github 17:56:41 -rw-rw-r-- 1 jenkins jenkins 429 Jun 25 17:54 .gitignore 17:56:41 -rw-rw-r-- 1 jenkins jenkins 45 Jun 25 17:54 .golangci.yml 17:56:41 -rw-rw-r-- 1 jenkins jenkins 77 Jun 25 17:54 .hadolint.yml 17:56:41 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 17:54 .semver 17:56:41 -rw-rw-r-- 1 jenkins jenkins 10851 Jun 25 17:54 Attribution.txt 17:56:41 -rw-rw-r-- 1 jenkins jenkins 16561 Jun 25 17:54 CHANGELOG.md 17:56:41 -rw-rw-r-- 1 jenkins jenkins 2562 Jun 25 17:54 Dockerfile 17:56:41 -rw-rw-r-- 1 jenkins jenkins 678 Jun 25 17:54 GOVERNANCE.md 17:56:41 -rw-rw-r-- 1 jenkins jenkins 659 Jun 25 17:54 Jenkinsfile 17:56:41 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 25 17:54 LICENSE 17:56:41 -rw-rw-r-- 1 jenkins jenkins 2611 Jun 25 17:54 Makefile 17:56:41 -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 17:54 OWNERS.md 17:56:41 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 25 17:54 README.md 17:56:41 -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 17:54 VERSION 17:56:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 17:54 bin 17:56:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 17:54 cmd 17:56:41 -rw-r--r-- 1 jenkins jenkins 54703 Jun 25 17:56 coverage.out 17:56:41 -rwxrwxr-x 1 jenkins jenkins 84 Jun 25 17:54 docker-entrypoint.sh 17:56:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 17:54 docs 17:56:41 -rw-rw-r-- 1 jenkins jenkins 7266 Jun 25 17:54 go.mod 17:56:41 -rw-rw-r-- 1 jenkins jenkins 102297 Jun 25 17:54 go.sum 17:56:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 17:54 internal 17:56:41 -rw-rw-r-- 1 jenkins jenkins 231 Jun 25 17:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:41 + 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=6cf99f982f25d3231244b9f361a460cefdf4c8aa --label arch=amd64 --label version=0.0.0 . 17:56:41 Sending build context to Docker daemon 17.99MB 17:56:41 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:56:41 Step 2/37 : FROM ${BASE} AS builder 17:56:41 ---> 77ce1a8c967f 17:56:41 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:56:42 ---> Running in 30c8db1ee7d0 17:56:42 using credential edgex-jenkins-ssh 17:56:42 Cloning the remote Git repository 17:56:42 Removing intermediate container 30c8db1ee7d0 17:56:42 ---> 3be974307f5b 17:56:42 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:42 ---> Running in 8459f3324c6d 17:56:42 Removing intermediate container 8459f3324c6d 17:56:42 ---> 84ebbcd0197a 17:56:42 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:56:42 ---> Running in 10db65708ad4 17:56:42 Removing intermediate container 10db65708ad4 17:56:42 ---> f95a554b9e86 17:56:42 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:56:42 ---> Running in b3be2d95d040 17:56:42 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:56:42 Removing intermediate container b3be2d95d040 17:56:42 ---> a47fe08e7ced 17:56:42 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:56:42 ---> Running in 5513f5d2571b 17:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:56:43 OK: 271 MiB in 65 packages 17:56:43 Removing intermediate container 5513f5d2571b 17:56:43 ---> 2e0e4ce4033f 17:56:43 Step 8/37 : WORKDIR /device-usb-camera 17:56:43 ---> Running in 00c7f1bec783 17:56:43 Removing intermediate container 00c7f1bec783 17:56:43 ---> 6790ff29b910 17:56:43 Step 9/37 : COPY go.mod vendor* ./ 17:56:42 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:56:42 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:56:42 > git --version # timeout=10 17:56:42 > git --version # 'git version 2.25.1' 17:56:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:43 ---> 75f538148e4e 17:56:43 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:43 ---> Running in ecb7f9f1207f 17:56:44 Removing intermediate container ecb7f9f1207f 17:56:44 ---> b970b4e9692f 17:56:44 Step 11/37 : COPY . . 17:56:45 ---> a80c12971511 17:56:45 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:56:45 ---> Running in 0886ea494cd1 17:56:45  % Total % Received % Xferd Average Speed Time Time Time Current 17:56:45 Dload Upload Total Spent Left Speed 17:56:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 33764 0 --:--:-- --:--:-- --:--:-- 34258 17:56:45 Removing intermediate container 0886ea494cd1 17:56:45 ---> 8d5ba14eb6d7 17:56:45 Step 13/37 : RUN ${MAKE} 17:56:45 ---> Running in 68d2c14621c3 17:56:46 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:56:45 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:56:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:56:46 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:56:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:56:47 Merging remotes/origin/main commit ccce436d0ac5c3ef3c815fb520729a26368c4d34 into PR head commit 6cf99f982f25d3231244b9f361a460cefdf4c8aa 17:56:47 Merge succeeded, producing 6cf99f982f25d3231244b9f361a460cefdf4c8aa 17:56:47 Checking out Revision 6cf99f982f25d3231244b9f361a460cefdf4c8aa (PR-333) 17:56:48 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:56:47 > git config core.sparsecheckout # timeout=10 17:56:47 > git checkout -f 6cf99f982f25d3231244b9f361a460cefdf4c8aa # timeout=10 17:56:47 > git remote # timeout=10 17:56:47 > git config --get remote.origin.url # timeout=10 17:56:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:47 > git merge ccce436d0ac5c3ef3c815fb520729a26368c4d34 # timeout=10 17:56:47 > git rev-parse HEAD^{commit} # timeout=10 17:56:47 > git config core.sparsecheckout # timeout=10 17:56:47 > git checkout -f 6cf99f982f25d3231244b9f361a460cefdf4c8aa # timeout=10 17:56:48 > git --version # timeout=10 17:56:48 > git --version # 'git version 2.25.1' 17:56:48 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:56:53 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:53 Dload Upload Total Spent Left Speed 17:56:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 80679 0 --:--:-- --:--:-- --:--:-- 80679 [Pipeline] sh 17:56:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:56:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 17:56:54 sudo tee /etc/docker/daemon.new 17:56:54 { 17:56:54 "registry-mirrors": [ 17:56:54 "https://nexus3.edgexfoundry.org:10001" 17:56:54 ], 17:56:54 "bip": "10.250.0.254/24", 17:56:54 "hosts": [ 17:56:54 "tcp://0.0.0.0:5555", 17:56:54 "unix:///var/run/docker.sock" 17:56:54 ], 17:56:54 "mtu": 1458, 17:56:54 "selinux-enabled": true, 17:56:54 "seccomp-profile": "/etc/docker/seccomp.json" 17:56:54 } [Pipeline] sh 17:56:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:56:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:13 provisioning config files... 17:57:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8911426722924725787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:13 ---> ****-login.sh 17:57:13 nexus3.edgexfoundry.org:10001 17:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:14 Configure a credential helper to remove this warning. See 17:57:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:14 17:57:14 Login Succeeded 17:57:14 nexus3.edgexfoundry.org:10002 17:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:14 Configure a credential helper to remove this warning. See 17:57:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:14 17:57:14 Login Succeeded 17:57:14 nexus3.edgexfoundry.org:10003 17:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:15 Configure a credential helper to remove this warning. See 17:57:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:15 17:57:15 Login Succeeded 17:57:15 nexus3.edgexfoundry.org:10004 17:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:15 Configure a credential helper to remove this warning. See 17:57:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:15 17:57:15 Login Succeeded 17:57:15 ****.io 17:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:57:15 Configure a credential helper to remove this warning. See 17:57:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:57:15 17:57:15 Login Succeeded 17:57:15 ---> ****-login.sh ends [Pipeline] } 17:57:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:57:16 ========================================================= 17:57:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:57:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:57:17 Sending build context to Docker daemon 9.229MB 17:57:17 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:57:17 Step 2/13 : FROM ${BASE} AS builder 17:57:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:57:17 c6b39de5b339: Pulling fs layer 17:57:17 a69c41024577: Pulling fs layer 17:57:17 d6de4b400683: Pulling fs layer 17:57:17 35cb2a7552d0: Pulling fs layer 17:57:17 4f4fb700ef54: Pulling fs layer 17:57:17 464afbd9ba4c: Pulling fs layer 17:57:17 00f215d4a9da: Pulling fs layer 17:57:17 d496ad576159: Pulling fs layer 17:57:17 464afbd9ba4c: Waiting 17:57:17 00f215d4a9da: Waiting 17:57:17 d496ad576159: Waiting 17:57:17 4f4fb700ef54: Waiting 17:57:17 a69c41024577: Download complete 17:57:18 35cb2a7552d0: Verifying Checksum 17:57:18 35cb2a7552d0: Download complete 17:57:18 4f4fb700ef54: Verifying Checksum 17:57:18 4f4fb700ef54: Download complete 17:57:18 464afbd9ba4c: Download complete 17:57:18 c6b39de5b339: Verifying Checksum 17:57:18 c6b39de5b339: Download complete 17:57:18 d496ad576159: Verifying Checksum 17:57:18 d496ad576159: Download complete 17:57:18 c6b39de5b339: Pull complete 17:57:19 a69c41024577: Pull complete 17:57:19 d6de4b400683: Verifying Checksum 17:57:19 d6de4b400683: Download complete 17:57:21 00f215d4a9da: Download complete 17:57:24 Removing intermediate container 68d2c14621c3 17:57:24 ---> 5942afb9cc56 17:57:24 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:57:24 v0.21.6: Pulling from aler9/rtsp-simple-server 17:57:24 4acc49c71d14: Pulling fs layer 17:57:24 4acc49c71d14: Verifying Checksum 17:57:24 4acc49c71d14: Download complete 17:57:24 4acc49c71d14: Pull complete 17:57:24 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:57:24 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:57:24 ---> 01a2bd3e5fff 17:57:24 Step 15/37 : FROM alpine:3.18 17:57:25 3.18: Pulling from library/alpine 17:57:25 73baa7ef167e: Pulling fs layer 17:57:25 73baa7ef167e: Verifying Checksum 17:57:25 73baa7ef167e: Download complete 17:57:25 73baa7ef167e: Pull complete 17:57:25 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 17:57:25 Status: Downloaded newer image for alpine:3.18 17:57:25 ---> 8fd7cac70a4a 17:57:25 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:57:25 ---> Running in 25bf148b1843 17:57:26 Removing intermediate container 25bf148b1843 17:57:26 ---> 0d412bf15d83 17:57:26 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:57:26 ---> Running in 23a30d4d3dab 17:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:57:26 (1/107) Installing dumb-init (1.2.5-r2) 17:57:26 (2/107) Installing sdl2 (2.26.5-r0) 17:57:26 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:57:26 (4/107) Installing aom-libs (3.6.1-r0) 17:57:26 (5/107) Installing libxau (1.0.11-r2) 17:57:26 (6/107) Installing libmd (1.0.4-r2) 17:57:26 (7/107) Installing libbsd (0.11.7-r1) 17:57:26 (8/107) Installing libxdmcp (1.1.4-r2) 17:57:26 (9/107) Installing libxcb (1.15-r1) 17:57:26 (10/107) Installing libx11 (1.8.7-r0) 17:57:26 (11/107) Installing hwdata-pci (0.370-r0) 17:57:26 (12/107) Installing libpciaccess (0.17-r2) 17:57:26 (13/107) Installing libdrm (2.4.115-r4) 17:57:26 (14/107) Installing libxext (1.3.5-r2) 17:57:26 (15/107) Installing libxfixes (6.0.1-r2) 17:57:26 (16/107) Installing libffi (3.4.4-r2) 17:57:26 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:57:26 (18/107) Installing libva (2.18.0-r1) 17:57:26 (19/107) Installing libvdpau (1.5-r1) 17:57:26 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:57:27 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:57:27 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:57:27 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:57:27 (24/107) Installing libdav1d (1.2.1-r0) 17:57:27 (25/107) Installing brotli-libs (1.0.9-r14) 17:57:27 (26/107) Installing libhwy (1.0.4-r1) 17:57:27 (27/107) Installing lcms2 (2.15-r2) 17:57:27 (28/107) Installing libjxl (0.8.2-r0) 17:57:27 (29/107) Installing lame-libs (3.100-r5) 17:57:27 (30/107) Installing opus (1.4-r0) 17:57:27 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:57:27 (32/107) Installing soxr (0.1.3-r5) 17:57:27 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:57:27 (34/107) Installing libogg (1.3.5-r4) 17:57:27 (35/107) Installing libtheora (1.1.1-r17) 17:57:27 (36/107) Installing libvorbis (1.3.7-r1) 17:57:27 (37/107) Installing libvpx (1.13.0-r2) 17:57:27 (38/107) Installing libwebp (1.3.2-r0) 17:57:27 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:57:27 (40/107) Installing numactl (2.0.16-r4) 17:57:27 (41/107) Installing x265-libs (3.5-r4) 17:57:27 (42/107) Installing xvidcore (1.3.7-r1) 17:57:27 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:57:27 (44/107) Installing alsa-lib (1.2.9-r1) 17:57:27 (45/107) Installing libexpat (2.6.2-r0) 17:57:27 (46/107) Installing libbz2 (1.0.8-r5) 17:57:27 (47/107) Installing libpng (1.6.39-r3) 17:57:27 (48/107) Installing freetype (2.13.0-r5) 17:57:27 (49/107) Installing fontconfig (2.14.2-r3) 17:57:27 (50/107) Installing fribidi (1.0.13-r0) 17:57:27 (51/107) Installing libintl (0.21.1-r7) 17:57:27 (52/107) Installing libblkid (2.38.1-r8) 17:57:27 (53/107) Installing libmount (2.38.1-r8) 17:57:27 (54/107) Installing pcre2 (10.42-r1) 17:57:27 (55/107) Installing glib (2.76.6-r0) 17:57:27 (56/107) Installing graphite2 (1.3.14-r5) 17:57:27 (57/107) Installing harfbuzz (7.3.0-r0) 17:57:27 (58/107) Installing libunibreak (5.1-r0) 17:57:27 (59/107) Installing libass (0.17.1-r0) 17:57:27 (60/107) Installing libbluray (1.3.4-r0) 17:57:27 (61/107) Installing gmp (6.2.1-r3) 17:57:27 (62/107) Installing nettle (3.8.1-r2) 17:57:27 (63/107) Installing libunistring (1.1-r1) 17:57:27 (64/107) Installing libidn2 (2.3.4-r1) 17:57:27 (65/107) Installing p11-kit (0.24.1-r2) 17:57:27 (66/107) Installing libtasn1 (4.19.0-r1) 17:57:27 (67/107) Installing gnutls (3.8.4-r0) 17:57:27 (68/107) Installing mpg123-libs (1.31.3-r1) 17:57:27 (69/107) Installing libopenmpt (0.7.2-r0) 17:57:27 (70/107) Installing cjson (1.7.17-r0) 17:57:27 (71/107) Installing mbedtls (2.28.8-r0) 17:57:27 (72/107) Installing librist (0.2.7-r0) 17:57:27 (73/107) Installing libsrt (1.5.2-r0) 17:57:27 (74/107) Installing libssh (0.10.5-r0) 17:57:27 (75/107) Installing xz-libs (5.4.3-r0) 17:57:27 (76/107) Installing libxml2 (2.11.8-r0) 17:57:27 (77/107) Installing libsodium (1.0.18-r3) 17:57:27 (78/107) Installing libzmq (4.3.4-r4) 17:57:27 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:57:27 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:57:27 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:57:27 (82/107) Installing shaderc (2023.3-r1) 17:57:27 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:57:27 (84/107) Installing libplacebo (5.264.1-r1) 17:57:27 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:57:27 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:57:27 (87/107) Installing vidstab (1.1.1-r0) 17:57:27 (88/107) Installing zimg (3.0.5-r0) 17:57:27 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:57:27 (90/107) Installing libasyncns (0.8-r1) 17:57:27 (91/107) Installing dbus-libs (1.14.8-r0) 17:57:27 (92/107) Installing libltdl (2.4.7-r2) 17:57:27 (93/107) Installing orc (0.4.34-r0) 17:57:27 (94/107) Installing flac-libs (1.4.3-r0) 17:57:27 (95/107) Installing libsndfile (1.2.0-r2) 17:57:28 (96/107) Installing speexdsp (1.2.1-r1) 17:57:28 (97/107) Installing tdb-libs (1.4.8-r1) 17:57:28 (98/107) Installing libpulse (16.1-r10) 17:57:28 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:57:28 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:57:28 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:57:28 (102/107) Installing ffmpeg (6.0.1-r0) 17:57:28 (103/107) Installing udev-init-scripts (35-r1) 17:57:28 (104/107) Installing eudev-libs (3.2.11-r8) 17:57:28 (105/107) Installing zstd-libs (1.5.5-r4) 17:57:28 (106/107) Installing kmod-libs (30-r3) 17:57:28 (107/107) Installing eudev (3.2.11-r8) 17:57:28 Executing busybox-1.36.1-r7.trigger 17:57:28 Executing glib-2.76.6-r0.trigger 17:57:28 Executing eudev-3.2.11-r8.trigger 17:57:28 OK: 131 MiB in 122 packages 17:57:32 Removing intermediate container 23a30d4d3dab 17:57:32 ---> 7f35cc15c6e8 17:57:32 Step 18/37 : RUN apk --no-cache upgrade 17:57:32 ---> Running in 24b5b0cfa7ae 17:57:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:57:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:57:32 OK: 131 MiB in 122 packages 17:57:32 Removing intermediate container 24b5b0cfa7ae 17:57:32 ---> f5ce5afa791d 17:57:32 Step 19/37 : WORKDIR / 17:57:32 ---> Running in 36d2dec95524 17:57:32 Removing intermediate container 36d2dec95524 17:57:32 ---> 1279b2a1936f 17:57:32 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:57:33 d6de4b400683: Pull complete 17:57:33 35cb2a7552d0: Pull complete 17:57:33 4f4fb700ef54: Pull complete 17:57:33 464afbd9ba4c: Pull complete 17:57:34 ---> 1511ec6eaa46 17:57:34 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:57:34 ---> 97b0718d3f75 17:57:34 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:57:34 ---> 34b4886ac4a7 17:57:34 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:57:34 ---> 62c7c58a53d3 17:57:34 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:57:34 ---> cd894ab18a79 17:57:34 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 17:57:34 ---> 7ff08f3861e4 17:57:34 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 17:57:36 ---> 8e1c5420d65b 17:57:36 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:57:36 ---> Running in 57a7f5b06953 17:57:36 Removing intermediate container 57a7f5b06953 17:57:36 ---> 3f5f6a2e77b2 17:57:36 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:57:36 ---> Running in 12c5f0675fcb 17:57:37 Removing intermediate container 12c5f0675fcb 17:57:37 ---> 7ac1ba159701 17:57:37 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:57:37 ---> Running in b4c68fc255c9 17:57:37 Removing intermediate container b4c68fc255c9 17:57:37 ---> bd369c8abcd1 17:57:37 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:57:37 ---> Running in 2d785dd14152 17:57:38 Removing intermediate container 2d785dd14152 17:57:38 ---> c41dc3dde3d3 17:57:38 Step 31/37 : EXPOSE 59983 17:57:38 ---> Running in af7cd5acb869 17:57:38 Removing intermediate container af7cd5acb869 17:57:38 ---> 0f0345a01863 17:57:38 Step 32/37 : EXPOSE 8554 17:57:38 ---> Running in 1f4a4c9dfc99 17:57:38 Removing intermediate container 1f4a4c9dfc99 17:57:38 ---> 2ae4b23c703b 17:57:38 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:57:38 ---> Running in 4f1082a576a7 17:57:38 Removing intermediate container 4f1082a576a7 17:57:38 ---> 4cbc979192a9 17:57:38 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:57:38 ---> Running in 3b4cd527033a 17:57:38 Removing intermediate container 3b4cd527033a 17:57:38 ---> 51708c37952c 17:57:38 Step 35/37 : LABEL arch=amd64 17:57:38 ---> Running in b9ff42c487cc 17:57:38 Removing intermediate container b9ff42c487cc 17:57:38 ---> 4e5b72fdcf69 17:57:38 Step 36/37 : LABEL git_sha=6cf99f982f25d3231244b9f361a460cefdf4c8aa 17:57:38 ---> Running in 102b9c46e145 17:57:38 Removing intermediate container 102b9c46e145 17:57:38 ---> 21026a8966c6 17:57:38 Step 37/37 : LABEL version=0.0.0 17:57:38 ---> Running in a952ae89b8ee 17:57:38 Removing intermediate container a952ae89b8ee 17:57:38 ---> 29e1b67f8ddc 17:57:38 [Warning] One or more build-args [ARCH] were not consumed 17:57:38 Successfully built 29e1b67f8ddc 17:57:39 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:40 17:57:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:40 latest: Pulling from edgex-lftools-log-publisher 17:57:40 5eb5b503b376: Pulling fs layer 17:57:40 5c69ac0246d0: Pulling fs layer 17:57:40 ec43610c2a17: Pulling fs layer 17:57:40 3a2ae6a8a46f: Pulling fs layer 17:57:40 33b1e0a273af: Pulling fs layer 17:57:40 5d3b04190fa2: Pulling fs layer 17:57:40 2f39f015ded8: Pulling fs layer 17:57:40 33b1e0a273af: Waiting 17:57:40 5d3b04190fa2: Waiting 17:57:40 2f39f015ded8: Waiting 17:57:40 3a2ae6a8a46f: Waiting 17:57:40 5c69ac0246d0: Verifying Checksum 17:57:40 5c69ac0246d0: Download complete 17:57:40 33b1e0a273af: Verifying Checksum 17:57:40 33b1e0a273af: Download complete 17:57:40 ec43610c2a17: Verifying Checksum 17:57:40 ec43610c2a17: Download complete 17:57:40 5d3b04190fa2: Download complete 17:57:40 5eb5b503b376: Verifying Checksum 17:57:40 5eb5b503b376: Download complete 17:57:41 2f39f015ded8: Download complete 17:57:41 00f215d4a9da: Pull complete 17:57:41 5eb5b503b376: Pull complete 17:57:42 5c69ac0246d0: Pull complete 17:57:42 ec43610c2a17: Pull complete 17:57:42 3a2ae6a8a46f: Pull complete 17:57:42 33b1e0a273af: Pull complete 17:57:42 5d3b04190fa2: Pull complete 17:57:43 d496ad576159: Pull complete 17:57:43 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 17:57:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:57:43 ---> f246e2811388 17:57:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:57:44 ---> Running in 39953cb695e6 17:57:44 Removing intermediate container 39953cb695e6 17:57:44 ---> e2aa0a373419 17:57:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:44 ---> Running in 306e3f7d4832 17:57:45 Removing intermediate container 306e3f7d4832 17:57:45 ---> 82f59adf8bd2 17:57:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:57:45 ---> Running in 16a5dc6c3187 17:57:45 Removing intermediate container 16a5dc6c3187 17:57:45 ---> 21c48771ea48 17:57:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:57:45 ---> Running in ab3f8bc43f8b 17:57:45 Removing intermediate container ab3f8bc43f8b 17:57:45 ---> 2b077390d5fb 17:57:45 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:45 ---> Running in de9f52ab603e 17:57:46 2f39f015ded8: Pull complete 17:57:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:47 prd-ubuntu20.04-docker-8c-8g-4378 does not seem to be running inside a container 17:57:47 $ 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-333 -v /w/workspace/foundry_device-usb-camera_PR-333:/w/workspace/foundry_device-usb-camera_PR-333:rw,z -v /w/workspace/foundry_device-usb-camera_PR-333@tmp:/w/workspace/foundry_device-usb-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:57:48 (1/13) Installing libintl (0.21.1-r7) 17:57:48 (2/13) Installing eudev-libs (3.2.11-r8) 17:57:48 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:57:48 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:57:48 (5/13) Installing v4l-utils (1.24.1-r0) 17:57:48 (6/13) Installing libdvbv5 (1.24.1-r0) 17:57:48 (7/13) Installing udev-init-scripts (35-r1) 17:57:48 (8/13) Installing libblkid (2.38.1-r8) 17:57:48 (9/13) Installing xz-libs (5.4.3-r0) 17:57:48 (10/13) Installing kmod-libs (30-r3) 17:57:48 (11/13) Installing eudev (3.2.11-r8) 17:57:48 (12/13) Installing eudev-dev (3.2.11-r8) 17:57:48 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:57:48 Executing busybox-1.36.1-r5.trigger 17:57:48 Executing eudev-3.2.11-r8.trigger 17:57:48 OK: 273 MiB in 65 packages 17:57:50 Removing intermediate container de9f52ab603e 17:57:50 ---> 9311ad847ef3 17:57:50 Step 8/13 : WORKDIR /device-usb-camera 17:57:50 ---> Running in 14bc3611a953 17:57:50 Removing intermediate container 14bc3611a953 17:57:50 ---> 8406a41d6627 17:57:50 Step 9/13 : COPY go.mod vendor* ./ 17:57:52 ---> cfd247f97502 17:57:52 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:52 ---> Running in 01b99576fee9 17:57:52 $ docker top 449f2842b91829c69ea74472d223a3c0261f6421a821fff162bb12807e2cc976 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:53 ---> job-cost.sh 17:57:53 lf-activate-venv: SKIPPING 17:57:53 INFO: No Stack... 17:57:53 INFO: Retrieving Pricing Info for: v3-standard-8 17:57:54 INFO: Archiving Costs [Pipeline] sh 17:57:54 + cat /w/workspace/foundry_device-usb-camera_PR-333/archives/cost.csv 17:57:54 + cut -d, -f6 [Pipeline] lock 17:57:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] 17:57:54 Resource [jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] did not exist. Created. 17:57:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:57:55 + echo total: 0.2199999988079071 [Pipeline] stash 17:57:55 Stashed 1 file(s) [Pipeline] } 17:57:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:57:55 $ docker stop --time=1 449f2842b91829c69ea74472d223a3c0261f6421a821fff162bb12807e2cc976 17:57:56 $ docker rm -f --volumes 449f2842b91829c69ea74472d223a3c0261f6421a821fff162bb12807e2cc976 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:59:44 Removing intermediate container 01b99576fee9 17:59:44 ---> d82510793989 17:59:44 Step 11/13 : COPY . . 17:59:44 ---> 502de4d3dbf3 17:59:44 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:59:44 ---> Running in 885ccd10dfc2 17:59:44  % Total % Received % Xferd Average Speed Time Time Time  Current 17:59:44 Dload Upload Total Spent Left Speed 17:59:44 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0  0   0  0   0   0  0  0   0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7918 0 --:--:-- --:--:-- --:--:-- 7925 17:59:44 Removing intermediate container 885ccd10dfc2 17:59:44 ---> 412931b42bcb 17:59:44 Step 13/13 : RUN ${MAKE} 17:59:44 ---> Running in c2f0feaa6f81 17:59:44 noop 17:59:44 Removing intermediate container c2f0feaa6f81 17:59:44 ---> 49dd6db051ee 17:59:44 Successfully built 49dd6db051ee 17:59:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:44 + docker inspect -f . ci-base-image-arm64 17:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:44 prd-ubuntu20.04-docker-arm64-4c-16g-4379 does not seem to be running inside a container 17:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:59:46 $ docker top 14ee2ca414be4921b09bf661b78e91b82ff24daa9f15042ad4565f60a0688559 -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:47 + go version 17:59:47 go version go1.21.9 linux/arm64 [Pipeline] } 17:59:47 $ docker stop --time=1 14ee2ca414be4921b09bf661b78e91b82ff24daa9f15042ad4565f60a0688559 17:59:48 $ docker rm -f --volumes 14ee2ca414be4921b09bf661b78e91b82ff24daa9f15042ad4565f60a0688559 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:49 + docker inspect -f . ci-base-image-arm64 17:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-4379 does not seem to be running inside a container 17:59:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:59:51 $ docker top d484e71a12a2afdfaa9dc963acfeb5e1d42e69ab3348f4c45af85cdcb2fb3686 -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:52 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:59:53 + make test 17:59:53 go test ./... -coverprofile=coverage.out ./... 17:59:58 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:03:20 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:03:20 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.078s coverage: 4.4% of statements 18:03:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:03:21 go vet ./... 18:04:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:04:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:04:08 ./bin/test-attribution-txt.sh 18:04:08 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:04:08 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:04:08 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:04:08 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:04:08 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:04:08 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:04:08 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:04:08 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:04:08 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:04:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:04:08 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:04:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:04:08 $ docker stop --time=1 d484e71a12a2afdfaa9dc963acfeb5e1d42e69ab3348f4c45af85cdcb2fb3686 18:04:10 $ docker rm -f --volumes d484e71a12a2afdfaa9dc963acfeb5e1d42e69ab3348f4c45af85cdcb2fb3686 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:04:12 Warning: overwriting stash ‘coverage-report’ 18:04:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:04:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:04:13 + ls -al . 18:04:13 total 288 18:04:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 17:59 . 18:04:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 17:56 .. 18:04:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 17:56 .git 18:04:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 17:56 .github 18:04:13 -rw-rw-r-- 1 jenkins jenkins 429 Jun 25 17:56 .gitignore 18:04:13 -rw-rw-r-- 1 jenkins jenkins 45 Jun 25 17:56 .golangci.yml 18:04:13 -rw-rw-r-- 1 jenkins jenkins 77 Jun 25 17:56 .hadolint.yml 18:04:13 -rw-rw-r-- 1 jenkins jenkins 10851 Jun 25 17:56 Attribution.txt 18:04:13 -rw-rw-r-- 1 jenkins jenkins 16561 Jun 25 17:56 CHANGELOG.md 18:04:13 -rw-rw-r-- 1 jenkins jenkins 2562 Jun 25 17:56 Dockerfile 18:04:13 -rw-rw-r-- 1 jenkins jenkins 678 Jun 25 17:56 GOVERNANCE.md 18:04:13 -rw-rw-r-- 1 jenkins jenkins 659 Jun 25 17:56 Jenkinsfile 18:04:13 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 25 17:56 LICENSE 18:04:13 -rw-rw-r-- 1 jenkins jenkins 2611 Jun 25 17:56 Makefile 18:04:13 -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 17:56 OWNERS.md 18:04:13 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 25 17:56 README.md 18:04:13 -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 17:54 VERSION 18:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 17:56 bin 18:04:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 17:56 cmd 18:04:13 -rw-r--r-- 1 jenkins jenkins 54703 Jun 25 18:03 coverage.out 18:04:13 -rwxrwxr-x 1 jenkins jenkins 84 Jun 25 17:56 docker-entrypoint.sh 18:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 17:56 docs 18:04:13 -rw-rw-r-- 1 jenkins jenkins 7266 Jun 25 17:56 go.mod 18:04:13 -rw-rw-r-- 1 jenkins jenkins 102297 Jun 25 17:56 go.sum 18:04:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 17:56 internal 18:04:13 -rw-rw-r-- 1 jenkins jenkins 231 Jun 25 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:14 + 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=6cf99f982f25d3231244b9f361a460cefdf4c8aa --label arch=arm64 --label version=0.0.0 . 18:04:14 Sending build context to Docker daemon 9.284MB 18:04:14 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 18:04:14 Step 2/37 : FROM ${BASE} AS builder 18:04:14 ---> 49dd6db051ee 18:04:14 Step 3/37 : ARG ADD_BUILD_TAGS="" 18:04:14 ---> Running in 33d4ceea4ba5 18:04:15 Removing intermediate container 33d4ceea4ba5 18:04:15 ---> bcd73f914ae2 18:04:15 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:04:15 ---> Running in d295fd09c855 18:04:15 Removing intermediate container d295fd09c855 18:04:15 ---> 46c939fe3965 18:04:15 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:04:15 ---> Running in 523708e2cb46 18:04:15 Removing intermediate container 523708e2cb46 18:04:15 ---> bdd95a64e839 18:04:15 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:04:15 ---> Running in c8051a645e4f 18:04:16 Removing intermediate container c8051a645e4f 18:04:16 ---> 57a425b10b81 18:04:16 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:16 ---> Running in 23b7e5af82cd 18:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:04:18 OK: 273 MiB in 65 packages 18:04:19 Removing intermediate container 23b7e5af82cd 18:04:19 ---> 75560b3eafa8 18:04:19 Step 8/37 : WORKDIR /device-usb-camera 18:04:19 ---> Running in da404973034e 18:04:19 Removing intermediate container da404973034e 18:04:19 ---> b1d9d31fa718 18:04:19 Step 9/37 : COPY go.mod vendor* ./ 18:04:20 ---> f89222cc5802 18:04:20 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:04:20 ---> Running in 265c66cc731d 18:04:23 Removing intermediate container 265c66cc731d 18:04:23 ---> b93051acd2a7 18:04:23 Step 11/37 : COPY . . 18:04:24 ---> 38e28d8ec2eb 18:04:24 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:04:24 ---> Running in 68692a0c9056 18:04:25  % Total % Received % Xferd Average Speed Time Time  Time Current 18:04:25   Dload Upload Total Spent Left Speed 18:04:25 0 0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4942  0 --:--:-- --:--:-- --:--:-- 4962 18:04:26 Removing intermediate container 68692a0c9056 18:04:26 ---> a1e64eaf1622 18:04:26 Step 13/37 : RUN ${MAKE} 18:04:26 ---> Running in ba18594cc657 18:04:27 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:08:03 Removing intermediate container ba18594cc657 18:08:03 ---> f9713226f987 18:08:03 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:08:03 v0.21.6: Pulling from aler9/rtsp-simple-server 18:08:04 8766b47fe142: Pulling fs layer 18:08:05 8766b47fe142: Verifying Checksum 18:08:05 8766b47fe142: Download complete 18:08:05 8766b47fe142: Pull complete 18:08:05 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:08:05 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:08:05 ---> 69d40e2cb93c 18:08:05 Step 15/37 : FROM alpine:3.18 18:08:06 3.18: Pulling from library/alpine 18:08:06 5c905c7ebe2f: Pulling fs layer 18:08:06 5c905c7ebe2f: Verifying Checksum 18:08:06 5c905c7ebe2f: Download complete 18:08:07 5c905c7ebe2f: Pull complete 18:08:07 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 18:08:07 Status: Downloaded newer image for alpine:3.18 18:08:07 ---> dec292d02e07 18:08:07 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:08:07 ---> Running in 57583b633329 18:08:07 Removing intermediate container 57583b633329 18:08:07 ---> 136e7364b00a 18:08:07 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:08:07 ---> Running in e27545cf717f 18:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:08:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:08:10 (1/104) Installing dumb-init (1.2.5-r2) 18:08:10 (2/104) Installing sdl2 (2.26.5-r0) 18:08:10 (3/104) Installing svt-av1-libs (1.6.0-r0) 18:08:10 (4/104) Installing aom-libs (3.6.1-r0) 18:08:10 (5/104) Installing libxau (1.0.11-r2) 18:08:10 (6/104) Installing libmd (1.0.4-r2) 18:08:10 (7/104) Installing libbsd (0.11.7-r1) 18:08:10 (8/104) Installing libxdmcp (1.1.4-r2) 18:08:10 (9/104) Installing libxcb (1.15-r1) 18:08:10 (10/104) Installing libx11 (1.8.7-r0) 18:08:10 (11/104) Installing libdrm (2.4.115-r4) 18:08:10 (12/104) Installing libxext (1.3.5-r2) 18:08:10 (13/104) Installing libxfixes (6.0.1-r2) 18:08:10 (14/104) Installing libffi (3.4.4-r2) 18:08:10 (15/104) Installing wayland-libs-client (1.22.0-r2) 18:08:10 (16/104) Installing libva (2.18.0-r1) 18:08:10 (17/104) Installing libvdpau (1.5-r1) 18:08:10 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 18:08:10 (19/104) Installing libdav1d (1.2.1-r0) 18:08:10 (20/104) Installing brotli-libs (1.0.9-r14) 18:08:10 (21/104) Installing libgcc (12.2.1_git20220924-r10) 18:08:10 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 18:08:11 (23/104) Installing libhwy (1.0.4-r1) 18:08:11 (24/104) Installing lcms2 (2.15-r2) 18:08:11 (25/104) Installing libjxl (0.8.2-r0) 18:08:11 (26/104) Installing lame-libs (3.100-r5) 18:08:11 (27/104) Installing opus (1.4-r0) 18:08:11 (28/104) Installing libgomp (12.2.1_git20220924-r10) 18:08:11 (29/104) Installing soxr (0.1.3-r5) 18:08:11 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 18:08:11 (31/104) Installing libogg (1.3.5-r4) 18:08:11 (32/104) Installing libtheora (1.1.1-r17) 18:08:11 (33/104) Installing libvorbis (1.3.7-r1) 18:08:11 (34/104) Installing libvpx (1.13.0-r2) 18:08:11 (35/104) Installing libwebp (1.3.2-r0) 18:08:11 (36/104) Installing x264-libs (0.164_git20220602-r1) 18:08:11 (37/104) Installing numactl (2.0.16-r4) 18:08:11 (38/104) Installing x265-libs (3.5-r4) 18:08:12 (39/104) Installing xvidcore (1.3.7-r1) 18:08:12 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 18:08:12 (41/104) Installing alsa-lib (1.2.9-r1) 18:08:12 (42/104) Installing libexpat (2.6.2-r0) 18:08:12 (43/104) Installing libbz2 (1.0.8-r5) 18:08:12 (44/104) Installing libpng (1.6.39-r3) 18:08:12 (45/104) Installing freetype (2.13.0-r5) 18:08:12 (46/104) Installing fontconfig (2.14.2-r3) 18:08:13 (47/104) Installing fribidi (1.0.13-r0) 18:08:13 (48/104) Installing libintl (0.21.1-r7) 18:08:13 (49/104) Installing libblkid (2.38.1-r8) 18:08:13 (50/104) Installing libmount (2.38.1-r8) 18:08:13 (51/104) Installing pcre2 (10.42-r1) 18:08:13 (52/104) Installing glib (2.76.6-r0) 18:08:13 (53/104) Installing graphite2 (1.3.14-r5) 18:08:13 (54/104) Installing harfbuzz (7.3.0-r0) 18:08:13 (55/104) Installing libunibreak (5.1-r0) 18:08:13 (56/104) Installing libass (0.17.1-r0) 18:08:13 (57/104) Installing libbluray (1.3.4-r0) 18:08:13 (58/104) Installing gmp (6.2.1-r3) 18:08:13 (59/104) Installing nettle (3.8.1-r2) 18:08:13 (60/104) Installing libunistring (1.1-r1) 18:08:13 (61/104) Installing libidn2 (2.3.4-r1) 18:08:13 (62/104) Installing p11-kit (0.24.1-r2) 18:08:13 (63/104) Installing libtasn1 (4.19.0-r1) 18:08:13 (64/104) Installing gnutls (3.8.4-r0) 18:08:13 (65/104) Installing mpg123-libs (1.31.3-r1) 18:08:13 (66/104) Installing libopenmpt (0.7.2-r0) 18:08:13 (67/104) Installing cjson (1.7.17-r0) 18:08:13 (68/104) Installing mbedtls (2.28.8-r0) 18:08:13 (69/104) Installing librist (0.2.7-r0) 18:08:13 (70/104) Installing libsrt (1.5.2-r0) 18:08:13 (71/104) Installing libssh (0.10.5-r0) 18:08:13 (72/104) Installing xz-libs (5.4.3-r0) 18:08:13 (73/104) Installing libxml2 (2.11.8-r0) 18:08:14 (74/104) Installing libsodium (1.0.18-r3) 18:08:14 (75/104) Installing libzmq (4.3.4-r4) 18:08:14 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 18:08:14 (77/104) Installing glslang-libs (1.3.243.0-r1) 18:08:14 (78/104) Installing spirv-tools (1.3.243.0-r1) 18:08:15 (79/104) Installing shaderc (2023.3-r1) 18:08:15 (80/104) Installing vulkan-loader (1.3.243.0-r1) 18:08:15 (81/104) Installing libplacebo (5.264.1-r1) 18:08:15 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 18:08:15 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 18:08:15 (84/104) Installing vidstab (1.1.1-r0) 18:08:15 (85/104) Installing zimg (3.0.5-r0) 18:08:15 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 18:08:16 (87/104) Installing libasyncns (0.8-r1) 18:08:16 (88/104) Installing dbus-libs (1.14.8-r0) 18:08:16 (89/104) Installing libltdl (2.4.7-r2) 18:08:16 (90/104) Installing orc (0.4.34-r0) 18:08:16 (91/104) Installing flac-libs (1.4.3-r0) 18:08:16 (92/104) Installing libsndfile (1.2.0-r2) 18:08:16 (93/104) Installing speexdsp (1.2.1-r1) 18:08:16 (94/104) Installing tdb-libs (1.4.8-r1) 18:08:16 (95/104) Installing libpulse (16.1-r10) 18:08:16 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 18:08:16 (97/104) Installing v4l-utils-libs (1.24.1-r0) 18:08:16 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 18:08:16 (99/104) Installing ffmpeg (6.0.1-r0) 18:08:16 (100/104) Installing udev-init-scripts (35-r1) 18:08:16 (101/104) Installing eudev-libs (3.2.11-r8) 18:08:16 (102/104) Installing zstd-libs (1.5.5-r4) 18:08:16 (103/104) Installing kmod-libs (30-r3) 18:08:16 (104/104) Installing eudev (3.2.11-r8) 18:08:16 Executing busybox-1.36.1-r7.trigger 18:08:16 Executing glib-2.76.6-r0.trigger 18:08:16 Executing eudev-3.2.11-r8.trigger 18:08:16 OK: 110 MiB in 119 packages 18:08:21 Removing intermediate container e27545cf717f 18:08:21 ---> 139e1c5dbfe6 18:08:21 Step 18/37 : RUN apk --no-cache upgrade 18:08:21 ---> Running in 560d58b312b1 18:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:08:22 OK: 110 MiB in 119 packages 18:08:23 Removing intermediate container 560d58b312b1 18:08:23 ---> 942710d9fb3a 18:08:23 Step 19/37 : WORKDIR / 18:08:23 ---> Running in 4504f469ef75 18:08:23 Removing intermediate container 4504f469ef75 18:08:23 ---> 074c31f7653a 18:08:23 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 18:08:25 ---> 4871d7fde46b 18:08:25 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 18:08:26 ---> e8a185adde4f 18:08:26 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:08:26 ---> e032d405360d 18:08:26 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:08:27 ---> 83b7cf22309c 18:08:27 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:08:27 ---> e391ffd704ed 18:08:27 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 18:08:27 ---> 75e03b1c683a 18:08:27 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 18:08:29 ---> c9c7cdfa8766 18:08:29 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:08:29 ---> Running in 3003c3191e9e 18:08:31 Removing intermediate container 3003c3191e9e 18:08:31 ---> c4be4075fcfd 18:08:31 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:08:31 ---> Running in 9287c90a2fd4 18:08:32 Removing intermediate container 9287c90a2fd4 18:08:32 ---> 629040dfbe40 18:08:32 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:08:32 ---> Running in 178f67a92b72 18:08:34 Removing intermediate container 178f67a92b72 18:08:34 ---> 451d6b4ab6ce 18:08:34 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:08:34 ---> Running in 9fb005f85f99 18:08:36 Removing intermediate container 9fb005f85f99 18:08:36 ---> eff0fd5d96a8 18:08:36 Step 31/37 : EXPOSE 59983 18:08:36 ---> Running in 47c66679e7b9 18:08:36 Removing intermediate container 47c66679e7b9 18:08:36 ---> a7cc9214ecf5 18:08:36 Step 32/37 : EXPOSE 8554 18:08:36 ---> Running in 6b32b3ec0d8a 18:08:36 Removing intermediate container 6b32b3ec0d8a 18:08:36 ---> 904d9747078a 18:08:36 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:08:36 ---> Running in f1c66f8de067 18:08:37 Removing intermediate container f1c66f8de067 18:08:37 ---> c4af02c64887 18:08:37 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:08:37 ---> Running in 8e2f9e1c0104 18:08:37 Removing intermediate container 8e2f9e1c0104 18:08:37 ---> 18f37d102d30 18:08:37 Step 35/37 : LABEL arch=arm64 18:08:37 ---> Running in a56fa53ff96b 18:08:37 Removing intermediate container a56fa53ff96b 18:08:37 ---> b8e345b50dba 18:08:37 Step 36/37 : LABEL git_sha=6cf99f982f25d3231244b9f361a460cefdf4c8aa 18:08:37 ---> Running in 2f72d9286caa 18:08:38 Removing intermediate container 2f72d9286caa 18:08:38 ---> 36df2ac3d69a 18:08:38 Step 37/37 : LABEL version=0.0.0 18:08:38 ---> Running in e71b33e941d4 18:08:38 Removing intermediate container e71b33e941d4 18:08:38 ---> 6ab2fdbfa059 18:08:38 [Warning] One or more build-args [ARCH] were not consumed 18:08:38 Successfully built 6ab2fdbfa059 18:08:38 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:39 18:08:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:40 arm64: Pulling from edgex-lftools-log-publisher 18:08:40 8998bd30e6a1: Pulling fs layer 18:08:40 04944245beec: Pulling fs layer 18:08:40 699f458cf7ca: Pulling fs layer 18:08:40 765212b225bb: Pulling fs layer 18:08:40 f23df028b6ca: Pulling fs layer 18:08:40 d65c8cfc05b1: Pulling fs layer 18:08:40 2437ff75d9bd: Pulling fs layer 18:08:40 f23df028b6ca: Waiting 18:08:40 d65c8cfc05b1: Waiting 18:08:40 2437ff75d9bd: Waiting 18:08:40 765212b225bb: Waiting 18:08:40 04944245beec: Verifying Checksum 18:08:40 04944245beec: Download complete 18:08:40 765212b225bb: Download complete 18:08:40 f23df028b6ca: Verifying Checksum 18:08:40 f23df028b6ca: Download complete 18:08:40 d65c8cfc05b1: Verifying Checksum 18:08:40 d65c8cfc05b1: Download complete 18:08:40 699f458cf7ca: Verifying Checksum 18:08:40 699f458cf7ca: Download complete 18:08:40 8998bd30e6a1: Verifying Checksum 18:08:40 8998bd30e6a1: Download complete 18:08:43 2437ff75d9bd: Verifying Checksum 18:08:43 2437ff75d9bd: Download complete 18:08:45 8998bd30e6a1: Pull complete 18:08:46 04944245beec: Pull complete 18:08:47 699f458cf7ca: Pull complete 18:08:47 765212b225bb: Pull complete 18:08:48 f23df028b6ca: Pull complete 18:08:48 d65c8cfc05b1: Pull complete 18:09:06 2437ff75d9bd: Pull complete 18:09:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:09:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:09:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:07 prd-ubuntu20.04-docker-arm64-4c-16g-4379 does not seem to be running inside a container 18:09:07 $ 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:09 $ docker top 0317d505c722f78a6434f52100d050de21f49b8d08bc68c830b6375b96d589a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:10 ---> job-cost.sh 18:09:10 lf-activate-venv: SKIPPING 18:09:10 INFO: No Stack... 18:09:11 INFO: Retrieving Pricing Info for: v3-standard-4 18:09:12 INFO: Archiving Costs [Pipeline] sh 18:09:12 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:09:12 + cut -d, -f6 [Pipeline] lock 18:09:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] 18:09:12 Resource [jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] did not exist. Created. 18:09:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:13 /w/workspace/device-usb-camera/1@tmp/durable-754d4009/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:09:14 + echo total: 0.10999999940395355 [Pipeline] stash 18:09:14 Warning: overwriting stash ‘stack-cost’ 18:09:14 Stashed 1 file(s) [Pipeline] } 18:09:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:09:14 $ docker stop --time=1 0317d505c722f78a6434f52100d050de21f49b8d08bc68c830b6375b96d589a2 18:09:16 $ docker rm -f --volumes 0317d505c722f78a6434f52100d050de21f49b8d08bc68c830b6375b96d589a2 [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:17 provisioning config files... 18:09:17 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-333@tmp/config8099245396617232233tmp [Pipeline] { [Pipeline] sh 18:09:17 + set +x 18:09:17 + curl -s https://codecov.io/bash 18:09:17 + bash -s -- 18:09:17 18:09:17 _____ _ 18:09:17 / ____| | | 18:09:17 | | ___ __| | ___ ___ _____ __ 18:09:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:09:17 | |___| (_) | (_| | __/ (_| (_) \ V / 18:09:17 \_____\___/ \__,_|\___|\___\___/ \_/ 18:09:17 Bash-1.0.6 18:09:17 18:09:17 18:09:17 ==> git version 2.25.1 found 18:09:17 ==> 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:17 Release-Date: 2020-01-08 18:09:17 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:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:09:17 ==> Jenkins CI detected. 18:09:17 current dir:  /w/workspace/foundry_device-usb-camera_PR-333 18:09:17 project root: . 18:09:17 --> token set from env 18:09:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:09:17 ==> Running gcov in . (disable via -X gcov) 18:09:17 ==> Python coveragepy not found 18:09:17 ==> Searching for coverage reports in: 18:09:17 + . 18:09:17 -> Found 1 reports 18:09:17 ==> Detecting git/mercurial file structure 18:09:17 ==> Reading reports 18:09:17 + ./coverage.out bytes=54703 18:09:17 ==> Appending adjustments 18:09:17 https://docs.codecov.io/docs/fixing-reports 18:09:17 + Found adjustments 18:09:17 ==> Gzipping contents 18:09:17 8.0K /tmp/codecov.sJ302G.gz 18:09:17 ==> Uploading reports 18:09:17 url: https://codecov.io 18:09:17 query: branch=PR-333&commit=6cf99f982f25d3231244b9f361a460cefdf4c8aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=333&job=&cmd_args= 18:09:17 -> Pinging Codecov 18:09:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-333&commit=6cf99f982f25d3231244b9f361a460cefdf4c8aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=333&job=&cmd_args= 18:09:18 -> Uploading to 18:09:18 https://storage.googleapis.com/codecov/v4/raw/2024-06-25/73D8F5FF140700D3E01443B452E23636/6cf99f982f25d3231244b9f361a460cefdf4c8aa/1c7115d1-9270-4d2c-b040-0c2b805b04d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T180918Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=686940f5f12cd624e23253531938ec8572c002bdc434a981074958af894e1ca5 18:09:18 % Total % Received % Xferd Average Speed Time Time Time Current 18:09:18 Dload Upload Total Spent Left Speed 18:09:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 27220 --:--:-- --:--:-- --:--:-- 27220 18:09:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/6cf99f982f25d3231244b9f361a460cefdf4c8aa [Pipeline] } 18:09:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:09:20 + [ -d /w/workspace/foundry_device-usb-camera_PR-333/archives ] 18:09:20 + ls -al /w/workspace/foundry_device-usb-camera_PR-333/archives 18:09:20 total 16 18:09:20 drwxr-xr-x 3 root root 4096 Jun 25 17:57 . 18:09:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 17:57 .. 18:09:20 drwxr-xr-x 2 root root 4096 Jun 25 17:57 cost 18:09:20 -rw-r--r-- 1 root root 89 Jun 25 17:57 cost.csv 18:09:20 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-333/archives 18:09:20 + ls -al /w/workspace/foundry_device-usb-camera_PR-333/archives 18:09:20 total 16 18:09:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 17:57 . 18:09:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 17:57 .. 18:09:20 drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 17:57 cost 18:09:20 -rw-r--r-- 1 jenkins jenkins 89 Jun 25 17:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:09:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:09:44 ---> package-listing.sh 18:09:44 ++ facter osfamily 18:09:44 ++ tr '[:upper:]' '[:lower:]' 18:09:44 + OS_FAMILY=debian 18:09:44 + workspace=/w/workspace/foundry_device-usb-camera_PR-333 18:09:44 + START_PACKAGES=/tmp/packages_start.txt 18:09:44 + END_PACKAGES=/tmp/packages_end.txt 18:09:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:09:44 + PACKAGES=/tmp/packages_start.txt 18:09:44 + '[' /w/workspace/foundry_device-usb-camera_PR-333 ']' 18:09:44 + PACKAGES=/tmp/packages_end.txt 18:09:44 + case "${OS_FAMILY}" in 18:09:44 + dpkg -l 18:09:44 + grep '^ii' 18:09:44 + '[' -f /tmp/packages_start.txt ']' 18:09:44 + '[' -f /tmp/packages_end.txt ']' 18:09:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:09:44 + '[' /w/workspace/foundry_device-usb-camera_PR-333 ']' 18:09:44 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-333/archives/ 18:09:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-333/archives/ [Pipeline] echo 18:09:44 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:09:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:46 prd-ubuntu20.04-docker-8c-8g-4378 does not seem to be running inside a container 18:09:46 $ 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-333/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-333 -v /w/workspace/foundry_device-usb-camera_PR-333:/w/workspace/foundry_device-usb-camera_PR-333:rw,z -v /w/workspace/foundry_device-usb-camera_PR-333@tmp:/w/workspace/foundry_device-usb-camera_PR-333@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:09:46 $ docker top 0b1e2d86029a4d269eaea0aca1ad5505e0e46cf5360a30ca74471ec44b835df1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:46 + touch /tmp/pre-build-complete [Pipeline] sh 18:09:47 + mkdir -p /var/log/sysstat [Pipeline] sh 18:09:47 + ls /var/log/sa-host 18:09:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:47 provisioning config files... 18:09:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-333@tmp/config7803831639357821971tmp [Pipeline] { [Pipeline] echo 18:09:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:09:48 ---> create-netrc.sh [Pipeline] } 18:09:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:09:48 ---> python-tools-install.sh [Pipeline] echo 18:09:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:09:49 ---> sudo-logs.sh 18:09:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:09:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:09:49 ---> job-cost.sh 18:09:49 lf-activate-venv: SKIPPING 18:09:49 DEBUG: total: 0.2199999988079071 18:09:49 INFO: Retrieving Stack Cost... 18:09:49 INFO: Retrieving Pricing Info for: v3-standard-8 18:09:50 INFO: Archiving Costs [Pipeline] echo 18:09:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:09:50 ---> logs-deploy.sh 18:09:50 lf-activate-venv: SKIPPING 18:09:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-333/1 18:09:50 INFO: archiving workspace using pattern(s): 18:09:51 Archives upload complete. 18:09:51 INFO: archiving logs to Nexus