Pull request #332 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b+ccce436d0ac5c3ef3c815fb520729a26368c4d34 (c65db19b03c570e2ff469cab76ce2c464baf80b3) 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-ssh13339291521602197828.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-ssh16600188658523730208.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-332/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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16555324534137400524.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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14453859209810770760.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-ssh386870630779218696.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-332/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-332/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18165749157242517845.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1096 in /w/workspace/foundry_device-usb-camera_PR-332 [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-332 # 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/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ccce436d0ac5c3ef3c815fb520729a26368c4d34 into PR head commit d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b Merge succeeded, producing d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b Checking out Revision d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b (PR-332) 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 d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b # 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 d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:51:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:51:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:51:49 ========================================================= 17:51:49 EdgeX Global Pipelines Version Info 17:51:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:51:50 ------------------- 17:51:50 stable info: 17:51:50 ------------------- 17:51:50 Commited By: Ginny Guan ginny@iotechsys.com 17:51:50 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 17:51:50 Message: update stable to v1.0.260 17:51:51 ------------------- 17:51:51 experimental info: 17:51:51 ------------------- 17:51:51 Commited By: Ginny Guan ginny@iotechsys.com 17:51:51 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 17:51:51 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:51:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:51:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo 17:51:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo 17:51:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo 17:51:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b [Pipeline] echo 17:51:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8051eb [Pipeline] echo 17:51:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:53 provisioning config files... 17:51:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-332@tmp/config17484275136925527946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:53 ---> ****-login.sh 17:51:53 nexus3.edgexfoundry.org:10001 17:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:54 Configure a credential helper to remove this warning. See 17:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:54 17:51:54 Login Succeeded 17:51:54 nexus3.edgexfoundry.org:10002 17:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:54 Configure a credential helper to remove this warning. See 17:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:54 17:51:54 Login Succeeded 17:51:54 nexus3.edgexfoundry.org:10003 17:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:54 Configure a credential helper to remove this warning. See 17:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:54 17:51:54 Login Succeeded 17:51:54 nexus3.edgexfoundry.org:10004 17:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:54 Configure a credential helper to remove this warning. See 17:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:54 17:51:54 Login Succeeded 17:51:54 ****.io 17:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:51:54 Configure a credential helper to remove this warning. See 17:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:51:54 17:51:54 Login Succeeded 17:51:54 ---> ****-login.sh ends [Pipeline] } 17:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:51:55 + git rev-list -1 --merges d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b~1..d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b [Pipeline] echo 17:51:55 -----------> git rev-list -1 --merges d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b~1..d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b [false] [Pipeline] sh 17:51:56 + git log --format=format:%s -1 d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b [Pipeline] echo 17:51:56 ========================================================= 17:51:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:51:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:51:56 + git log --format=format:%s -1 d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b [Pipeline] echo 17:51:56 [semverPrep] GIT_COMMIT: d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:51:56 [semverPrep] This is not a build commit. [Pipeline] sh 17:51:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:51:57 + grep -v github /etc/ssh/ssh_known_hosts 17:51:57 + [ -e /tmp/ssh_known_hosts ] 17:51:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:51:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:51:57 + sudo tee -a /etc/ssh/ssh_known_hosts 17:51:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:51:57 17:51:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:51:57 0.1.4: Pulling from edgex-devops/py-git-semver 17:51:57 b85a868b505f: Pulling fs layer 17:51:57 e2be974225ed: Pulling fs layer 17:51:57 339a4e72a1f5: Pulling fs layer 17:51:57 988bab9f4d93: Pulling fs layer 17:51:57 1469e6f7b9e6: Pulling fs layer 17:51:57 eaf3925da568: Pulling fs layer 17:51:57 bab4dde63d76: Pulling fs layer 17:51:57 bde34c3a00c8: Pulling fs layer 17:51:57 b352a97aabf1: Pulling fs layer 17:51:57 4872d77fe225: Pulling fs layer 17:51:57 5851b861e8e6: Pulling fs layer 17:51:57 988bab9f4d93: Waiting 17:51:57 1469e6f7b9e6: Waiting 17:51:57 eaf3925da568: Waiting 17:51:57 bab4dde63d76: Waiting 17:51:57 4872d77fe225: Waiting 17:51:57 bde34c3a00c8: Waiting 17:51:57 b352a97aabf1: Waiting 17:51:57 5851b861e8e6: Waiting 17:51:57 e2be974225ed: Download complete 17:51:57 988bab9f4d93: Verifying Checksum 17:51:57 988bab9f4d93: Download complete 17:51:58 1469e6f7b9e6: Verifying Checksum 17:51:58 1469e6f7b9e6: Download complete 17:51:58 eaf3925da568: Verifying Checksum 17:51:58 eaf3925da568: Download complete 17:51:58 339a4e72a1f5: Verifying Checksum 17:51:58 339a4e72a1f5: Download complete 17:51:58 bde34c3a00c8: Download complete 17:51:58 b352a97aabf1: Verifying Checksum 17:51:58 b352a97aabf1: Download complete 17:51:58 4872d77fe225: Verifying Checksum 17:51:58 4872d77fe225: Download complete 17:51:58 5851b861e8e6: Verifying Checksum 17:51:58 5851b861e8e6: Download complete 17:51:58 b85a868b505f: Verifying Checksum 17:51:58 b85a868b505f: Download complete 17:51:58 bab4dde63d76: Verifying Checksum 17:51:58 bab4dde63d76: Download complete 17:51:59 b85a868b505f: Pull complete 17:51:59 e2be974225ed: Pull complete 17:51:59 339a4e72a1f5: Pull complete 17:51:59 988bab9f4d93: Pull complete 17:52:00 1469e6f7b9e6: Pull complete 17:52:00 eaf3925da568: Pull complete 17:52:02 bab4dde63d76: Pull complete 17:52:02 bde34c3a00c8: Pull complete 17:52:02 b352a97aabf1: Pull complete 17:52:02 4872d77fe225: Pull complete 17:52:02 5851b861e8e6: Pull complete 17:52:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:02 prd-ubuntu20.04-docker-8c-8g-1096 does not seem to be running inside a container 17:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-332 -v /w/workspace/foundry_device-usb-camera_PR-332:/w/workspace/foundry_device-usb-camera_PR-332:rw,z -v /w/workspace/foundry_device-usb-camera_PR-332@tmp:/w/workspace/foundry_device-usb-camera_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:52:05 $ docker top 949bd979e432cf571dd6257c55271638831e47cf2b8a8460ad6d0dbc19c6c15f -eo pid,comm 17:52:05 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:52:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:05 [ssh-agent] Looking for ssh-agent implementation... 17:52:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:05 $ docker exec 949bd979e432cf571dd6257c55271638831e47cf2b8a8460ad6d0dbc19c6c15f ssh-agent 17:52:05 SSH_AUTH_SOCK=/tmp/ssh-4Tooyja7Q9Hm/agent.32 17:52:05 SSH_AGENT_PID=38 17:52:05 Running ssh-add (command line suppressed) 17:52:05 Identity added: /w/workspace/foundry_device-usb-camera_PR-332@tmp/private_key_10869217672950129300.key (/w/workspace/foundry_device-usb-camera_PR-332@tmp/private_key_10869217672950129300.key) 17:52:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:06 + git tag --points-at HEAD [Pipeline] } 17:52:06 $ docker exec --env ******** --env ******** 949bd979e432cf571dd6257c55271638831e47cf2b8a8460ad6d0dbc19c6c15f ssh-agent -k 17:52:06 unset SSH_AUTH_SOCK; 17:52:06 unset SSH_AGENT_PID; 17:52:06 echo Agent pid 38 killed; 17:52:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:06 [ssh-agent] Looking for ssh-agent implementation... 17:52:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:06 $ docker exec 949bd979e432cf571dd6257c55271638831e47cf2b8a8460ad6d0dbc19c6c15f ssh-agent 17:52:06 SSH_AUTH_SOCK=/tmp/ssh-NsWtmvL9WZJi/agent.71 17:52:06 SSH_AGENT_PID=77 17:52:06 Running ssh-add (command line suppressed) 17:52:06 Identity added: /w/workspace/foundry_device-usb-camera_PR-332@tmp/private_key_2962848934586854589.key (/w/workspace/foundry_device-usb-camera_PR-332@tmp/private_key_2962848934586854589.key) 17:52:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:07 + git semver init 17:52:07 2024-05-29 17:52:07,178 [run_init] DEBUG init version:0.0.0 force:False 17:52:07 2024-05-29 17:52:07,179 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-332/.semver 17:52:07 2024-05-29 17:52:07,180 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-332/.semver 17:52:07 2024-05-29 17:52:07,180 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-332/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-332, universal_newlines=False, shell=None, istream=None) 17:52:08 2024-05-29 17:52:08,212 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-332/.git/info/exclude 17:52:08 2024-05-29 17:52:08,213 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-332/.semver/PR-332 with force:False 17:52:08 2024-05-29 17:52:08,213 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-332/.semver/PR-332 17:52:08 2024-05-29 17:52:08,215 [execute] INFO git cat-file --batch-check 17:52:08 2024-05-29 17:52:08,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-332/.semver, universal_newlines=False, shell=None, istream=) 17:52:08 2024-05-29 17:52:08,221 [execute] INFO git cat-file --batch 17:52:08 2024-05-29 17:52:08,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-332/.semver, universal_newlines=False, shell=None, istream=) 17:52:08 2024-05-29 17:52:08,227 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-332/.semver/PR-332 17:52:08 0.0.0 [Pipeline] } 17:52:08 $ docker exec --env ******** --env ******** 949bd979e432cf571dd6257c55271638831e47cf2b8a8460ad6d0dbc19c6c15f ssh-agent -k 17:52:08 unset SSH_AUTH_SOCK; 17:52:08 unset SSH_AGENT_PID; 17:52:08 echo Agent pid 77 killed; 17:52:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:09 + git semver [Pipeline] } 17:52:09 $ docker stop --time=1 949bd979e432cf571dd6257c55271638831e47cf2b8a8460ad6d0dbc19c6c15f 17:52:10 $ docker rm -f --volumes 949bd979e432cf571dd6257c55271638831e47cf2b8a8460ad6d0dbc19c6c15f [Pipeline] // withDockerContainer [Pipeline] sh 17:52:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:11 Stashed 1 file(s) [Pipeline] echo 17:52:11 [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:52:12 provisioning config files... 17:52:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-332@tmp/config16611201739460888940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:12 ---> ****-login.sh 17:52:12 nexus3.edgexfoundry.org:10001 17:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:52:12 Configure a credential helper to remove this warning. See 17:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:52:12 17:52:12 Login Succeeded 17:52:12 nexus3.edgexfoundry.org:10002 17:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:52:12 Configure a credential helper to remove this warning. See 17:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:52:12 17:52:12 Login Succeeded 17:52:12 nexus3.edgexfoundry.org:10003 17:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:52:12 Configure a credential helper to remove this warning. See 17:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:52:12 17:52:12 Login Succeeded 17:52:12 nexus3.edgexfoundry.org:10004 17:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:52:12 Configure a credential helper to remove this warning. See 17:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:52:12 17:52:12 Login Succeeded 17:52:12 ****.io 17:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:52:13 Configure a credential helper to remove this warning. See 17:52:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:52:13 17:52:13 Login Succeeded 17:52:13 ---> ****-login.sh ends [Pipeline] } 17:52:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:52:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:52:13 ========================================================= 17:52:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:52:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:14 + 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:52:14 Sending build context to Docker daemon 17.92MB 17:52:14 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:52:14 Step 2/13 : FROM ${BASE} AS builder 17:52:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:14 619be1103602: Pulling fs layer 17:52:14 7862e08f4a3e: Pulling fs layer 17:52:14 5df492c9dc93: Pulling fs layer 17:52:14 7629e6793208: Pulling fs layer 17:52:14 4f4fb700ef54: Pulling fs layer 17:52:14 fb5054dd5b73: Pulling fs layer 17:52:14 eeca6798cff9: Pulling fs layer 17:52:14 aa269ceb94a6: Pulling fs layer 17:52:14 ada007ff1a6a: Pulling fs layer 17:52:14 aa269ceb94a6: Waiting 17:52:14 ada007ff1a6a: Waiting 17:52:14 7629e6793208: Waiting 17:52:14 4f4fb700ef54: Waiting 17:52:14 eeca6798cff9: Waiting 17:52:14 fb5054dd5b73: Waiting 17:52:14 7862e08f4a3e: Download complete 17:52:14 7629e6793208: Verifying Checksum 17:52:14 7629e6793208: Download complete 17:52:14 4f4fb700ef54: Download complete 17:52:14 fb5054dd5b73: Verifying Checksum 17:52:14 fb5054dd5b73: Download complete 17:52:14 619be1103602: Verifying Checksum 17:52:14 619be1103602: Download complete 17:52:14 eeca6798cff9: Verifying Checksum 17:52:14 eeca6798cff9: Download complete 17:52:14 619be1103602: Pull complete 17:52:14 7862e08f4a3e: Pull complete 17:52:14 ada007ff1a6a: Verifying Checksum 17:52:14 ada007ff1a6a: Download complete 17:52:14 5df492c9dc93: Download complete 17:52:15 aa269ceb94a6: Verifying Checksum 17:52:15 aa269ceb94a6: Download complete 17:52:17 5df492c9dc93: Pull complete 17:52:17 7629e6793208: Pull complete 17:52:17 4f4fb700ef54: Pull complete 17:52:17 fb5054dd5b73: Pull complete 17:52:17 eeca6798cff9: Pull complete 17:52:20 aa269ceb94a6: Pull complete 17:52:20 ada007ff1a6a: Pull complete 17:52:20 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:52:20 ---> f489d0715acc 17:52:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:52:24 ---> Running in ee9d529fe45a 17:52:24 Removing intermediate container ee9d529fe45a 17:52:24 ---> 5fe10e5a8497 17:52:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:52:24 ---> Running in c4bbf15cd9d4 17:52:24 Removing intermediate container c4bbf15cd9d4 17:52:24 ---> 8f7c0f15cf58 17:52:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:52:24 ---> Running in 455d81e7c927 17:52:24 Removing intermediate container 455d81e7c927 17:52:24 ---> 36a9b731e740 17:52:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:52:25 ---> Running in 6b9614a1bf84 17:52:25 Removing intermediate container 6b9614a1bf84 17:52:25 ---> 43dda9b73d0a 17:52:25 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:25 ---> Running in 9da8ee45f1b9 17:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:52:25 (1/13) Installing libintl (0.21.1-r7) 17:52:25 (2/13) Installing eudev-libs (3.2.11-r8) 17:52:25 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:52:25 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:52:25 (5/13) Installing v4l-utils (1.24.1-r0) 17:52:25 (6/13) Installing libdvbv5 (1.24.1-r0) 17:52:25 (7/13) Installing udev-init-scripts (35-r1) 17:52:25 (8/13) Installing libblkid (2.38.1-r8) 17:52:25 (9/13) Installing xz-libs (5.4.3-r0) 17:52:25 (10/13) Installing kmod-libs (30-r3) 17:52:25 (11/13) Installing eudev (3.2.11-r8) 17:52:25 (12/13) Installing eudev-dev (3.2.11-r8) 17:52:25 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:52:25 Executing busybox-1.36.1-r5.trigger 17:52:25 Executing eudev-3.2.11-r8.trigger 17:52:25 OK: 271 MiB in 65 packages 17:52:26 Removing intermediate container 9da8ee45f1b9 17:52:26 ---> def6f58e39ae 17:52:26 Step 8/13 : WORKDIR /device-usb-camera 17:52:26 ---> Running in e0fd2931b946 17:52:26 Removing intermediate container e0fd2931b946 17:52:26 ---> 3a288df0c521 17:52:26 Step 9/13 : COPY go.mod vendor* ./ 17:52:26 ---> bc52dcba4b8b 17:52:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:26 ---> Running in 81ee561ee2fd 17:52:27 Still waiting to schedule task 17:52:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:53:34 Removing intermediate container 81ee561ee2fd 17:53:34 ---> a0387ff94286 17:53:34 Step 11/13 : COPY . . 17:53:34 ---> fa133066a5ea 17:53:34 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:53:34 ---> Running in 75608dfe81a4 17:53:34  % Total % Received % Xferd Average Speed Time Time Time Current 17:53:34 Dload Upload Total Spent Left Speed 17:53:34 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7893 0 --:--:-- --:--:-- --:--:-- 7866 100 1062 100 1062 0 0 7888 0 --:--:-- --:--:-- --:--:-- 7866 17:53:34 Removing intermediate container 75608dfe81a4 17:53:34 ---> 0440142b6043 17:53:34 Step 13/13 : RUN ${MAKE} 17:53:34 ---> Running in b48bbac33539 17:53:34 noop 17:53:34 Removing intermediate container b48bbac33539 17:53:34 ---> 1e92a8a5cc4b 17:53:34 Successfully built 1e92a8a5cc4b 17:53:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:34 + docker inspect -f . ci-base-image-x86_64 17:53:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:35 prd-ubuntu20.04-docker-8c-8g-1096 does not seem to be running inside a container 17:53:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-332 -v /w/workspace/foundry_device-usb-camera_PR-332:/w/workspace/foundry_device-usb-camera_PR-332:rw,z -v /w/workspace/foundry_device-usb-camera_PR-332@tmp:/w/workspace/foundry_device-usb-camera_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:35 $ docker top a6a98dd2bddef30b07404f06ef77dc65e7487f741608592e72e7b902814c4a5b -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:36 + go version 17:53:36 go version go1.21.9 linux/amd64 [Pipeline] } 17:53:36 $ docker stop --time=1 a6a98dd2bddef30b07404f06ef77dc65e7487f741608592e72e7b902814c4a5b 17:53:37 $ docker rm -f --volumes a6a98dd2bddef30b07404f06ef77dc65e7487f741608592e72e7b902814c4a5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:38 + docker inspect -f . ci-base-image-x86_64 17:53:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:38 prd-ubuntu20.04-docker-8c-8g-1096 does not seem to be running inside a container 17:53:38 $ 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-332 -v /w/workspace/foundry_device-usb-camera_PR-332:/w/workspace/foundry_device-usb-camera_PR-332:rw,z -v /w/workspace/foundry_device-usb-camera_PR-332@tmp:/w/workspace/foundry_device-usb-camera_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:38 $ docker top 36b9ac0c03309d5707bf4ba9167ef89ae92156cfb91901f705ae9bfcf5dee948 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:39 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-332 [Pipeline] fileExists [Pipeline] sh 17:53:39 + make test 17:53:39 go test ./... -coverprofile=coverage.out ./... 17:53:40 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:53:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1097 in /w/workspace/foundry_device-usb-camera_PR-332 [Pipeline] { [Pipeline] ws 17:53:56 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:53:58 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:53:58 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 4.4% of statements 17:54:00 Selected Git installation does not exist. Using Default 17:54:00 The recommended git tool is: NONE 17:54:04 using credential edgex-jenkins-ssh 17:54:04 Cloning the remote Git repository 17:54:04 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:54:04 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:54:04 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:54:04 > git --version # timeout=10 17:54:04 > git --version # 'git version 2.25.1' 17:54:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:06 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:54:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:08 Merging remotes/origin/main commit ccce436d0ac5c3ef3c815fb520729a26368c4d34 into PR head commit d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b 17:54:08 Merge succeeded, producing d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b 17:54:08 Checking out Revision d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b (PR-332) 17:54:07 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:54:07 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:54:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:54:08 > git config core.sparsecheckout # timeout=10 17:54:08 > git checkout -f d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b # timeout=10 17:54:08 > git remote # timeout=10 17:54:08 > git config --get remote.origin.url # timeout=10 17:54:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:08 > git merge ccce436d0ac5c3ef3c815fb520729a26368c4d34 # timeout=10 17:54:08 > git rev-parse HEAD^{commit} # timeout=10 17:54:08 > git config core.sparsecheckout # timeout=10 17:54:08 > git checkout -f d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b # timeout=10 17:54:08 go vet ./... 17:54:09 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:54:09 > git --version # timeout=10 17:54:09 > git --version # 'git version 2.25.1' 17:54:09 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 17:54:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:13 ./bin/test-attribution-txt.sh 17:54:13 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:54:13 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:54:13 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:54:13 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:54:13 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:54:13 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:54:13 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:54:13 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:54:13 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:54:13 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 17:54:13 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:54:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:54:13 $ docker stop --time=1 36b9ac0c03309d5707bf4ba9167ef89ae92156cfb91901f705ae9bfcf5dee948 17:54:18 $ docker rm -f --volumes 36b9ac0c03309d5707bf4ba9167ef89ae92156cfb91901f705ae9bfcf5dee948 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 17:54:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] script 17:54:18 Stashed 1 file(s) [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 17:54:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:54:19 % Total % Received % Xferd Average Speed Time Time Time Current 17:54:19 Dload Upload Total Spent Left Speed 17:54:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92287 0 --:--:-- --:--:-- --:--:-- 92287 [Pipeline] sh [Pipeline] sh 17:54:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:54:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:20 + sudo tee /etc/docker/daemon.new 17:54:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:54:20 { 17:54:20 "registry-mirrors": [ 17:54:20 "https://nexus3.edgexfoundry.org:10001" 17:54:20 ], 17:54:20 "bip": "10.250.0.254/24", 17:54:20 "hosts": [ 17:54:20 "tcp://0.0.0.0:5555", 17:54:20 "unix:///var/run/docker.sock" 17:54:20 ], 17:54:20 "mtu": 1458, 17:54:20 "selinux-enabled": true, 17:54:20 "seccomp-profile": "/etc/docker/seccomp.json" 17:54:20 } [Pipeline] sh 17:54:20 + ls -al . 17:54:20 total 292 17:54:20 drwxrwxr-x 9 jenkins jenkins 4096 May 29 17:53 . 17:54:20 drwxrwxr-x 4 jenkins jenkins 4096 May 29 17:51 .. 17:54:20 drwxrwxr-x 8 jenkins jenkins 4096 May 29 17:53 .git 17:54:20 drwxrwxr-x 3 jenkins jenkins 4096 May 29 17:51 .github 17:54:20 -rw-rw-r-- 1 jenkins jenkins 429 May 29 17:51 .gitignore 17:54:20 -rw-rw-r-- 1 jenkins jenkins 45 May 29 17:51 .golangci.yml 17:54:20 -rw-rw-r-- 1 jenkins jenkins 77 May 29 17:51 .hadolint.yml 17:54:20 drwxr-xr-x 3 jenkins jenkins 4096 May 29 17:52 .semver 17:54:20 -rw-rw-r-- 1 jenkins jenkins 10851 May 29 17:51 Attribution.txt 17:54:20 -rw-rw-r-- 1 jenkins jenkins 16561 May 29 17:51 CHANGELOG.md 17:54:20 -rw-rw-r-- 1 jenkins jenkins 2562 May 29 17:51 Dockerfile 17:54:20 -rw-rw-r-- 1 jenkins jenkins 678 May 29 17:51 GOVERNANCE.md 17:54:20 -rw-rw-r-- 1 jenkins jenkins 659 May 29 17:51 Jenkinsfile 17:54:20 -rw-rw-r-- 1 jenkins jenkins 11348 May 29 17:51 LICENSE 17:54:20 -rw-rw-r-- 1 jenkins jenkins 2611 May 29 17:51 Makefile 17:54:20 -rw-rw-r-- 1 jenkins jenkins 622 May 29 17:51 OWNERS.md 17:54:20 -rw-rw-r-- 1 jenkins jenkins 2575 May 29 17:51 README.md 17:54:20 -rw-rw-r-- 1 jenkins jenkins 5 May 29 17:52 VERSION 17:54:20 drwxrwxr-x 2 jenkins jenkins 4096 May 29 17:51 bin 17:54:20 drwxrwxr-x 3 jenkins jenkins 4096 May 29 17:51 cmd 17:54:20 -rw-r--r-- 1 jenkins jenkins 54703 May 29 17:53 coverage.out 17:54:20 -rwxrwxr-x 1 jenkins jenkins 84 May 29 17:51 docker-entrypoint.sh 17:54:20 drwxrwxr-x 2 jenkins jenkins 4096 May 29 17:51 docs 17:54:20 -rw-rw-r-- 1 jenkins jenkins 7266 May 29 17:51 go.mod 17:54:20 -rw-rw-r-- 1 jenkins jenkins 101892 May 29 17:51 go.sum 17:54:20 drwxrwxr-x 3 jenkins jenkins 4096 May 29 17:51 internal 17:54:20 -rw-rw-r-- 1 jenkins jenkins 231 May 29 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:54:20 + 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=d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b --label arch=amd64 --label version=0.0.0 . 17:54:20 Sending build context to Docker daemon 17.98MB 17:54:20 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:54:20 Step 2/37 : FROM ${BASE} AS builder 17:54:20 ---> 1e92a8a5cc4b 17:54:20 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:54:20 + sudo service docker restart 17:54:20 ---> Running in 88e8b4fa4eb4 17:54:20 Removing intermediate container 88e8b4fa4eb4 17:54:20 ---> c4143866f939 17:54:20 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:20 ---> Running in 639ad233aa32 17:54:21 Removing intermediate container 639ad233aa32 17:54:21 ---> 932241616f58 17:54:21 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:54:21 ---> Running in 35ed771f112e 17:54:21 Removing intermediate container 35ed771f112e 17:54:21 ---> 499a92fa8f1a 17:54:21 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:54:21 ---> Running in 8913dfba5ced 17:54:21 Removing intermediate container 8913dfba5ced 17:54:21 ---> 8ee28957ec71 17:54:21 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:21 ---> Running in 324e19299c5d 17:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:54:22 OK: 271 MiB in 65 packages 17:54:22 Removing intermediate container 324e19299c5d 17:54:22 ---> bf3015582dd1 17:54:22 Step 8/37 : WORKDIR /device-usb-camera 17:54:22 ---> Running in 79db5168cfed 17:54:22 Removing intermediate container 79db5168cfed 17:54:22 ---> dc483b7883ff 17:54:22 Step 9/37 : COPY go.mod vendor* ./ 17:54:22 ---> 960e0560f6fc 17:54:22 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:22 ---> Running in cd7fbb8d45d9 17:54:23 Removing intermediate container cd7fbb8d45d9 17:54:23 ---> 1a8f888f6a36 17:54:23 Step 11/37 : COPY . . 17:54:24 ---> ba4dcce58333 17:54:24 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:54:24 ---> Running in 98abac4801fd 17:54:24  % Total % Received % Xferd Average Speed Time Time Time Current 17:54:24 Dload Upload Total Spent Left Speed 17:54:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 31565 0 --:--:-- --:--:-- --:--:-- 32181 17:54:24 Removing intermediate container 98abac4801fd 17:54:24 ---> 833b08a06c88 17:54:24 Step 13/37 : RUN ${MAKE} 17:54:24 ---> Running in 7951a2a509a0 17:54:24 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.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:39 provisioning config files... 17:54:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config17647752765322649604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:39 ---> ****-login.sh 17:54:39 nexus3.edgexfoundry.org:10001 17:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:40 Configure a credential helper to remove this warning. See 17:54:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:40 17:54:40 Login Succeeded 17:54:40 nexus3.edgexfoundry.org:10002 17:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:40 Configure a credential helper to remove this warning. See 17:54:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:40 17:54:40 Login Succeeded 17:54:40 nexus3.edgexfoundry.org:10003 17:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:41 Configure a credential helper to remove this warning. See 17:54:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:41 17:54:41 Login Succeeded 17:54:41 nexus3.edgexfoundry.org:10004 17:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:41 Configure a credential helper to remove this warning. See 17:54:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:41 17:54:41 Login Succeeded 17:54:41 ****.io 17:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:54:41 Configure a credential helper to remove this warning. See 17:54:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:54:41 17:54:41 Login Succeeded 17:54:41 ---> ****-login.sh ends [Pipeline] } 17:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:54:42 ========================================================= 17:54:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:54:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:54:43 Sending build context to Docker daemon 9.223MB 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-arm64 17:54:43 c6b39de5b339: Pulling fs layer 17:54:43 a69c41024577: Pulling fs layer 17:54:43 d6de4b400683: Pulling fs layer 17:54:43 35cb2a7552d0: Pulling fs layer 17:54:43 4f4fb700ef54: Pulling fs layer 17:54:43 464afbd9ba4c: Pulling fs layer 17:54:43 00f215d4a9da: Pulling fs layer 17:54:43 d496ad576159: Pulling fs layer 17:54:43 464afbd9ba4c: Waiting 17:54:43 00f215d4a9da: Waiting 17:54:43 35cb2a7552d0: Waiting 17:54:43 d496ad576159: Waiting 17:54:43 4f4fb700ef54: Waiting 17:54:43 a69c41024577: Verifying Checksum 17:54:43 a69c41024577: Download complete 17:54:43 35cb2a7552d0: Verifying Checksum 17:54:43 35cb2a7552d0: Download complete 17:54:43 4f4fb700ef54: Verifying Checksum 17:54:43 4f4fb700ef54: Download complete 17:54:43 c6b39de5b339: Verifying Checksum 17:54:43 c6b39de5b339: Download complete 17:54:43 464afbd9ba4c: Verifying Checksum 17:54:43 464afbd9ba4c: Download complete 17:54:44 d496ad576159: Verifying Checksum 17:54:44 d496ad576159: Download complete 17:54:44 c6b39de5b339: Pull complete 17:54:45 a69c41024577: Pull complete 17:54:45 d6de4b400683: Verifying Checksum 17:54:45 d6de4b400683: Download complete 17:54:46 00f215d4a9da: Verifying Checksum 17:54:56 Removing intermediate container 7951a2a509a0 17:54:56 ---> 51e6a08210c4 17:54:56 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:54:56 v0.21.6: Pulling from aler9/rtsp-simple-server 17:54:56 4acc49c71d14: Pulling fs layer 17:54:57 4acc49c71d14: Verifying Checksum 17:54:57 4acc49c71d14: Download complete 17:54:57 4acc49c71d14: Pull complete 17:54:57 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:54:57 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:54:57 ---> 01a2bd3e5fff 17:54:57 Step 15/37 : FROM alpine:3.18 17:54:57 3.18: Pulling from library/alpine 17:54:57 619be1103602: Already exists 17:54:57 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 17:54:57 Status: Downloaded newer image for alpine:3.18 17:54:57 ---> d3782b16ccc9 17:54:57 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:54:58 ---> Running in 28ac93f2bea0 17:54:58 Removing intermediate container 28ac93f2bea0 17:54:58 ---> 90dd17e383f6 17:54:58 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:54:58 ---> Running in cea43750ccb1 17:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:54:58 d6de4b400683: Pull complete 17:54:58 35cb2a7552d0: Pull complete 17:54:58 4f4fb700ef54: Pull complete 17:54:58 464afbd9ba4c: Pull complete 17:54:59 (1/107) Installing dumb-init (1.2.5-r2) 17:54:59 (2/107) Installing sdl2 (2.26.5-r0) 17:54:59 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:54:59 (4/107) Installing aom-libs (3.6.1-r0) 17:54:59 (5/107) Installing libxau (1.0.11-r2) 17:54:59 (6/107) Installing libmd (1.0.4-r2) 17:54:59 (7/107) Installing libbsd (0.11.7-r1) 17:54:59 (8/107) Installing libxdmcp (1.1.4-r2) 17:54:59 (9/107) Installing libxcb (1.15-r1) 17:54:59 (10/107) Installing libx11 (1.8.7-r0) 17:54:59 (11/107) Installing hwdata-pci (0.370-r0) 17:54:59 (12/107) Installing libpciaccess (0.17-r2) 17:54:59 (13/107) Installing libdrm (2.4.115-r4) 17:54:59 (14/107) Installing libxext (1.3.5-r2) 17:54:59 (15/107) Installing libxfixes (6.0.1-r2) 17:54:59 (16/107) Installing libffi (3.4.4-r2) 17:54:59 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:54:59 (18/107) Installing libva (2.18.0-r1) 17:54:59 (19/107) Installing libvdpau (1.5-r1) 17:54:59 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:54:59 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:54:59 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:54:59 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:54:59 (24/107) Installing libdav1d (1.2.1-r0) 17:54:59 (25/107) Installing brotli-libs (1.0.9-r14) 17:54:59 (26/107) Installing libhwy (1.0.4-r1) 17:54:59 (27/107) Installing lcms2 (2.15-r2) 17:54:59 (28/107) Installing libjxl (0.8.2-r0) 17:54:59 (29/107) Installing lame-libs (3.100-r5) 17:54:59 (30/107) Installing opus (1.4-r0) 17:54:59 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:54:59 (32/107) Installing soxr (0.1.3-r5) 17:54:59 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:54:59 (34/107) Installing libogg (1.3.5-r4) 17:54:59 (35/107) Installing libtheora (1.1.1-r17) 17:54:59 (36/107) Installing libvorbis (1.3.7-r1) 17:54:59 (37/107) Installing libvpx (1.13.0-r2) 17:54:59 (38/107) Installing libwebp (1.3.2-r0) 17:54:59 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:54:59 (40/107) Installing numactl (2.0.16-r4) 17:54:59 (41/107) Installing x265-libs (3.5-r4) 17:54:59 (42/107) Installing xvidcore (1.3.7-r1) 17:54:59 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:55:00 (44/107) Installing alsa-lib (1.2.9-r1) 17:55:00 (45/107) Installing libexpat (2.6.2-r0) 17:55:00 (46/107) Installing libbz2 (1.0.8-r5) 17:55:00 (47/107) Installing libpng (1.6.39-r3) 17:55:00 (48/107) Installing freetype (2.13.0-r5) 17:55:00 (49/107) Installing fontconfig (2.14.2-r3) 17:55:00 (50/107) Installing fribidi (1.0.13-r0) 17:55:00 (51/107) Installing libintl (0.21.1-r7) 17:55:00 (52/107) Installing libblkid (2.38.1-r8) 17:55:00 (53/107) Installing libmount (2.38.1-r8) 17:55:00 (54/107) Installing pcre2 (10.42-r1) 17:55:00 (55/107) Installing glib (2.76.6-r0) 17:55:00 (56/107) Installing graphite2 (1.3.14-r5) 17:55:00 (57/107) Installing harfbuzz (7.3.0-r0) 17:55:00 (58/107) Installing libunibreak (5.1-r0) 17:55:00 (59/107) Installing libass (0.17.1-r0) 17:55:00 (60/107) Installing libbluray (1.3.4-r0) 17:55:00 (61/107) Installing gmp (6.2.1-r3) 17:55:00 (62/107) Installing nettle (3.8.1-r2) 17:55:00 (63/107) Installing libunistring (1.1-r1) 17:55:00 (64/107) Installing libidn2 (2.3.4-r1) 17:55:00 (65/107) Installing p11-kit (0.24.1-r2) 17:55:00 (66/107) Installing libtasn1 (4.19.0-r1) 17:55:00 (67/107) Installing gnutls (3.8.4-r0) 17:55:00 (68/107) Installing mpg123-libs (1.31.3-r1) 17:55:00 (69/107) Installing libopenmpt (0.7.2-r0) 17:55:00 (70/107) Installing cjson (1.7.17-r0) 17:55:00 (71/107) Installing mbedtls (2.28.8-r0) 17:55:00 (72/107) Installing librist (0.2.7-r0) 17:55:00 (73/107) Installing libsrt (1.5.2-r0) 17:55:00 (74/107) Installing libssh (0.10.5-r0) 17:55:00 (75/107) Installing xz-libs (5.4.3-r0) 17:55:00 (76/107) Installing libxml2 (2.11.8-r0) 17:55:00 (77/107) Installing libsodium (1.0.18-r3) 17:55:00 (78/107) Installing libzmq (4.3.4-r4) 17:55:00 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:55:00 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:55:00 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:55:00 (82/107) Installing shaderc (2023.3-r1) 17:55:00 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:55:00 (84/107) Installing libplacebo (5.264.1-r1) 17:55:00 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:55:00 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:55:00 (87/107) Installing vidstab (1.1.1-r0) 17:55:00 (88/107) Installing zimg (3.0.5-r0) 17:55:00 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:55:00 (90/107) Installing libasyncns (0.8-r1) 17:55:00 (91/107) Installing dbus-libs (1.14.8-r0) 17:55:00 (92/107) Installing libltdl (2.4.7-r2) 17:55:00 (93/107) Installing orc (0.4.34-r0) 17:55:00 (94/107) Installing flac-libs (1.4.3-r0) 17:55:00 (95/107) Installing libsndfile (1.2.0-r2) 17:55:00 (96/107) Installing speexdsp (1.2.1-r1) 17:55:00 (97/107) Installing tdb-libs (1.4.8-r1) 17:55:00 (98/107) Installing libpulse (16.1-r10) 17:55:00 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:55:00 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:55:00 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:55:00 (102/107) Installing ffmpeg (6.0.1-r0) 17:55:00 (103/107) Installing udev-init-scripts (35-r1) 17:55:00 (104/107) Installing eudev-libs (3.2.11-r8) 17:55:00 (105/107) Installing zstd-libs (1.5.5-r4) 17:55:00 (106/107) Installing kmod-libs (30-r3) 17:55:00 (107/107) Installing eudev (3.2.11-r8) 17:55:00 Executing busybox-1.36.1-r5.trigger 17:55:00 Executing glib-2.76.6-r0.trigger 17:55:00 Executing eudev-3.2.11-r8.trigger 17:55:00 OK: 131 MiB in 122 packages 17:55:03 Removing intermediate container cea43750ccb1 17:55:03 ---> 6e6d8fa86955 17:55:03 Step 18/37 : RUN apk --no-cache upgrade 17:55:03 ---> Running in bfc3e297cd27 17:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:55:04 Upgrading critical system libraries and apk-tools: 17:55:04 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 17:55:04 Executing busybox-1.36.1-r5.trigger 17:55:04 Continuing the upgrade transaction with new apk-tools: 17:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:55:04 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 17:55:04 Executing busybox-1.36.1-r6.post-upgrade 17:55:04 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 17:55:04 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 17:55:05 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 17:55:05 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 17:55:05 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 17:55:05 Executing busybox-1.36.1-r6.trigger 17:55:05 OK: 131 MiB in 122 packages 17:55:05 Removing intermediate container bfc3e297cd27 17:55:05 ---> 6570dbdfeca1 17:55:05 Step 19/37 : WORKDIR / 17:55:05 ---> Running in b5e6776e6ef7 17:55:05 Removing intermediate container b5e6776e6ef7 17:55:05 ---> 49205c9a2e5d 17:55:05 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:55:06 ---> 730540363321 17:55:06 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:55:06 ---> 1274fa4aad9f 17:55:06 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:55:07 00f215d4a9da: Pull complete 17:55:07 ---> 22674c44b39d 17:55:07 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:55:07 ---> 3a2ae789ca86 17:55:07 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:55:07 ---> 52d1317c5131 17:55:07 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 17:55:07 ---> 57f2b8a80833 17:55:07 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 17:55:08 ---> a594c838b5a3 17:55:08 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:55:08 ---> Running in 7d61a42f42f7 17:55:08 Removing intermediate container 7d61a42f42f7 17:55:08 ---> 1df89b1adbf8 17:55:08 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:55:08 ---> Running in bdf08cc9f9a3 17:55:09 d496ad576159: Pull complete 17:55:09 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 17:55:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:55:09 ---> f246e2811388 17:55:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:55:09 Removing intermediate container bdf08cc9f9a3 17:55:09 ---> ad63a690634d 17:55:09 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:55:09 ---> Running in d252079ad5e4 17:55:10 Removing intermediate container d252079ad5e4 17:55:10 ---> dbf7c73488ba 17:55:10 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:55:10 ---> Running in d7dd3cdea4d6 17:55:10 Removing intermediate container d7dd3cdea4d6 17:55:10 ---> c4ad3b036b1d 17:55:10 Step 31/37 : EXPOSE 59983 17:55:10 ---> Running in 8762538e474f 17:55:10 Removing intermediate container 8762538e474f 17:55:10 ---> 5dedc979567e 17:55:10 Step 32/37 : EXPOSE 8554 17:55:10 ---> Running in ce964bdf2800 17:55:10 Removing intermediate container ce964bdf2800 17:55:10 ---> f9442365390e 17:55:10 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:55:10 ---> Running in 36045c693123 17:55:10 Removing intermediate container 36045c693123 17:55:10 ---> 3f3ddb7e9df9 17:55:10 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:55:10 ---> Running in aff0216458d7 17:55:10 Removing intermediate container aff0216458d7 17:55:10 ---> 8c28c121cc9b 17:55:10 Step 35/37 : LABEL arch=amd64 17:55:10 ---> Running in 2765495c8ec8 17:55:10 Removing intermediate container 2765495c8ec8 17:55:10 ---> 7ac3ab06e30f 17:55:10 Step 36/37 : LABEL git_sha=d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b 17:55:10 ---> Running in 07bec050a000 17:55:11 ---> Running in 0acff56e414b 17:55:11 Removing intermediate container 0acff56e414b 17:55:11 ---> a477833c9bd7 17:55:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:55:11 ---> Running in 1533ec96d2d0 17:55:11 Removing intermediate container 07bec050a000 17:55:11 ---> 4434d933841b 17:55:11 Step 37/37 : LABEL version=0.0.0 17:55:11 ---> Running in 8aaf8cec9f19 17:55:11 Removing intermediate container 8aaf8cec9f19 17:55:11 ---> 660aa331dc97 17:55:11 [Warning] One or more build-args [ARCH] were not consumed 17:55:11 Successfully built 660aa331dc97 17:55:11 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv 17:55:11 Removing intermediate container 1533ec96d2d0 17:55:11 ---> 1c0b23d11b6d 17:55:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } 17:55:11 ---> Running in a6768522067e [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage 17:55:11 Removing intermediate container a6768522067e 17:55:11 ---> cce909cf3a19 17:55:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:55:11 ---> Running in 31fb4f4d5cc9 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:12 Removing intermediate container 31fb4f4d5cc9 17:55:12 ---> 0a4a52cda1c0 17:55:12 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:55:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:12 17:55:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 17:55:12 ---> Running in 27d3d94101c8 [Pipeline] sh 17:55:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:12 latest: Pulling from edgex-lftools-log-publisher 17:55:12 5eb5b503b376: Pulling fs layer 17:55:12 5c69ac0246d0: Pulling fs layer 17:55:12 ec43610c2a17: Pulling fs layer 17:55:12 3a2ae6a8a46f: Pulling fs layer 17:55:12 33b1e0a273af: Pulling fs layer 17:55:12 5d3b04190fa2: Pulling fs layer 17:55:12 2f39f015ded8: Pulling fs layer 17:55:12 3a2ae6a8a46f: Waiting 17:55:12 33b1e0a273af: Waiting 17:55:12 5d3b04190fa2: Waiting 17:55:12 2f39f015ded8: Waiting 17:55:12 5c69ac0246d0: Verifying Checksum 17:55:12 5c69ac0246d0: Download complete 17:55:12 3a2ae6a8a46f: Download complete 17:55:12 33b1e0a273af: Verifying Checksum 17:55:12 33b1e0a273af: Download complete 17:55:12 5d3b04190fa2: Verifying Checksum 17:55:12 5d3b04190fa2: Download complete 17:55:12 ec43610c2a17: Verifying Checksum 17:55:12 ec43610c2a17: Download complete 17:55:12 5eb5b503b376: Verifying Checksum 17:55:12 5eb5b503b376: Download complete 17:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:55:13 2f39f015ded8: Verifying Checksum 17:55:13 2f39f015ded8: Download complete 17:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:55:14 5eb5b503b376: Pull complete 17:55:14 5c69ac0246d0: Pull complete 17:55:14 ec43610c2a17: Pull complete 17:55:14 (1/13) Installing libintl (0.21.1-r7) 17:55:14 (2/13) Installing eudev-libs (3.2.11-r8) 17:55:14 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:55:14 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:55:14 3a2ae6a8a46f: Pull complete 17:55:14 (5/13) Installing v4l-utils (1.24.1-r0) 17:55:14 (6/13) Installing libdvbv5 (1.24.1-r0) 17:55:14 (7/13) Installing udev-init-scripts (35-r1) 17:55:14 (8/13) Installing libblkid (2.38.1-r8) 17:55:14 (9/13) Installing xz-libs (5.4.3-r0) 17:55:14 (10/13) Installing kmod-libs (30-r3) 17:55:14 (11/13) Installing eudev (3.2.11-r8) 17:55:14 (12/13) Installing eudev-dev (3.2.11-r8) 17:55:14 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:55:14 Executing busybox-1.36.1-r5.trigger 17:55:14 Executing eudev-3.2.11-r8.trigger 17:55:14 OK: 273 MiB in 65 packages 17:55:14 33b1e0a273af: Pull complete 17:55:14 5d3b04190fa2: Pull complete 17:55:16 Removing intermediate container 27d3d94101c8 17:55:16 ---> 0ee718cb17ae 17:55:16 Step 8/13 : WORKDIR /device-usb-camera 17:55:16 ---> Running in b6eb0b07ed20 17:55:16 Removing intermediate container b6eb0b07ed20 17:55:16 ---> 00f8afc470b8 17:55:16 Step 9/13 : COPY go.mod vendor* ./ 17:55:17 ---> 2668edca3fec 17:55:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:55:17 ---> Running in 9ecd01dc63d4 17:55:19 2f39f015ded8: Pull complete 17:55:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:55:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:19 prd-ubuntu20.04-docker-8c-8g-1096 does not seem to be running inside a container 17:55:19 $ 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-332 -v /w/workspace/foundry_device-usb-camera_PR-332:/w/workspace/foundry_device-usb-camera_PR-332:rw,z -v /w/workspace/foundry_device-usb-camera_PR-332@tmp:/w/workspace/foundry_device-usb-camera_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:55:23 $ docker top 159cb9a359aef14371619fadb162523bd379a9eec6c3ee7bf0cc7e611dfecdba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:23 ---> job-cost.sh 17:55:23 lf-activate-venv: SKIPPING 17:55:23 INFO: No Stack... 17:55:24 INFO: Retrieving Pricing Info for: v3-standard-8 17:55:24 INFO: Archiving Costs [Pipeline] sh 17:55:24 + cat /w/workspace/foundry_device-usb-camera_PR-332/archives/cost.csv 17:55:24 + cut -d, -f6 [Pipeline] lock 17:55:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] 17:55:24 Resource [jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] did not exist. Created. 17:55:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:25 + echo total: 0.2199999988079071 [Pipeline] stash 17:55:25 Stashed 1 file(s) [Pipeline] } 17:55:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:25 $ docker stop --time=1 159cb9a359aef14371619fadb162523bd379a9eec6c3ee7bf0cc7e611dfecdba 17:55:26 $ docker rm -f --volumes 159cb9a359aef14371619fadb162523bd379a9eec6c3ee7bf0cc7e611dfecdba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:57:24 Removing intermediate container 9ecd01dc63d4 17:57:24 ---> ff7c5f4672e6 17:57:24 Step 11/13 : COPY . . 17:57:24 ---> 6da4baaede83 17:57:24 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:57:24 ---> Running in e9b0882662ad 17:57:24  % Total % Received % Xferd Average Speed Time Time Time Current 17:57:24 Dload Upload Total Spent Left Speed 17:57:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8464 0 --:--:-- --:--:-- --:--:-- 8564 17:57:24 Removing intermediate container e9b0882662ad 17:57:24 ---> e202c911261a 17:57:24 Step 13/13 : RUN ${MAKE} 17:57:24 ---> Running in 838eff2ee35c 17:57:24 noop 17:57:24 Removing intermediate container 838eff2ee35c 17:57:24 ---> 8e1801c30475 17:57:24 Successfully built 8e1801c30475 17:57:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:24 + docker inspect -f . ci-base-image-arm64 17:57:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:24 prd-ubuntu20.04-docker-arm64-4c-16g-1097 does not seem to be running inside a container 17:57:24 $ 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:57:26 $ docker top b190f162c6107b710859ae06b485bad91af4ed4cf536e10d00a88bd9abc153fb -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:27 + go version 17:57:27 go version go1.21.9 linux/arm64 [Pipeline] } 17:57:27 $ docker stop --time=1 b190f162c6107b710859ae06b485bad91af4ed4cf536e10d00a88bd9abc153fb 17:57:28 $ docker rm -f --volumes b190f162c6107b710859ae06b485bad91af4ed4cf536e10d00a88bd9abc153fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:29 + docker inspect -f . ci-base-image-arm64 17:57:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:29 prd-ubuntu20.04-docker-arm64-4c-16g-1097 does not seem to be running inside a container 17:57:30 $ 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:57:31 $ docker top 26af0b2cb72c5b2abf87ed15cc5d68b5cede20fe4fa184b5b829533300d5dfe9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:32 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:57:32 + make test 17:57:32 go test ./... -coverprofile=coverage.out ./... 17:57:38 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:01:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:01:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.097s coverage: 4.4% of statements 18:01:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:01:30 go vet ./... 18:02:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:02:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:02:17 ./bin/test-attribution-txt.sh 18:02:17 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:02:17 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:02:17 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:02:17 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:02:17 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:02:17 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:02:17 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:02:17 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:02:17 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:02:17 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:02:17 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:02:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:02:17 $ docker stop --time=1 26af0b2cb72c5b2abf87ed15cc5d68b5cede20fe4fa184b5b829533300d5dfe9 18:02:19 $ docker rm -f --volumes 26af0b2cb72c5b2abf87ed15cc5d68b5cede20fe4fa184b5b829533300d5dfe9 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:02:20 Warning: overwriting stash ‘coverage-report’ 18:02:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:02:22 + ls -al . 18:02:22 total 288 18:02:22 drwxrwxr-x 8 jenkins jenkins 4096 May 29 17:57 . 18:02:22 drwxrwxr-x 4 jenkins jenkins 4096 May 29 17:54 .. 18:02:22 drwxrwxr-x 8 jenkins jenkins 4096 May 29 17:54 .git 18:02:22 drwxrwxr-x 3 jenkins jenkins 4096 May 29 17:54 .github 18:02:22 -rw-rw-r-- 1 jenkins jenkins 429 May 29 17:54 .gitignore 18:02:22 -rw-rw-r-- 1 jenkins jenkins 45 May 29 17:54 .golangci.yml 18:02:22 -rw-rw-r-- 1 jenkins jenkins 77 May 29 17:54 .hadolint.yml 18:02:22 -rw-rw-r-- 1 jenkins jenkins 10851 May 29 17:54 Attribution.txt 18:02:22 -rw-rw-r-- 1 jenkins jenkins 16561 May 29 17:54 CHANGELOG.md 18:02:22 -rw-rw-r-- 1 jenkins jenkins 2562 May 29 17:54 Dockerfile 18:02:22 -rw-rw-r-- 1 jenkins jenkins 678 May 29 17:54 GOVERNANCE.md 18:02:22 -rw-rw-r-- 1 jenkins jenkins 659 May 29 17:54 Jenkinsfile 18:02:22 -rw-rw-r-- 1 jenkins jenkins 11348 May 29 17:54 LICENSE 18:02:22 -rw-rw-r-- 1 jenkins jenkins 2611 May 29 17:54 Makefile 18:02:22 -rw-rw-r-- 1 jenkins jenkins 622 May 29 17:54 OWNERS.md 18:02:22 -rw-rw-r-- 1 jenkins jenkins 2575 May 29 17:54 README.md 18:02:22 -rw-rw-r-- 1 jenkins jenkins 5 May 29 17:52 VERSION 18:02:22 drwxrwxr-x 2 jenkins jenkins 4096 May 29 17:54 bin 18:02:22 drwxrwxr-x 3 jenkins jenkins 4096 May 29 17:54 cmd 18:02:22 -rw-r--r-- 1 jenkins jenkins 54703 May 29 18:01 coverage.out 18:02:22 -rwxrwxr-x 1 jenkins jenkins 84 May 29 17:54 docker-entrypoint.sh 18:02:22 drwxrwxr-x 2 jenkins jenkins 4096 May 29 17:54 docs 18:02:22 -rw-rw-r-- 1 jenkins jenkins 7266 May 29 17:54 go.mod 18:02:22 -rw-rw-r-- 1 jenkins jenkins 101892 May 29 17:54 go.sum 18:02:22 drwxrwxr-x 3 jenkins jenkins 4096 May 29 17:54 internal 18:02:22 -rw-rw-r-- 1 jenkins jenkins 231 May 29 17:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:22 + 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=d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b --label arch=arm64 --label version=0.0.0 . 18:02:23 Sending build context to Docker daemon 9.278MB 18:02:23 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 18:02:23 Step 2/37 : FROM ${BASE} AS builder 18:02:23 ---> 8e1801c30475 18:02:23 Step 3/37 : ARG ADD_BUILD_TAGS="" 18:02:23 ---> Running in 07bf918a5efe 18:02:23 Removing intermediate container 07bf918a5efe 18:02:23 ---> 0dccd7827291 18:02:23 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:02:24 ---> Running in 7c2ca34a4e38 18:02:24 Removing intermediate container 7c2ca34a4e38 18:02:24 ---> 96b2b93fe9ab 18:02:24 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:02:24 ---> Running in 4956c8229842 18:02:24 Removing intermediate container 4956c8229842 18:02:24 ---> a0354632a084 18:02:24 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:02:24 ---> Running in 883a093dbf3e 18:02:24 Removing intermediate container 883a093dbf3e 18:02:24 ---> 11075e4dbe00 18:02:24 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:25 ---> Running in f197511c098c 18:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:02:27 OK: 273 MiB in 65 packages 18:02:28 Removing intermediate container f197511c098c 18:02:28 ---> cde52e3ccf0f 18:02:28 Step 8/37 : WORKDIR /device-usb-camera 18:02:28 ---> Running in 9ccfe33deb73 18:02:28 Removing intermediate container 9ccfe33deb73 18:02:28 ---> 4ec10c867d37 18:02:28 Step 9/37 : COPY go.mod vendor* ./ 18:02:29 ---> f7aba4789b37 18:02:29 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:29 ---> Running in 71fa35d1e914 18:02:32 Removing intermediate container 71fa35d1e914 18:02:32 ---> 418756a9b352 18:02:32 Step 11/37 : COPY . . 18:02:33 ---> 808d10ffc55b 18:02:33 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:02:33 ---> Running in 19aafe84b973 18:02:34  % Total % Received % Xferd Average Speed Time Time Time Current 18:02:34 Dload Upload Total Spent Left Speed 18:02:34 0  0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 5403 0 --:--:-- --:--:-- --:--:-- 5446 18:02:35 Removing intermediate container 19aafe84b973 18:02:35 ---> a445802b79ad 18:02:35 Step 13/37 : RUN ${MAKE} 18:02:35 ---> Running in b9c3124d29ca 18:02:36 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.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:06:43 Removing intermediate container b9c3124d29ca 18:06:43 ---> 2aa9848ce10c 18:06:43 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:06:43 v0.21.6: Pulling from aler9/rtsp-simple-server 18:06:43 8766b47fe142: Pulling fs layer 18:06:43 8766b47fe142: Verifying Checksum 18:06:43 8766b47fe142: Download complete 18:06:43 8766b47fe142: Pull complete 18:06:43 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:06:43 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:06:43 ---> 69d40e2cb93c 18:06:43 Step 15/37 : FROM alpine:3.18 18:06:43 3.18: Pulling from library/alpine 18:06:43 c6b39de5b339: Already exists 18:06:43 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:06:43 Status: Downloaded newer image for alpine:3.18 18:06:43 ---> 33abbf032149 18:06:43 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 18:06:43 ---> Running in e1ce1f02bcc4 18:06:43 Removing intermediate container e1ce1f02bcc4 18:06:43 ---> cb92c56e978a 18:06:43 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:06:43 ---> Running in 084d7f4bd9f1 18:06:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:06:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:06:43 (1/104) Installing dumb-init (1.2.5-r2) 18:06:43 (2/104) Installing sdl2 (2.26.5-r0) 18:06:43 (3/104) Installing svt-av1-libs (1.6.0-r0) 18:06:43 (4/104) Installing aom-libs (3.6.1-r0) 18:06:43 (5/104) Installing libxau (1.0.11-r2) 18:06:43 (6/104) Installing libmd (1.0.4-r2) 18:06:43 (7/104) Installing libbsd (0.11.7-r1) 18:06:43 (8/104) Installing libxdmcp (1.1.4-r2) 18:06:43 (9/104) Installing libxcb (1.15-r1) 18:06:43 (10/104) Installing libx11 (1.8.7-r0) 18:06:43 (11/104) Installing libdrm (2.4.115-r4) 18:06:43 (12/104) Installing libxext (1.3.5-r2) 18:06:43 (13/104) Installing libxfixes (6.0.1-r2) 18:06:43 (14/104) Installing libffi (3.4.4-r2) 18:06:43 (15/104) Installing wayland-libs-client (1.22.0-r2) 18:06:43 (16/104) Installing libva (2.18.0-r1) 18:06:43 (17/104) Installing libvdpau (1.5-r1) 18:06:43 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 18:06:43 (19/104) Installing libdav1d (1.2.1-r0) 18:06:43 (20/104) Installing brotli-libs (1.0.9-r14) 18:06:43 (21/104) Installing libgcc (12.2.1_git20220924-r10) 18:06:43 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 18:06:43 (23/104) Installing libhwy (1.0.4-r1) 18:06:43 (24/104) Installing lcms2 (2.15-r2) 18:06:43 (25/104) Installing libjxl (0.8.2-r0) 18:06:43 (26/104) Installing lame-libs (3.100-r5) 18:06:43 (27/104) Installing opus (1.4-r0) 18:06:43 (28/104) Installing libgomp (12.2.1_git20220924-r10) 18:06:43 (29/104) Installing soxr (0.1.3-r5) 18:06:43 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 18:06:43 (31/104) Installing libogg (1.3.5-r4) 18:06:43 (32/104) Installing libtheora (1.1.1-r17) 18:06:43 (33/104) Installing libvorbis (1.3.7-r1) 18:06:43 (34/104) Installing libvpx (1.13.0-r2) 18:06:43 (35/104) Installing libwebp (1.3.2-r0) 18:06:43 (36/104) Installing x264-libs (0.164_git20220602-r1) 18:06:43 (37/104) Installing numactl (2.0.16-r4) 18:06:43 (38/104) Installing x265-libs (3.5-r4) 18:06:43 (39/104) Installing xvidcore (1.3.7-r1) 18:06:43 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 18:06:43 (41/104) Installing alsa-lib (1.2.9-r1) 18:06:43 (42/104) Installing libexpat (2.6.2-r0) 18:06:43 (43/104) Installing libbz2 (1.0.8-r5) 18:06:43 (44/104) Installing libpng (1.6.39-r3) 18:06:43 (45/104) Installing freetype (2.13.0-r5) 18:06:43 (46/104) Installing fontconfig (2.14.2-r3) 18:06:43 (47/104) Installing fribidi (1.0.13-r0) 18:06:43 (48/104) Installing libintl (0.21.1-r7) 18:06:43 (49/104) Installing libblkid (2.38.1-r8) 18:06:43 (50/104) Installing libmount (2.38.1-r8) 18:06:43 (51/104) Installing pcre2 (10.42-r1) 18:06:43 (52/104) Installing glib (2.76.6-r0) 18:06:43 (53/104) Installing graphite2 (1.3.14-r5) 18:06:43 (54/104) Installing harfbuzz (7.3.0-r0) 18:06:43 (55/104) Installing libunibreak (5.1-r0) 18:06:43 (56/104) Installing libass (0.17.1-r0) 18:06:43 (57/104) Installing libbluray (1.3.4-r0) 18:06:43 (58/104) Installing gmp (6.2.1-r3) 18:06:43 (59/104) Installing nettle (3.8.1-r2) 18:06:43 (60/104) Installing libunistring (1.1-r1) 18:06:43 (61/104) Installing libidn2 (2.3.4-r1) 18:06:43 (62/104) Installing p11-kit (0.24.1-r2) 18:06:43 (63/104) Installing libtasn1 (4.19.0-r1) 18:06:43 (64/104) Installing gnutls (3.8.4-r0) 18:06:43 (65/104) Installing mpg123-libs (1.31.3-r1) 18:06:43 (66/104) Installing libopenmpt (0.7.2-r0) 18:06:43 (67/104) Installing cjson (1.7.17-r0) 18:06:43 (68/104) Installing mbedtls (2.28.8-r0) 18:06:43 (69/104) Installing librist (0.2.7-r0) 18:06:43 (70/104) Installing libsrt (1.5.2-r0) 18:06:43 (71/104) Installing libssh (0.10.5-r0) 18:06:43 (72/104) Installing xz-libs (5.4.3-r0) 18:06:43 (73/104) Installing libxml2 (2.11.8-r0) 18:06:43 (74/104) Installing libsodium (1.0.18-r3) 18:06:43 (75/104) Installing libzmq (4.3.4-r4) 18:06:43 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 18:06:43 (77/104) Installing glslang-libs (1.3.243.0-r1) 18:06:43 (78/104) Installing spirv-tools (1.3.243.0-r1) 18:06:43 (79/104) Installing shaderc (2023.3-r1) 18:06:43 (80/104) Installing vulkan-loader (1.3.243.0-r1) 18:06:43 (81/104) Installing libplacebo (5.264.1-r1) 18:06:43 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 18:06:43 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 18:06:43 (84/104) Installing vidstab (1.1.1-r0) 18:06:43 (85/104) Installing zimg (3.0.5-r0) 18:06:43 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 18:06:43 (87/104) Installing libasyncns (0.8-r1) 18:06:43 (88/104) Installing dbus-libs (1.14.8-r0) 18:06:43 (89/104) Installing libltdl (2.4.7-r2) 18:06:43 (90/104) Installing orc (0.4.34-r0) 18:06:43 (91/104) Installing flac-libs (1.4.3-r0) 18:06:43 (92/104) Installing libsndfile (1.2.0-r2) 18:06:43 (93/104) Installing speexdsp (1.2.1-r1) 18:06:43 (94/104) Installing tdb-libs (1.4.8-r1) 18:06:43 (95/104) Installing libpulse (16.1-r10) 18:06:43 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 18:06:43 (97/104) Installing v4l-utils-libs (1.24.1-r0) 18:06:43 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 18:06:43 (99/104) Installing ffmpeg (6.0.1-r0) 18:06:43 (100/104) Installing udev-init-scripts (35-r1) 18:06:43 (101/104) Installing eudev-libs (3.2.11-r8) 18:06:43 (102/104) Installing zstd-libs (1.5.5-r4) 18:06:43 (103/104) Installing kmod-libs (30-r3) 18:06:43 (104/104) Installing eudev (3.2.11-r8) 18:06:43 Executing busybox-1.36.1-r5.trigger 18:06:43 Executing glib-2.76.6-r0.trigger 18:06:43 Executing eudev-3.2.11-r8.trigger 18:06:43 OK: 110 MiB in 119 packages 18:06:46 Removing intermediate container 084d7f4bd9f1 18:06:46 ---> a5020a2a4323 18:06:46 Step 18/37 : RUN apk --no-cache upgrade 18:06:46 ---> Running in 1a624bcacf46 18:06:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:06:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:06:49 Upgrading critical system libraries and apk-tools: 18:06:49 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 18:06:49 Executing busybox-1.36.1-r5.trigger 18:06:49 Continuing the upgrade transaction with new apk-tools: 18:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:06:50 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 18:06:50 Executing busybox-1.36.1-r6.post-upgrade 18:06:50 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 18:06:50 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:06:50 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 18:06:50 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 18:06:50 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 18:06:50 Executing busybox-1.36.1-r6.trigger 18:06:50 OK: 110 MiB in 119 packages 18:06:51 Removing intermediate container 1a624bcacf46 18:06:51 ---> 30c68e4a3cbe 18:06:51 Step 19/37 : WORKDIR / 18:06:51 ---> Running in 8900dfdb4b6a 18:06:52 Removing intermediate container 8900dfdb4b6a 18:06:52 ---> 194c1dadb5e5 18:06:52 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 18:06:54 ---> 5c30df0d7a38 18:06:54 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 18:06:54 ---> 150de3ae51d9 18:06:54 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:06:55 ---> 3b123462d08e 18:06:55 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:06:56 ---> 227d86fa5277 18:06:56 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:06:56 ---> 6f67e3577ed0 18:06:56 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 18:06:56 ---> 9431fa6428a9 18:06:56 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 18:06:58 ---> 0e6bc1161706 18:06:58 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:06:58 ---> Running in ed1cb73cb813 18:07:00 Removing intermediate container ed1cb73cb813 18:07:00 ---> 2904b505a62d 18:07:00 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:07:00 ---> Running in 334cf2478b9c 18:07:01 Removing intermediate container 334cf2478b9c 18:07:01 ---> d3a30be60887 18:07:01 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:07:01 ---> Running in 8a70ec463be7 18:07:03 Removing intermediate container 8a70ec463be7 18:07:03 ---> 34156598df16 18:07:03 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:07:03 ---> Running in 5d490e6ea436 18:07:05 Removing intermediate container 5d490e6ea436 18:07:05 ---> b8b314bf67ce 18:07:05 Step 31/37 : EXPOSE 59983 18:07:05 ---> Running in db0b612ca0be 18:07:05 Removing intermediate container db0b612ca0be 18:07:05 ---> 6d7263a1f006 18:07:05 Step 32/37 : EXPOSE 8554 18:07:05 ---> Running in 2c128b816c49 18:07:05 Removing intermediate container 2c128b816c49 18:07:05 ---> 34f6f69cbe6a 18:07:05 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:07:05 ---> Running in ccb6aacf1778 18:07:05 Removing intermediate container ccb6aacf1778 18:07:05 ---> 7835282db2ee 18:07:05 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:07:05 ---> Running in a94ffd0a2e8c 18:07:06 Removing intermediate container a94ffd0a2e8c 18:07:06 ---> 4bb0a6e77ed0 18:07:06 Step 35/37 : LABEL arch=arm64 18:07:06 ---> Running in 743fe55e8395 18:07:06 Removing intermediate container 743fe55e8395 18:07:06 ---> 744a6da5080d 18:07:06 Step 36/37 : LABEL git_sha=d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b 18:07:06 ---> Running in 09e55bb92d42 18:07:06 Removing intermediate container 09e55bb92d42 18:07:06 ---> 78cff040923d 18:07:06 Step 37/37 : LABEL version=0.0.0 18:07:06 ---> Running in 64876743c00e 18:07:07 Removing intermediate container 64876743c00e 18:07:07 ---> d36f93bdf477 18:07:07 [Warning] One or more build-args [ARCH] were not consumed 18:07:07 Successfully built d36f93bdf477 18:07:07 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:07:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:08 18:07:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:08 arm64: Pulling from edgex-lftools-log-publisher 18:07:08 8998bd30e6a1: Pulling fs layer 18:07:08 04944245beec: Pulling fs layer 18:07:08 699f458cf7ca: Pulling fs layer 18:07:08 765212b225bb: Pulling fs layer 18:07:08 f23df028b6ca: Pulling fs layer 18:07:08 d65c8cfc05b1: Pulling fs layer 18:07:08 2437ff75d9bd: Pulling fs layer 18:07:08 f23df028b6ca: Waiting 18:07:08 d65c8cfc05b1: Waiting 18:07:08 2437ff75d9bd: Waiting 18:07:08 765212b225bb: Waiting 18:07:08 04944245beec: Verifying Checksum 18:07:08 04944245beec: Download complete 18:07:08 765212b225bb: Download complete 18:07:08 f23df028b6ca: Verifying Checksum 18:07:08 f23df028b6ca: Download complete 18:07:08 d65c8cfc05b1: Verifying Checksum 18:07:08 d65c8cfc05b1: Download complete 18:07:09 699f458cf7ca: Verifying Checksum 18:07:09 699f458cf7ca: Download complete 18:07:09 8998bd30e6a1: Verifying Checksum 18:07:09 8998bd30e6a1: Download complete 18:07:11 2437ff75d9bd: Verifying Checksum 18:07:11 2437ff75d9bd: Download complete 18:07:13 8998bd30e6a1: Pull complete 18:07:14 04944245beec: Pull complete 18:07:15 699f458cf7ca: Pull complete 18:07:16 765212b225bb: Pull complete 18:07:17 f23df028b6ca: Pull complete 18:07:17 d65c8cfc05b1: Pull complete 18:07:35 2437ff75d9bd: Pull complete 18:07:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:35 prd-ubuntu20.04-docker-arm64-4c-16g-1097 does not seem to be running inside a container 18:07:35 $ 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:07:38 $ docker top cd5a10664e3160255da7e01582a07d6d67317bc41b2d9fb221f6498ab7236c94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:39 ---> job-cost.sh 18:07:39 lf-activate-venv: SKIPPING 18:07:39 INFO: No Stack... 18:07:39 INFO: Retrieving Pricing Info for: v3-standard-4 18:07:40 INFO: Archiving Costs [Pipeline] sh 18:07:40 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:07:40 + cut -d, -f6 [Pipeline] lock 18:07:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] 18:07:41 Resource [jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] did not exist. Created. 18:07:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:41 /w/workspace/device-usb-camera/1@tmp/durable-980a2b06/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:07:42 + echo total: 0.10999999940395355 [Pipeline] stash 18:07:42 Warning: overwriting stash ‘stack-cost’ 18:07:42 Stashed 1 file(s) [Pipeline] } 18:07:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:42 $ docker stop --time=1 cd5a10664e3160255da7e01582a07d6d67317bc41b2d9fb221f6498ab7236c94 18:07:44 $ docker rm -f --volumes cd5a10664e3160255da7e01582a07d6d67317bc41b2d9fb221f6498ab7236c94 [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:07:45 provisioning config files... 18:07:45 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-332@tmp/config4132418785926317898tmp [Pipeline] { [Pipeline] sh 18:07:46 + set +x 18:07:46 + bash -s -- 18:07:46 + curl -s https://codecov.io/bash 18:07:46 18:07:46 _____ _ 18:07:46 / ____| | | 18:07:46 | | ___ __| | ___ ___ _____ __ 18:07:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:07:46 | |___| (_) | (_| | __/ (_| (_) \ V / 18:07:46 \_____\___/ \__,_|\___|\___\___/ \_/ 18:07:46 Bash-1.0.6 18:07:46 18:07:46 18:07:46 ==> git version 2.25.1 found 18:07:46 ==> 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:07:46 Release-Date: 2020-01-08 18:07:46 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:07:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:07:46 ==> Jenkins CI detected. 18:07:46 current dir:  /w/workspace/foundry_device-usb-camera_PR-332 18:07:46 project root: . 18:07:46 --> token set from env 18:07:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:07:46 ==> Running gcov in . (disable via -X gcov) 18:07:46 ==> Python coveragepy not found 18:07:46 ==> Searching for coverage reports in: 18:07:46 + . 18:07:46 -> Found 1 reports 18:07:46 ==> Detecting git/mercurial file structure 18:07:46 ==> Reading reports 18:07:46 + ./coverage.out bytes=54703 18:07:46 ==> Appending adjustments 18:07:46 https://docs.codecov.io/docs/fixing-reports 18:07:46 + Found adjustments 18:07:46 ==> Gzipping contents 18:07:46 8.0K /tmp/codecov.ovB31u.gz 18:07:46 ==> Uploading reports 18:07:46 url: https://codecov.io 18:07:46 query: branch=PR-332&commit=d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=332&job=&cmd_args= 18:07:46 -> Pinging Codecov 18:07:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-332&commit=d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=332&job=&cmd_args= 18:07:46 -> Uploading to 18:07:46 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/73D8F5FF140700D3E01443B452E23636/d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b/0929a13c-c359-4504-96d9-4b2522a4edf0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T180746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3feef1a96876df64f99e8cd347e2684352f920bcc500d85c87b99456546a5f85 18:07:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:46 Dload Upload Total Spent Left Speed 18:07:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 25874 --:--:-- --:--:-- --:--:-- 25973 18:07:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d8051ebf89b7b0d38bca3e3702f13447c6c4cb9b [Pipeline] } 18:07:47 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:07:49 + [ -d /w/workspace/foundry_device-usb-camera_PR-332/archives ] 18:07:49 + ls -al /w/workspace/foundry_device-usb-camera_PR-332/archives 18:07:49 total 16 18:07:49 drwxr-xr-x 3 root root 4096 May 29 17:55 . 18:07:49 drwxrwxr-x 10 jenkins jenkins 4096 May 29 17:55 .. 18:07:49 drwxr-xr-x 2 root root 4096 May 29 17:55 cost 18:07:49 -rw-r--r-- 1 root root 89 May 29 17:55 cost.csv 18:07:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-332/archives 18:07:49 + ls -al /w/workspace/foundry_device-usb-camera_PR-332/archives 18:07:49 total 16 18:07:49 drwxr-xr-x 3 jenkins jenkins 4096 May 29 17:55 . 18:07:49 drwxrwxr-x 10 jenkins jenkins 4096 May 29 17:55 .. 18:07:49 drwxr-xr-x 2 jenkins jenkins 4096 May 29 17:55 cost 18:07:49 -rw-r--r-- 1 jenkins jenkins 89 May 29 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:07:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:07:50 ---> package-listing.sh 18:07:50 ++ facter osfamily 18:07:50 ++ tr '[:upper:]' '[:lower:]' 18:07:50 + OS_FAMILY=debian 18:07:50 + workspace=/w/workspace/foundry_device-usb-camera_PR-332 18:07:50 + START_PACKAGES=/tmp/packages_start.txt 18:07:50 + END_PACKAGES=/tmp/packages_end.txt 18:07:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:07:50 + PACKAGES=/tmp/packages_start.txt 18:07:50 + '[' /w/workspace/foundry_device-usb-camera_PR-332 ']' 18:07:50 + PACKAGES=/tmp/packages_end.txt 18:07:50 + case "${OS_FAMILY}" in 18:07:50 + dpkg -l 18:07:50 + grep '^ii' 18:07:50 + '[' -f /tmp/packages_start.txt ']' 18:07:50 + '[' -f /tmp/packages_end.txt ']' 18:07:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:07:50 + '[' /w/workspace/foundry_device-usb-camera_PR-332 ']' 18:07:50 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-332/archives/ 18:07:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-332/archives/ [Pipeline] echo 18:07:50 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:07:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:52 prd-ubuntu20.04-docker-8c-8g-1096 does not seem to be running inside a container 18:07:52 $ 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-332/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-332 -v /w/workspace/foundry_device-usb-camera_PR-332:/w/workspace/foundry_device-usb-camera_PR-332:rw,z -v /w/workspace/foundry_device-usb-camera_PR-332@tmp:/w/workspace/foundry_device-usb-camera_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:07:52 $ docker top 9113b8f6d30ec65effa24dbb39cf1342664de02a199c11fe1543e43fa68c515f -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:52 + touch /tmp/pre-build-complete [Pipeline] sh 18:07:52 + mkdir -p /var/log/sysstat [Pipeline] sh 18:07:53 + ls /var/log/sa-host 18:07:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:53 provisioning config files... 18:07:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-332@tmp/config11391324199641535270tmp [Pipeline] { [Pipeline] echo 18:07:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:07:53 ---> create-netrc.sh [Pipeline] } 18:07:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:07:54 ---> python-tools-install.sh [Pipeline] echo 18:07:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:07:54 ---> sudo-logs.sh 18:07:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:07:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:07:55 ---> job-cost.sh 18:07:55 lf-activate-venv: SKIPPING 18:07:55 DEBUG: total: 0.2199999988079071 18:07:55 INFO: Retrieving Stack Cost... 18:07:55 INFO: Retrieving Pricing Info for: v3-standard-8 18:07:55 INFO: Archiving Costs [Pipeline] echo 18:07:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:07:56 ---> logs-deploy.sh 18:07:56 lf-activate-venv: SKIPPING 18:07:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-332/1 18:07:56 INFO: archiving workspace using pattern(s): 18:07:57 Archives upload complete. 18:07:57 INFO: archiving logs to Nexus 18:07:57 ---> uname -a: 18:07:57 Linux prd-ubuntu20-04-docker-8c-8g-1096 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:07:57 18:07:57