Pull request #335 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c2a5efa92860029cd8e5acc233c360e99f07ab8+edfedc822c0dc9db28708e00dec995595c43813c (b5e55d868c1de43a207b349391c9da8623deb910) 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-ssh18129503219521778735.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-ssh1780746038540220236.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-335/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-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16473791826943030039.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-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4709548422752673036.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-ssh9006495989239904292.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-335/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-335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh797906008122467370.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-4830 in /w/workspace/foundry_device-usb-camera_PR-335 [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-335 # 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/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit edfedc822c0dc9db28708e00dec995595c43813c into PR head commit 7c2a5efa92860029cd8e5acc233c360e99f07ab8 Merge succeeded, producing 7c2a5efa92860029cd8e5acc233c360e99f07ab8 Checking out Revision 7c2a5efa92860029cd8e5acc233c360e99f07ab8 (PR-335) 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 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # 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 edfedc822c0dc9db28708e00dec995595c43813c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:28:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:28:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:28:41 ========================================================= 17:28:41 EdgeX Global Pipelines Version Info 17:28:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:28:42 ------------------- 17:28:42 stable info: 17:28:42 ------------------- 17:28:42 Commited By: Ginny Guan ginny@iotechsys.com 17:28:42 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 17:28:42 Message: update stable to v1.0.260 17:28:43 ------------------- 17:28:43 experimental info: 17:28:43 ------------------- 17:28:43 Commited By: Ginny Guan ginny@iotechsys.com 17:28:43 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 17:28:43 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:28:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:28:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-335 [Pipeline] echo 17:28:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-335 [Pipeline] echo 17:28:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-335 [Pipeline] echo 17:28:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo 17:28:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c2a5ef [Pipeline] echo 17:28:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:45 provisioning config files... 17:28:45 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config7764757533691440249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:45 ---> ****-login.sh 17:28:45 nexus3.edgexfoundry.org:10001 17:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:28:46 Configure a credential helper to remove this warning. See 17:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:28:46 17:28:46 Login Succeeded 17:28:46 nexus3.edgexfoundry.org:10002 17:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:28:46 Configure a credential helper to remove this warning. See 17:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:28:46 17:28:46 Login Succeeded 17:28:46 nexus3.edgexfoundry.org:10003 17:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:28:46 Configure a credential helper to remove this warning. See 17:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:28:46 17:28:46 Login Succeeded 17:28:46 nexus3.edgexfoundry.org:10004 17:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:28:46 Configure a credential helper to remove this warning. See 17:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:28:46 17:28:46 Login Succeeded 17:28:46 ****.io 17:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:28:46 Configure a credential helper to remove this warning. See 17:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:28:46 17:28:46 Login Succeeded 17:28:46 ---> ****-login.sh ends [Pipeline] } 17:28:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:28:47 + git rev-list -1 --merges 7c2a5efa92860029cd8e5acc233c360e99f07ab8~1..7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo 17:28:47 -----------> git rev-list -1 --merges 7c2a5efa92860029cd8e5acc233c360e99f07ab8~1..7c2a5efa92860029cd8e5acc233c360e99f07ab8 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [false] [Pipeline] sh 17:28:48 + git log --format=format:%s -1 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo 17:28:48 ========================================================= 17:28:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:28:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:48 + git log --format=format:%s -1 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo 17:28:48 [semverPrep] GIT_COMMIT: 7c2a5efa92860029cd8e5acc233c360e99f07ab8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:28:48 [semverPrep] This is not a build commit. [Pipeline] sh 17:28:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:28:49 + grep -v github /etc/ssh/ssh_known_hosts 17:28:49 + [ -e /tmp/ssh_known_hosts ] 17:28:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:28:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:28:49 + sudo tee -a /etc/ssh/ssh_known_hosts 17:28:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:49 17:28:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:50 0.1.4: Pulling from edgex-devops/py-git-semver 17:28:50 b85a868b505f: Pulling fs layer 17:28:50 e2be974225ed: Pulling fs layer 17:28:50 339a4e72a1f5: Pulling fs layer 17:28:50 988bab9f4d93: Pulling fs layer 17:28:50 1469e6f7b9e6: Pulling fs layer 17:28:50 eaf3925da568: Pulling fs layer 17:28:50 bab4dde63d76: Pulling fs layer 17:28:50 bde34c3a00c8: Pulling fs layer 17:28:50 b352a97aabf1: Pulling fs layer 17:28:50 4872d77fe225: Pulling fs layer 17:28:50 5851b861e8e6: Pulling fs layer 17:28:50 1469e6f7b9e6: Waiting 17:28:50 eaf3925da568: Waiting 17:28:50 bab4dde63d76: Waiting 17:28:50 bde34c3a00c8: Waiting 17:28:50 b352a97aabf1: Waiting 17:28:50 4872d77fe225: Waiting 17:28:50 988bab9f4d93: Waiting 17:28:50 e2be974225ed: Verifying Checksum 17:28:50 e2be974225ed: Download complete 17:28:50 988bab9f4d93: Download complete 17:28:50 1469e6f7b9e6: Verifying Checksum 17:28:50 1469e6f7b9e6: Download complete 17:28:50 eaf3925da568: Verifying Checksum 17:28:50 eaf3925da568: Download complete 17:28:50 339a4e72a1f5: Verifying Checksum 17:28:50 339a4e72a1f5: Download complete 17:28:50 bde34c3a00c8: Download complete 17:28:50 b352a97aabf1: Verifying Checksum 17:28:50 b352a97aabf1: Download complete 17:28:50 4872d77fe225: Verifying Checksum 17:28:50 4872d77fe225: Download complete 17:28:50 5851b861e8e6: Download complete 17:28:50 b85a868b505f: Download complete 17:28:50 bab4dde63d76: Verifying Checksum 17:28:50 bab4dde63d76: Download complete 17:28:51 b85a868b505f: Pull complete 17:28:51 e2be974225ed: Pull complete 17:28:52 339a4e72a1f5: Pull complete 17:28:52 988bab9f4d93: Pull complete 17:28:52 1469e6f7b9e6: Pull complete 17:28:52 eaf3925da568: Pull complete 17:28:54 bab4dde63d76: Pull complete 17:28:54 bde34c3a00c8: Pull complete 17:28:54 b352a97aabf1: Pull complete 17:28:55 4872d77fe225: Pull complete 17:28:55 5851b861e8e6: Pull complete 17:28:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:28:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:55 prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container 17:28:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:28:59 $ docker top aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 -eo pid,comm 17:28:59 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:28:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:28:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:59 [ssh-agent] Looking for ssh-agent implementation... 17:28:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:59 $ docker exec aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent 17:29:00 SSH_AUTH_SOCK=/tmp/ssh-m9G4S0bNzfwr/agent.33 17:29:00 SSH_AGENT_PID=39 17:29:00 Running ssh-add (command line suppressed) 17:29:00 Identity added: /w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_7400345386395793847.key (/w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_7400345386395793847.key) 17:29:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:00 + git tag --points-at HEAD [Pipeline] } 17:29:00 $ docker exec --env ******** --env ******** aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent -k 17:29:00 unset SSH_AUTH_SOCK; 17:29:00 unset SSH_AGENT_PID; 17:29:00 echo Agent pid 39 killed; 17:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:00 [ssh-agent] Looking for ssh-agent implementation... 17:29:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:00 $ docker exec aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent 17:29:01 SSH_AUTH_SOCK=/tmp/ssh-PTfly6gh9774/agent.72 17:29:01 SSH_AGENT_PID=78 17:29:01 Running ssh-add (command line suppressed) 17:29:01 Identity added: /w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_6179850397783159592.key (/w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_6179850397783159592.key) 17:29:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:01 + git semver init 17:29:01 2024-07-02 17:29:01,718 [run_init] DEBUG init version:0.0.0 force:False 17:29:01 2024-07-02 17:29:01,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-335/.semver 17:29:01 2024-07-02 17:29:01,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-335/.semver 17:29:01 2024-07-02 17:29:01,720 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-335/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-335, universal_newlines=False, shell=None, istream=None) 17:29:03 2024-07-02 17:29:03,504 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-335/.git/info/exclude 17:29:03 2024-07-02 17:29:03,505 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-335/.semver/PR-335 with force:False 17:29:03 2024-07-02 17:29:03,505 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-335/.semver/PR-335 17:29:03 2024-07-02 17:29:03,509 [execute] INFO git cat-file --batch-check 17:29:03 2024-07-02 17:29:03,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-335/.semver, universal_newlines=False, shell=None, istream=) 17:29:03 2024-07-02 17:29:03,516 [execute] INFO git cat-file --batch 17:29:03 2024-07-02 17:29:03,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-335/.semver, universal_newlines=False, shell=None, istream=) 17:29:03 2024-07-02 17:29:03,521 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-335/.semver/PR-335 17:29:03 0.0.0 [Pipeline] } 17:29:03 $ docker exec --env ******** --env ******** aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent -k 17:29:03 unset SSH_AUTH_SOCK; 17:29:03 unset SSH_AGENT_PID; 17:29:03 echo Agent pid 78 killed; 17:29:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:04 + git semver [Pipeline] } 17:29:04 $ docker stop --time=1 aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 17:29:06 $ docker rm -f --volumes aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:06 Stashed 1 file(s) [Pipeline] echo 17:29:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:07 provisioning config files... 17:29:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config14689091615218986641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:08 ---> ****-login.sh 17:29:08 nexus3.edgexfoundry.org:10001 17:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:29:08 Configure a credential helper to remove this warning. See 17:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:29:08 17:29:08 Login Succeeded 17:29:08 nexus3.edgexfoundry.org:10002 17:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:29:08 Configure a credential helper to remove this warning. See 17:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:29:08 17:29:08 Login Succeeded 17:29:08 nexus3.edgexfoundry.org:10003 17:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:29:08 Configure a credential helper to remove this warning. See 17:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:29:08 17:29:08 Login Succeeded 17:29:08 nexus3.edgexfoundry.org:10004 17:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:29:08 Configure a credential helper to remove this warning. See 17:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:29:08 17:29:08 Login Succeeded 17:29:08 ****.io 17:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:29:08 Configure a credential helper to remove this warning. See 17:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:29:08 17:29:08 Login Succeeded 17:29:08 ---> ****-login.sh ends [Pipeline] } 17:29:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:29:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:29:08 ========================================================= 17:29:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:29:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:29:09 Sending build context to Docker daemon 20.43MB 17:29:09 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:29:09 Step 2/13 : FROM ${BASE} AS builder 17:29:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:09 619be1103602: Pulling fs layer 17:29:09 7862e08f4a3e: Pulling fs layer 17:29:09 5df492c9dc93: Pulling fs layer 17:29:09 7629e6793208: Pulling fs layer 17:29:09 4f4fb700ef54: Pulling fs layer 17:29:09 fb5054dd5b73: Pulling fs layer 17:29:09 eeca6798cff9: Pulling fs layer 17:29:09 aa269ceb94a6: Pulling fs layer 17:29:09 ada007ff1a6a: Pulling fs layer 17:29:09 7629e6793208: Waiting 17:29:09 4f4fb700ef54: Waiting 17:29:09 fb5054dd5b73: Waiting 17:29:09 eeca6798cff9: Waiting 17:29:09 aa269ceb94a6: Waiting 17:29:09 ada007ff1a6a: Waiting 17:29:09 7862e08f4a3e: Download complete 17:29:09 7629e6793208: Download complete 17:29:09 4f4fb700ef54: Download complete 17:29:09 fb5054dd5b73: Verifying Checksum 17:29:09 fb5054dd5b73: Download complete 17:29:09 619be1103602: Download complete 17:29:09 eeca6798cff9: Download complete 17:29:10 619be1103602: Pull complete 17:29:10 ada007ff1a6a: Verifying Checksum 17:29:10 ada007ff1a6a: Download complete 17:29:10 7862e08f4a3e: Pull complete 17:29:10 5df492c9dc93: Verifying Checksum 17:29:10 5df492c9dc93: Download complete 17:29:10 aa269ceb94a6: Verifying Checksum 17:29:10 aa269ceb94a6: Download complete 17:29:13 5df492c9dc93: Pull complete 17:29:13 7629e6793208: Pull complete 17:29:13 4f4fb700ef54: Pull complete 17:29:13 fb5054dd5b73: Pull complete 17:29:13 eeca6798cff9: Pull complete 17:29:16 aa269ceb94a6: Pull complete 17:29:16 ada007ff1a6a: Pull complete 17:29:16 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:29:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:29:16 ---> f489d0715acc 17:29:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:29:22 Still waiting to schedule task 17:29:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:29:24 ---> Running in 9cf1854394db 17:29:24 Removing intermediate container 9cf1854394db 17:29:24 ---> 17818f0184a2 17:29:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:29:24 ---> Running in 9c0ece92ed76 17:29:24 Removing intermediate container 9c0ece92ed76 17:29:24 ---> 0844ab8de386 17:29:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:29:24 ---> Running in 4d0da629ac10 17:29:24 Removing intermediate container 4d0da629ac10 17:29:24 ---> f8bc6f796834 17:29:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:29:24 ---> Running in 872502340ce9 17:29:24 Removing intermediate container 872502340ce9 17:29:24 ---> 19cab8c08364 17:29:24 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:24 ---> Running in 1168b697fe99 17:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:29:24 (1/13) Installing libintl (0.21.1-r7) 17:29:24 (2/13) Installing eudev-libs (3.2.11-r8) 17:29:24 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:29:24 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:29:24 (5/13) Installing v4l-utils (1.24.1-r0) 17:29:25 (6/13) Installing libdvbv5 (1.24.1-r0) 17:29:25 (7/13) Installing udev-init-scripts (35-r1) 17:29:25 (8/13) Installing libblkid (2.38.1-r8) 17:29:25 (9/13) Installing xz-libs (5.4.3-r0) 17:29:25 (10/13) Installing kmod-libs (30-r3) 17:29:25 (11/13) Installing eudev (3.2.11-r8) 17:29:25 (12/13) Installing eudev-dev (3.2.11-r8) 17:29:25 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:29:25 Executing busybox-1.36.1-r5.trigger 17:29:25 Executing eudev-3.2.11-r8.trigger 17:29:25 OK: 271 MiB in 65 packages 17:29:25 Removing intermediate container 1168b697fe99 17:29:25 ---> 026bdfa9ad1b 17:29:25 Step 8/13 : WORKDIR /device-usb-camera 17:29:25 ---> Running in 46d2d44d5e13 17:29:26 Removing intermediate container 46d2d44d5e13 17:29:26 ---> 6dcde0f8fb62 17:29:26 Step 9/13 : COPY go.mod vendor* ./ 17:29:26 ---> a69b7ac76a9c 17:29:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:26 ---> Running in 823c5fa633f1 17:30:34 Removing intermediate container 823c5fa633f1 17:30:34 ---> 6f8c1d8ce961 17:30:34 Step 11/13 : COPY . . 17:30:34 ---> f58a7dd31116 17:30:34 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:30:34 ---> Running in f654a84c6228 17:30:35  % Total % Received % Xferd Average Speed Time Time  Time Current 17:30:35  Dload Upload Total Spent Left Speed 17:30:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9381 0 --:--:-- --:--:-- --:--:-- 9482 17:30:36 Removing intermediate container f654a84c6228 17:30:36 ---> 6bb479a9508e 17:30:36 Step 13/13 : RUN ${MAKE} 17:30:36 ---> Running in c000647abeef 17:30:36 noop 17:30:37 Removing intermediate container c000647abeef 17:30:37 ---> f5c693574228 17:30:37 Successfully built f5c693574228 17:30:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:37 + docker inspect -f . ci-base-image-x86_64 17:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:37 prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container 17:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:39 $ docker top c2d6d4d5f563be9741592720c4739497c78ae1c75fc768c7500d1b638c021e8b -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:39 + go version 17:30:39 go version go1.21.9 linux/amd64 [Pipeline] } 17:30:39 $ docker stop --time=1 c2d6d4d5f563be9741592720c4739497c78ae1c75fc768c7500d1b638c021e8b 17:30:41 $ docker rm -f --volumes c2d6d4d5f563be9741592720c4739497c78ae1c75fc768c7500d1b638c021e8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:42 + docker inspect -f . ci-base-image-x86_64 17:30:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:42 prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container 17:30:42 $ 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-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:42 $ docker top cbfbae720c4947732b2de63ea7cfae648d0708d080fd557a59b084f18ebd24b3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:43 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-335 [Pipeline] fileExists [Pipeline] sh 17:30:43 + make test 17:30:43 go test ./... -coverprofile=coverage.out ./... 17:30:49 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:30:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4831 in /w/workspace/foundry_device-usb-camera_PR-335 [Pipeline] { [Pipeline] ws 17:30:59 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:31:02 Selected Git installation does not exist. Using Default 17:31:02 The recommended git tool is: NONE 17:31:10 using credential edgex-jenkins-ssh 17:31:10 Cloning the remote Git repository 17:31:10 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:31:10 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:31:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:31:11 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 4.4% of statements 17:31:10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:31:10 > git --version # timeout=10 17:31:10 > git --version # 'git version 2.25.1' 17:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:31:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:15 Merging remotes/origin/main commit edfedc822c0dc9db28708e00dec995595c43813c into PR head commit 7c2a5efa92860029cd8e5acc233c360e99f07ab8 17:31:16 Merge succeeded, producing 7c2a5efa92860029cd8e5acc233c360e99f07ab8 17:31:16 Checking out Revision 7c2a5efa92860029cd8e5acc233c360e99f07ab8 (PR-335) 17:31:14 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:31:15 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:31:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:31:15 > git config core.sparsecheckout # timeout=10 17:31:15 > git checkout -f 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # timeout=10 17:31:15 > git remote # timeout=10 17:31:15 > git config --get remote.origin.url # timeout=10 17:31:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:16 > git merge edfedc822c0dc9db28708e00dec995595c43813c # timeout=10 17:31:16 > git rev-parse HEAD^{commit} # timeout=10 17:31:16 > git config core.sparsecheckout # timeout=10 17:31:16 > git checkout -f 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # timeout=10 17:31:16 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:31:16 > git --version # timeout=10 17:31:16 > git --version # 'git version 2.25.1' 17:31:17 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 17:31:21 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:31:22 % Total % Received % Xferd Average Speed Time Time Time Current 17:31:22 Dload Upload Total Spent Left Speed 17:31:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 100 12828 100 12828 0 0 92287 0 --:--:-- --:--:-- --:--:-- 92287 [Pipeline] sh 17:31:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:31:22 + sudo tee /etc/docker/daemon.new 17:31:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:31:22 { 17:31:22 "registry-mirrors": [ 17:31:22 "https://nexus3.edgexfoundry.org:10001" 17:31:22 ], 17:31:22 "bip": "10.250.0.254/24", 17:31:22 "hosts": [ 17:31:22 "tcp://0.0.0.0:5555", 17:31:22 "unix:///var/run/docker.sock" 17:31:22 ], 17:31:22 "mtu": 1458, 17:31:22 "selinux-enabled": true, 17:31:22 "seccomp-profile": "/etc/docker/seccomp.json" 17:31:22 } [Pipeline] sh 17:31:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:31:23 + sudo service docker restart 17:31:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:31:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:31:27 ./bin/test-attribution-txt.sh 17:31:27 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:31:27 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:31:27 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:31:27 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:31:27 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:31:27 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:31:27 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:31:27 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:31:27 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:31:27 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:31:27 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:31:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:31:27 $ docker stop --time=1 cbfbae720c4947732b2de63ea7cfae648d0708d080fd557a59b084f18ebd24b3 17:31:40 $ docker rm -f --volumes cbfbae720c4947732b2de63ea7cfae648d0708d080fd557a59b084f18ebd24b3 [Pipeline] // withDockerContainer [Pipeline] sh 17:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:41 provisioning config files... 17:31:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config14745951124237321768tmp [Pipeline] { [Pipeline] libraryResource 17:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 17:31:42 ---> ****-login.sh 17:31:42 nexus3.edgexfoundry.org:10001 17:31:42 + ls -al . 17:31:42 total 292 17:31:42 drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 17:30 . 17:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 17:28 .. 17:31:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 17:31 .git 17:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:28 .github 17:31:42 -rw-rw-r-- 1 jenkins jenkins 379 Jul 2 17:28 .gitignore 17:31:42 -rw-rw-r-- 1 jenkins jenkins 45 Jul 2 17:28 .golangci.yml 17:31:42 -rw-rw-r-- 1 jenkins jenkins 77 Jul 2 17:28 .hadolint.yml 17:31:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 17:29 .semver 17:31:42 -rw-rw-r-- 1 jenkins jenkins 10870 Jul 2 17:28 Attribution.txt 17:31:42 -rw-rw-r-- 1 jenkins jenkins 16561 Jul 2 17:28 CHANGELOG.md 17:31:42 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 2 17:28 Dockerfile 17:31:42 -rw-rw-r-- 1 jenkins jenkins 678 Jul 2 17:28 GOVERNANCE.md 17:31:42 -rw-rw-r-- 1 jenkins jenkins 659 Jul 2 17:28 Jenkinsfile 17:31:42 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 2 17:28 LICENSE 17:31:42 -rw-rw-r-- 1 jenkins jenkins 2611 Jul 2 17:28 Makefile 17:31:42 -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 17:28 OWNERS.md 17:31:42 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 2 17:28 README.md 17:31:42 -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 17:29 VERSION 17:31:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:28 bin 17:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:28 cmd 17:31:42 -rw-r--r-- 1 jenkins jenkins 54703 Jul 2 17:31 coverage.out 17:31:42 -rwxrwxr-x 1 jenkins jenkins 84 Jul 2 17:28 docker-entrypoint.sh 17:31:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:28 docs 17:31:42 -rw-rw-r-- 1 jenkins jenkins 7266 Jul 2 17:28 go.mod 17:31:42 -rw-rw-r-- 1 jenkins jenkins 102297 Jul 2 17:28 go.sum 17:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:28 internal 17:31:42 -rw-rw-r-- 1 jenkins jenkins 231 Jul 2 17:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:43 + 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=7c2a5efa92860029cd8e5acc233c360e99f07ab8 --label arch=amd64 --label version=0.0.0 . 17:31:43 Sending build context to Docker daemon 20.48MB 17:31:43 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:31:43 Step 2/37 : FROM ${BASE} AS builder 17:31:43 ---> f5c693574228 17:31:43 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:31:43 Configure a credential helper to remove this warning. See 17:31:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:31:43 17:31:43 Login Succeeded 17:31:43 nexus3.edgexfoundry.org:10002 17:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:31:43 Configure a credential helper to remove this warning. See 17:31:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:31:43 17:31:43 Login Succeeded 17:31:43 nexus3.edgexfoundry.org:10003 17:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:31:43 Configure a credential helper to remove this warning. See 17:31:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:31:43 17:31:43 Login Succeeded 17:31:43 nexus3.edgexfoundry.org:10004 17:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:31:44 Configure a credential helper to remove this warning. See 17:31:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:31:44 17:31:44 Login Succeeded 17:31:44 ****.io 17:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:31:44 Configure a credential helper to remove this warning. See 17:31:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:31:44 17:31:44 Login Succeeded 17:31:44 ---> ****-login.sh ends [Pipeline] } 17:31:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:31:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:31:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:31:45 ========================================================= 17:31:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:31:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:45 ---> Running in 52ea8d4844e5 17:31:45 + 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:31:46 Removing intermediate container 52ea8d4844e5 17:31:46 ---> 3677120e1b7a 17:31:46 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:31:46 Sending build context to Docker daemon 10.48MB 17:31:46 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:31:46 Step 2/13 : FROM ${BASE} AS builder 17:31:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:31:46 c6b39de5b339: Pulling fs layer 17:31:46 a69c41024577: Pulling fs layer 17:31:46 d6de4b400683: Pulling fs layer 17:31:46 35cb2a7552d0: Pulling fs layer 17:31:46 4f4fb700ef54: Pulling fs layer 17:31:46 464afbd9ba4c: Pulling fs layer 17:31:46 00f215d4a9da: Pulling fs layer 17:31:46 d496ad576159: Pulling fs layer 17:31:46 464afbd9ba4c: Waiting 17:31:46 00f215d4a9da: Waiting 17:31:46 35cb2a7552d0: Waiting 17:31:46 4f4fb700ef54: Waiting 17:31:46 d496ad576159: Waiting 17:31:46 a69c41024577: Verifying Checksum 17:31:46 a69c41024577: Download complete 17:31:46 35cb2a7552d0: Verifying Checksum 17:31:46 35cb2a7552d0: Download complete 17:31:46 4f4fb700ef54: Verifying Checksum 17:31:46 4f4fb700ef54: Download complete 17:31:46 464afbd9ba4c: Verifying Checksum 17:31:46 464afbd9ba4c: Download complete 17:31:46 c6b39de5b339: Verifying Checksum 17:31:46 c6b39de5b339: Download complete 17:31:46 d496ad576159: Verifying Checksum 17:31:46 d496ad576159: Download complete 17:31:47 ---> Running in f255168c0708 17:31:47 c6b39de5b339: Pull complete 17:31:47 Removing intermediate container f255168c0708 17:31:47 ---> dab7dbf72ea1 17:31:47 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:31:48 a69c41024577: Pull complete 17:31:48 d6de4b400683: Verifying Checksum 17:31:48 d6de4b400683: Download complete 17:31:48 ---> Running in 60d6b9c6a1c2 17:31:49 Removing intermediate container 60d6b9c6a1c2 17:31:49 ---> 7749e71c1c7d 17:31:49 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:31:49 00f215d4a9da: Verifying Checksum 17:31:49 00f215d4a9da: Download complete 17:31:49 ---> Running in 75c0e4138233 17:31:50 Removing intermediate container 75c0e4138233 17:31:50 ---> e3453d98e97e 17:31:50 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:51 ---> Running in e007a440534f 17:31:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:31:52 OK: 271 MiB in 65 packages 17:31:53 Removing intermediate container e007a440534f 17:31:53 ---> 8f5ea9d68c4f 17:31:53 Step 8/37 : WORKDIR /device-usb-camera 17:31:54 ---> Running in 74a9b2b228af 17:31:55 Removing intermediate container 74a9b2b228af 17:31:55 ---> 0fcb43bbd1f2 17:31:55 Step 9/37 : COPY go.mod vendor* ./ 17:31:55 ---> f44485985186 17:31:55 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:56 ---> Running in 2621fdd073f3 17:31:58 Removing intermediate container 2621fdd073f3 17:31:58 ---> de6eb161443d 17:31:58 Step 11/37 : COPY . . 17:32:00 ---> 77b088598d29 17:32:00 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:32:01 ---> Running in b9436ca92ec6 17:32:02 d6de4b400683: Pull complete 17:32:02 35cb2a7552d0: Pull complete 17:32:02 4f4fb700ef54: Pull complete 17:32:02 464afbd9ba4c: Pull complete 17:32:02  % Total % Received % Xferd Average Speed Time Time Time Current 17:32:02 Dload Upload Total Spent Left Speed 17:32:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 30670 0 --:--:-- --:--:-- --:--:-- 31235 17:32:04 Removing intermediate container b9436ca92ec6 17:32:04 ---> b2eb242cd3d6 17:32:04 Step 13/37 : RUN ${MAKE} 17:32:04 ---> Running in 53e1b5930172 17:32:06 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.19" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:32:10 00f215d4a9da: Pull complete 17:32:12 d496ad576159: Pull complete 17:32:12 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 17:32:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:32:12 ---> f246e2811388 17:32:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:32:12 ---> Running in 19a85b5bd8ef 17:32:13 Removing intermediate container 19a85b5bd8ef 17:32:13 ---> 9454a1ba5a68 17:32:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:13 ---> Running in e67dbdadd86b 17:32:13 Removing intermediate container e67dbdadd86b 17:32:13 ---> 176226dbffbc 17:32:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:32:13 ---> Running in 653bd040fcdf 17:32:13 Removing intermediate container 653bd040fcdf 17:32:13 ---> a9f1a351012f 17:32:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:32:13 ---> Running in d43bae773966 17:32:14 Removing intermediate container d43bae773966 17:32:14 ---> 8d12506ec4dc 17:32:14 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:14 ---> Running in 46d757b54a9d 17:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:32:16 (1/13) Installing libintl (0.21.1-r7) 17:32:16 (2/13) Installing eudev-libs (3.2.11-r8) 17:32:16 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:32:16 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:32:16 (5/13) Installing v4l-utils (1.24.1-r0) 17:32:17 (6/13) Installing libdvbv5 (1.24.1-r0) 17:32:17 (7/13) Installing udev-init-scripts (35-r1) 17:32:17 (8/13) Installing libblkid (2.38.1-r8) 17:32:17 (9/13) Installing xz-libs (5.4.3-r0) 17:32:17 (10/13) Installing kmod-libs (30-r3) 17:32:17 (11/13) Installing eudev (3.2.11-r8) 17:32:17 (12/13) Installing eudev-dev (3.2.11-r8) 17:32:17 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:32:17 Executing busybox-1.36.1-r5.trigger 17:32:17 Executing eudev-3.2.11-r8.trigger 17:32:17 OK: 273 MiB in 65 packages 17:32:19 Removing intermediate container 46d757b54a9d 17:32:19 ---> 50257dda5e34 17:32:19 Step 8/13 : WORKDIR /device-usb-camera 17:32:19 ---> Running in b4c7aead82ea 17:32:20 Removing intermediate container b4c7aead82ea 17:32:20 ---> 26563d29db03 17:32:20 Step 9/13 : COPY go.mod vendor* ./ 17:32:20 ---> c80dd299d9fc 17:32:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:20 ---> Running in fe8e4509eba0 17:32:53 Removing intermediate container 53e1b5930172 17:32:53 ---> cda0585e2f91 17:32:53 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:32:53 1.8.2: Pulling from bluenviron/mediamtx 17:32:53 8411072a22a5: Pulling fs layer 17:32:53 8411072a22a5: Verifying Checksum 17:32:53 8411072a22a5: Download complete 17:32:53 8411072a22a5: Pull complete 17:32:53 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:32:53 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:32:53 ---> 1ac78cb06e13 17:32:53 Step 15/37 : FROM alpine:3.18 17:32:53 3.18: Pulling from library/alpine 17:32:53 73baa7ef167e: Pulling fs layer 17:32:53 73baa7ef167e: Verifying Checksum 17:32:53 73baa7ef167e: Download complete 17:32:53 73baa7ef167e: Pull complete 17:32:53 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 17:32:53 Status: Downloaded newer image for alpine:3.18 17:32:53 ---> 8fd7cac70a4a 17:32:53 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:32:53 ---> Running in 3f5cb2449924 17:32:53 Removing intermediate container 3f5cb2449924 17:32:53 ---> cf00b5779fb4 17:32:53 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:32:53 ---> Running in 9aa04ffaf7c3 17:32:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:32:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:32:53 (1/107) Installing dumb-init (1.2.5-r2) 17:32:53 (2/107) Installing sdl2 (2.26.5-r0) 17:32:53 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:32:53 (4/107) Installing aom-libs (3.6.1-r0) 17:32:53 (5/107) Installing libxau (1.0.11-r2) 17:32:53 (6/107) Installing libmd (1.0.4-r2) 17:32:53 (7/107) Installing libbsd (0.11.7-r1) 17:32:53 (8/107) Installing libxdmcp (1.1.4-r2) 17:32:53 (9/107) Installing libxcb (1.15-r1) 17:32:53 (10/107) Installing libx11 (1.8.7-r0) 17:32:53 (11/107) Installing hwdata-pci (0.370-r0) 17:32:53 (12/107) Installing libpciaccess (0.17-r2) 17:32:53 (13/107) Installing libdrm (2.4.115-r4) 17:32:53 (14/107) Installing libxext (1.3.5-r2) 17:32:53 (15/107) Installing libxfixes (6.0.1-r2) 17:32:53 (16/107) Installing libffi (3.4.4-r2) 17:32:53 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:32:53 (18/107) Installing libva (2.18.0-r1) 17:32:53 (19/107) Installing libvdpau (1.5-r1) 17:32:53 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:32:53 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:32:53 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:32:53 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:32:53 (24/107) Installing libdav1d (1.2.1-r0) 17:32:53 (25/107) Installing brotli-libs (1.0.9-r14) 17:32:53 (26/107) Installing libhwy (1.0.4-r1) 17:32:53 (27/107) Installing lcms2 (2.15-r2) 17:32:53 (28/107) Installing libjxl (0.8.2-r0) 17:32:53 (29/107) Installing lame-libs (3.100-r5) 17:32:53 (30/107) Installing opus (1.4-r0) 17:32:53 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:32:53 (32/107) Installing soxr (0.1.3-r5) 17:32:53 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:32:53 (34/107) Installing libogg (1.3.5-r4) 17:32:53 (35/107) Installing libtheora (1.1.1-r17) 17:32:53 (36/107) Installing libvorbis (1.3.7-r1) 17:32:53 (37/107) Installing libvpx (1.13.0-r2) 17:32:53 (38/107) Installing libwebp (1.3.2-r0) 17:32:53 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:32:53 (40/107) Installing numactl (2.0.16-r4) 17:32:53 (41/107) Installing x265-libs (3.5-r4) 17:32:53 (42/107) Installing xvidcore (1.3.7-r1) 17:32:53 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:32:53 (44/107) Installing alsa-lib (1.2.9-r1) 17:32:53 (45/107) Installing libexpat (2.6.2-r0) 17:32:53 (46/107) Installing libbz2 (1.0.8-r5) 17:32:53 (47/107) Installing libpng (1.6.39-r3) 17:32:53 (48/107) Installing freetype (2.13.0-r5) 17:32:53 (49/107) Installing fontconfig (2.14.2-r3) 17:32:53 (50/107) Installing fribidi (1.0.13-r0) 17:32:53 (51/107) Installing libintl (0.21.1-r7) 17:32:53 (52/107) Installing libblkid (2.38.1-r8) 17:32:53 (53/107) Installing libmount (2.38.1-r8) 17:32:53 (54/107) Installing pcre2 (10.42-r1) 17:32:53 (55/107) Installing glib (2.76.6-r0) 17:32:53 (56/107) Installing graphite2 (1.3.14-r5) 17:32:53 (57/107) Installing harfbuzz (7.3.0-r0) 17:32:53 (58/107) Installing libunibreak (5.1-r0) 17:32:53 (59/107) Installing libass (0.17.1-r0) 17:32:53 (60/107) Installing libbluray (1.3.4-r0) 17:32:53 (61/107) Installing gmp (6.2.1-r3) 17:32:53 (62/107) Installing nettle (3.8.1-r2) 17:32:53 (63/107) Installing libunistring (1.1-r1) 17:32:53 (64/107) Installing libidn2 (2.3.4-r1) 17:32:53 (65/107) Installing p11-kit (0.24.1-r2) 17:32:53 (66/107) Installing libtasn1 (4.19.0-r1) 17:32:53 (67/107) Installing gnutls (3.8.4-r0) 17:32:53 (68/107) Installing mpg123-libs (1.31.3-r1) 17:32:53 (69/107) Installing libopenmpt (0.7.2-r0) 17:32:53 (70/107) Installing cjson (1.7.17-r0) 17:32:53 (71/107) Installing mbedtls (2.28.8-r0) 17:32:53 (72/107) Installing librist (0.2.7-r0) 17:32:53 (73/107) Installing libsrt (1.5.2-r0) 17:32:53 (74/107) Installing libssh (0.10.5-r0) 17:32:53 (75/107) Installing xz-libs (5.4.3-r0) 17:32:53 (76/107) Installing libxml2 (2.11.8-r0) 17:32:53 (77/107) Installing libsodium (1.0.18-r3) 17:32:53 (78/107) Installing libzmq (4.3.4-r4) 17:32:53 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:32:53 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:32:53 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:32:53 (82/107) Installing shaderc (2023.3-r1) 17:32:53 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:32:53 (84/107) Installing libplacebo (5.264.1-r1) 17:32:53 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:32:53 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:32:53 (87/107) Installing vidstab (1.1.1-r0) 17:32:53 (88/107) Installing zimg (3.0.5-r0) 17:32:53 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:32:53 (90/107) Installing libasyncns (0.8-r1) 17:32:53 (91/107) Installing dbus-libs (1.14.8-r0) 17:32:53 (92/107) Installing libltdl (2.4.7-r2) 17:32:53 (93/107) Installing orc (0.4.34-r0) 17:32:53 (94/107) Installing flac-libs (1.4.3-r0) 17:32:53 (95/107) Installing libsndfile (1.2.0-r2) 17:32:53 (96/107) Installing speexdsp (1.2.1-r1) 17:32:53 (97/107) Installing tdb-libs (1.4.8-r1) 17:32:53 (98/107) Installing libpulse (16.1-r10) 17:32:53 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:32:53 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:32:53 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:32:53 (102/107) Installing ffmpeg (6.0.1-r0) 17:32:53 (103/107) Installing udev-init-scripts (35-r1) 17:32:53 (104/107) Installing eudev-libs (3.2.11-r8) 17:32:53 (105/107) Installing zstd-libs (1.5.5-r4) 17:32:53 (106/107) Installing kmod-libs (30-r3) 17:32:53 (107/107) Installing eudev (3.2.11-r8) 17:32:53 Executing busybox-1.36.1-r7.trigger 17:32:53 Executing glib-2.76.6-r0.trigger 17:32:53 Executing eudev-3.2.11-r8.trigger 17:32:53 OK: 131 MiB in 122 packages 17:32:57 Removing intermediate container 9aa04ffaf7c3 17:32:57 ---> 9335d40adfd3 17:32:57 Step 18/37 : RUN apk --no-cache upgrade 17:32:57 ---> Running in a7358f316937 17:32:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:32:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:32:57 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 17:32:57 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 17:32:57 OK: 131 MiB in 122 packages 17:32:58 Removing intermediate container a7358f316937 17:32:58 ---> f547a45fcfb2 17:32:58 Step 19/37 : WORKDIR / 17:32:58 ---> Running in eb21319bcb9b 17:32:58 Removing intermediate container eb21319bcb9b 17:32:58 ---> dffbd0cd6c6c 17:32:58 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:32:59 ---> 8773ea2ed33b 17:32:59 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:32:59 ---> 3242fbcc7bb4 17:32:59 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:32:59 ---> 38431fd65239 17:32:59 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:33:00 ---> 7b14f1739bb9 17:33:00 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:33:00 ---> c6509ac2ac20 17:33:00 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:33:00 ---> 804d19df90f5 17:33:00 Step 26/37 : COPY --from=rtsp /mediamtx / 17:33:01 ---> cd620d69ff35 17:33:01 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:33:01 ---> Running in b20495103500 17:33:02 Removing intermediate container b20495103500 17:33:02 ---> 7a98646e5f4f 17:33:02 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:33:02 ---> Running in 609b1bf6c0f9 17:33:03 Removing intermediate container 609b1bf6c0f9 17:33:03 ---> cb7002abdc24 17:33:03 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:33:03 ---> Running in 156574fb2805 17:33:04 Removing intermediate container 156574fb2805 17:33:04 ---> 62b536317405 17:33:04 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:33:04 ---> Running in 78a62d9c7f7a 17:33:04 Removing intermediate container 78a62d9c7f7a 17:33:04 ---> 7c8338b02b5e 17:33:04 Step 31/37 : EXPOSE 59983 17:33:04 ---> Running in 0a1d65d3f574 17:33:04 Removing intermediate container 0a1d65d3f574 17:33:04 ---> 36f76ac9c28e 17:33:04 Step 32/37 : EXPOSE 8554 17:33:04 ---> Running in 722a4a907ea6 17:33:04 Removing intermediate container 722a4a907ea6 17:33:04 ---> 2192fe34c16a 17:33:04 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:33:04 ---> Running in cecb8b197bef 17:33:05 Removing intermediate container cecb8b197bef 17:33:05 ---> beb4af696f6d 17:33:05 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:33:05 ---> Running in 1b4d0d275427 17:33:05 Removing intermediate container 1b4d0d275427 17:33:05 ---> 8cb09f160ef7 17:33:05 Step 35/37 : LABEL arch=amd64 17:33:05 ---> Running in cb8cb973b27a 17:33:05 Removing intermediate container cb8cb973b27a 17:33:05 ---> de7bd13e77b8 17:33:05 Step 36/37 : LABEL git_sha=7c2a5efa92860029cd8e5acc233c360e99f07ab8 17:33:05 ---> Running in 40e60824988f 17:33:05 Removing intermediate container 40e60824988f 17:33:05 ---> f28698ae3e8e 17:33:05 Step 37/37 : LABEL version=0.0.0 17:33:05 ---> Running in baf8d08e561e 17:33:05 Removing intermediate container baf8d08e561e 17:33:05 ---> 903188abd5c5 17:33:05 [Warning] One or more build-args [ARCH] were not consumed 17:33:05 Successfully built 903188abd5c5 17:33:05 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:33:06 17:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:33:07 latest: Pulling from edgex-lftools-log-publisher 17:33:07 5eb5b503b376: Pulling fs layer 17:33:07 5c69ac0246d0: Pulling fs layer 17:33:07 ec43610c2a17: Pulling fs layer 17:33:07 3a2ae6a8a46f: Pulling fs layer 17:33:07 33b1e0a273af: Pulling fs layer 17:33:07 3a2ae6a8a46f: Waiting 17:33:07 5d3b04190fa2: Pulling fs layer 17:33:07 2f39f015ded8: Pulling fs layer 17:33:07 5d3b04190fa2: Waiting 17:33:07 33b1e0a273af: Waiting 17:33:07 5c69ac0246d0: Download complete 17:33:07 3a2ae6a8a46f: Verifying Checksum 17:33:07 3a2ae6a8a46f: Download complete 17:33:07 33b1e0a273af: Verifying Checksum 17:33:07 33b1e0a273af: Download complete 17:33:07 5d3b04190fa2: Verifying Checksum 17:33:07 5d3b04190fa2: Download complete 17:33:07 ec43610c2a17: Verifying Checksum 17:33:07 ec43610c2a17: Download complete 17:33:07 5eb5b503b376: Verifying Checksum 17:33:07 5eb5b503b376: Download complete 17:33:08 2f39f015ded8: Verifying Checksum 17:33:08 2f39f015ded8: Download complete 17:33:08 5eb5b503b376: Pull complete 17:33:08 5c69ac0246d0: Pull complete 17:33:09 ec43610c2a17: Pull complete 17:33:09 3a2ae6a8a46f: Pull complete 17:33:10 33b1e0a273af: Pull complete 17:33:10 5d3b04190fa2: Pull complete 17:33:20 2f39f015ded8: Pull complete 17:33:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:33:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:33:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:24 prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container 17:33:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:33:25 $ docker top 147bfcc0d0e1d5f3897a79c65d9d18b069e8467821ccb3d1c8690ebb0ecfdf58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:26 ---> job-cost.sh 17:33:26 lf-activate-venv: SKIPPING 17:33:26 INFO: No Stack... 17:33:26 INFO: Retrieving Pricing Info for: v3-standard-8 17:33:26 INFO: Archiving Costs [Pipeline] sh 17:33:27 + cat /w/workspace/foundry_device-usb-camera_PR-335/archives/cost.csv 17:33:27 + cut -d, -f6 [Pipeline] lock 17:33:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] 17:33:27 Resource [jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] did not exist. Created. 17:33:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:33:27 + echo total: 0.2199999988079071 [Pipeline] stash 17:33:27 Stashed 1 file(s) [Pipeline] } 17:33:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:33:27 $ docker stop --time=1 147bfcc0d0e1d5f3897a79c65d9d18b069e8467821ccb3d1c8690ebb0ecfdf58 17:33:29 $ docker rm -f --volumes 147bfcc0d0e1d5f3897a79c65d9d18b069e8467821ccb3d1c8690ebb0ecfdf58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:34:12 Removing intermediate container fe8e4509eba0 17:34:12 ---> 5db117922f82 17:34:12 Step 11/13 : COPY . . 17:34:12 ---> 55919d8b6d57 17:34:12 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:34:12 ---> Running in 0a74dd35eed0 17:34:12  % Total  % Received % Xferd Average Speed Time Time Time Current 17:34:12 Dload Upload Total Spent Left Speed 17:34:12 0 0  0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 8272  0 --:--:-- --:--:-- --:--:-- 8362 17:34:12 Removing intermediate container 0a74dd35eed0 17:34:12 ---> d4bf4a03f9bf 17:34:12 Step 13/13 : RUN ${MAKE} 17:34:12 ---> Running in 31be5ec48df5 17:34:12 noop 17:34:12 Removing intermediate container 31be5ec48df5 17:34:12 ---> adf206c74743 17:34:12 Successfully built adf206c74743 17:34:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:12 + docker inspect -f . ci-base-image-arm64 17:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:13 prd-ubuntu20.04-docker-arm64-4c-16g-4831 does not seem to be running inside a container 17:34:13 $ 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:34:14 $ docker top 3516820d34b1fc868c4fcfb1f580588aff8cedce43afef118085243ec81def3d -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:15 + go version 17:34:15 go version go1.21.9 linux/arm64 [Pipeline] } 17:34:15 $ docker stop --time=1 3516820d34b1fc868c4fcfb1f580588aff8cedce43afef118085243ec81def3d 17:34:17 $ docker rm -f --volumes 3516820d34b1fc868c4fcfb1f580588aff8cedce43afef118085243ec81def3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:17 + docker inspect -f . ci-base-image-arm64 17:34:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:18 prd-ubuntu20.04-docker-arm64-4c-16g-4831 does not seem to be running inside a container 17:34:18 $ 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:34:19 $ docker top e83a4a1824b39e7a5cc25b93d2c594cde9035d2fd1b818157f61377e0c0565e7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:20 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:34:20 + make test 17:34:20 go test ./... -coverprofile=coverage.out ./... 17:34:26 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:37:48 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:37:48 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.061s coverage: 4.4% of statements 17:37:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:37:48 go vet ./... 17:38:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:38:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:38:35 ./bin/test-attribution-txt.sh 17:38:35 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:38:35 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:38:35 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:38:35 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:38:35 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:38:35 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:38:35 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:38:35 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:38:35 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:38:35 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:38:35 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:38:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:38:35 $ docker stop --time=1 e83a4a1824b39e7a5cc25b93d2c594cde9035d2fd1b818157f61377e0c0565e7 17:38:37 $ docker rm -f --volumes e83a4a1824b39e7a5cc25b93d2c594cde9035d2fd1b818157f61377e0c0565e7 [Pipeline] // withDockerContainer [Pipeline] sh 17:38:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:38:38 Warning: overwriting stash ‘coverage-report’ 17:38:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:38:40 + ls -al . 17:38:40 total 288 17:38:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 17:34 . 17:38:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 17:31 .. 17:38:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 17:31 .git 17:38:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:31 .github 17:38:40 -rw-rw-r-- 1 jenkins jenkins 379 Jul 2 17:31 .gitignore 17:38:40 -rw-rw-r-- 1 jenkins jenkins 45 Jul 2 17:31 .golangci.yml 17:38:40 -rw-rw-r-- 1 jenkins jenkins 77 Jul 2 17:31 .hadolint.yml 17:38:40 -rw-rw-r-- 1 jenkins jenkins 10870 Jul 2 17:31 Attribution.txt 17:38:40 -rw-rw-r-- 1 jenkins jenkins 16561 Jul 2 17:31 CHANGELOG.md 17:38:40 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 2 17:31 Dockerfile 17:38:40 -rw-rw-r-- 1 jenkins jenkins 678 Jul 2 17:31 GOVERNANCE.md 17:38:40 -rw-rw-r-- 1 jenkins jenkins 659 Jul 2 17:31 Jenkinsfile 17:38:40 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 2 17:31 LICENSE 17:38:40 -rw-rw-r-- 1 jenkins jenkins 2611 Jul 2 17:31 Makefile 17:38:40 -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 17:31 OWNERS.md 17:38:40 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 2 17:31 README.md 17:38:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 17:29 VERSION 17:38:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:31 bin 17:38:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:31 cmd 17:38:40 -rw-r--r-- 1 jenkins jenkins 54703 Jul 2 17:37 coverage.out 17:38:40 -rwxrwxr-x 1 jenkins jenkins 84 Jul 2 17:31 docker-entrypoint.sh 17:38:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:31 docs 17:38:40 -rw-rw-r-- 1 jenkins jenkins 7266 Jul 2 17:31 go.mod 17:38:40 -rw-rw-r-- 1 jenkins jenkins 102297 Jul 2 17:31 go.sum 17:38:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:31 internal 17:38:40 -rw-rw-r-- 1 jenkins jenkins 231 Jul 2 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:40 + 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=7c2a5efa92860029cd8e5acc233c360e99f07ab8 --label arch=arm64 --label version=0.0.0 . 17:38:41 Sending build context to Docker daemon 10.53MB 17:38:41 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:38:41 Step 2/37 : FROM ${BASE} AS builder 17:38:41 ---> adf206c74743 17:38:41 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:38:41 ---> Running in 8d1452b98c3c 17:38:41 Removing intermediate container 8d1452b98c3c 17:38:41 ---> 23d7f83a7f37 17:38:41 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:38:41 ---> Running in c83f985c9775 17:38:42 Removing intermediate container c83f985c9775 17:38:42 ---> f356fd1ddfd9 17:38:42 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:38:42 ---> Running in 3a9d90063dc0 17:38:42 Removing intermediate container 3a9d90063dc0 17:38:42 ---> ac4497b1edab 17:38:42 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:38:42 ---> Running in e52a827da9dd 17:38:42 Removing intermediate container e52a827da9dd 17:38:42 ---> 38671c84324e 17:38:42 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:42 ---> Running in 5a0d419e30f4 17:38:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:38:45 OK: 273 MiB in 65 packages 17:38:46 Removing intermediate container 5a0d419e30f4 17:38:46 ---> 2218b9c1c983 17:38:46 Step 8/37 : WORKDIR /device-usb-camera 17:38:46 ---> Running in 23c37a3d923c 17:38:46 Removing intermediate container 23c37a3d923c 17:38:46 ---> 41863829942f 17:38:46 Step 9/37 : COPY go.mod vendor* ./ 17:38:46 ---> 6e193d5ba5b2 17:38:46 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:46 ---> Running in 9f7d6ffc6c91 17:38:49 Removing intermediate container 9f7d6ffc6c91 17:38:49 ---> 68a473696ba7 17:38:49 Step 11/37 : COPY . . 17:38:50 ---> 042698b3dc2d 17:38:50 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:38:50 ---> Running in 00e3dde7461a 17:38:51  % Total % Received % Xferd Average Speed Time Time Time Current 17:38:51 Dload Upload Total Spent Left Speed 17:38:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0  0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5113 0 --:--:-- --:--:-- --:--:-- 5205 17:38:52 Removing intermediate container 00e3dde7461a 17:38:52 ---> 5da00363e975 17:38:52 Step 13/37 : RUN ${MAKE} 17:38:52 ---> Running in c4df196d0895 17:38:53 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.19" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:42:30 Removing intermediate container c4df196d0895 17:42:30 ---> 09d08b2a1052 17:42:30 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:42:30 1.8.2: Pulling from bluenviron/mediamtx 17:42:30 da4d7e05a7aa: Pulling fs layer 17:42:30 da4d7e05a7aa: Verifying Checksum 17:42:30 da4d7e05a7aa: Download complete 17:42:31 da4d7e05a7aa: Pull complete 17:42:31 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:42:31 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:42:31 ---> 62c65ed7ef0d 17:42:31 Step 15/37 : FROM alpine:3.18 17:42:31 3.18: Pulling from library/alpine 17:42:31 5c905c7ebe2f: Pulling fs layer 17:42:32 5c905c7ebe2f: Verifying Checksum 17:42:32 5c905c7ebe2f: Download complete 17:42:32 5c905c7ebe2f: Pull complete 17:42:32 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 17:42:32 Status: Downloaded newer image for alpine:3.18 17:42:32 ---> dec292d02e07 17:42:32 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:42:33 ---> Running in f5622910a032 17:42:33 Removing intermediate container f5622910a032 17:42:33 ---> 01ec28ac1df8 17:42:33 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:42:33 ---> Running in 7c35723d8d43 17:42:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:42:35 (1/104) Installing dumb-init (1.2.5-r2) 17:42:35 (2/104) Installing sdl2 (2.26.5-r0) 17:42:35 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:42:36 (4/104) Installing aom-libs (3.6.1-r0) 17:42:36 (5/104) Installing libxau (1.0.11-r2) 17:42:36 (6/104) Installing libmd (1.0.4-r2) 17:42:36 (7/104) Installing libbsd (0.11.7-r1) 17:42:36 (8/104) Installing libxdmcp (1.1.4-r2) 17:42:36 (9/104) Installing libxcb (1.15-r1) 17:42:36 (10/104) Installing libx11 (1.8.7-r0) 17:42:36 (11/104) Installing libdrm (2.4.115-r4) 17:42:36 (12/104) Installing libxext (1.3.5-r2) 17:42:36 (13/104) Installing libxfixes (6.0.1-r2) 17:42:36 (14/104) Installing libffi (3.4.4-r2) 17:42:36 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:42:36 (16/104) Installing libva (2.18.0-r1) 17:42:37 (17/104) Installing libvdpau (1.5-r1) 17:42:37 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 17:42:37 (19/104) Installing libdav1d (1.2.1-r0) 17:42:37 (20/104) Installing brotli-libs (1.0.9-r14) 17:42:37 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:42:37 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:42:37 (23/104) Installing libhwy (1.0.4-r1) 17:42:37 (24/104) Installing lcms2 (2.15-r2) 17:42:37 (25/104) Installing libjxl (0.8.2-r0) 17:42:37 (26/104) Installing lame-libs (3.100-r5) 17:42:37 (27/104) Installing opus (1.4-r0) 17:42:37 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:42:37 (29/104) Installing soxr (0.1.3-r5) 17:42:37 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 17:42:37 (31/104) Installing libogg (1.3.5-r4) 17:42:37 (32/104) Installing libtheora (1.1.1-r17) 17:42:37 (33/104) Installing libvorbis (1.3.7-r1) 17:42:37 (34/104) Installing libvpx (1.13.0-r2) 17:42:38 (35/104) Installing libwebp (1.3.2-r0) 17:42:38 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:42:38 (37/104) Installing numactl (2.0.16-r4) 17:42:38 (38/104) Installing x265-libs (3.5-r4) 17:42:38 (39/104) Installing xvidcore (1.3.7-r1) 17:42:38 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 17:42:39 (41/104) Installing alsa-lib (1.2.9-r1) 17:42:39 (42/104) Installing libexpat (2.6.2-r0) 17:42:39 (43/104) Installing libbz2 (1.0.8-r5) 17:42:39 (44/104) Installing libpng (1.6.39-r3) 17:42:39 (45/104) Installing freetype (2.13.0-r5) 17:42:39 (46/104) Installing fontconfig (2.14.2-r3) 17:42:39 (47/104) Installing fribidi (1.0.13-r0) 17:42:39 (48/104) Installing libintl (0.21.1-r7) 17:42:39 (49/104) Installing libblkid (2.38.1-r8) 17:42:39 (50/104) Installing libmount (2.38.1-r8) 17:42:39 (51/104) Installing pcre2 (10.42-r1) 17:42:40 (52/104) Installing glib (2.76.6-r0) 17:42:40 (53/104) Installing graphite2 (1.3.14-r5) 17:42:40 (54/104) Installing harfbuzz (7.3.0-r0) 17:42:40 (55/104) Installing libunibreak (5.1-r0) 17:42:40 (56/104) Installing libass (0.17.1-r0) 17:42:40 (57/104) Installing libbluray (1.3.4-r0) 17:42:40 (58/104) Installing gmp (6.2.1-r3) 17:42:40 (59/104) Installing nettle (3.8.1-r2) 17:42:40 (60/104) Installing libunistring (1.1-r1) 17:42:40 (61/104) Installing libidn2 (2.3.4-r1) 17:42:40 (62/104) Installing p11-kit (0.24.1-r2) 17:42:40 (63/104) Installing libtasn1 (4.19.0-r1) 17:42:40 (64/104) Installing gnutls (3.8.4-r0) 17:42:41 (65/104) Installing mpg123-libs (1.31.3-r1) 17:42:41 (66/104) Installing libopenmpt (0.7.2-r0) 17:42:41 (67/104) Installing cjson (1.7.17-r0) 17:42:41 (68/104) Installing mbedtls (2.28.8-r0) 17:42:41 (69/104) Installing librist (0.2.7-r0) 17:42:41 (70/104) Installing libsrt (1.5.2-r0) 17:42:41 (71/104) Installing libssh (0.10.5-r0) 17:42:41 (72/104) Installing xz-libs (5.4.3-r0) 17:42:41 (73/104) Installing libxml2 (2.11.8-r0) 17:42:41 (74/104) Installing libsodium (1.0.18-r3) 17:42:41 (75/104) Installing libzmq (4.3.4-r4) 17:42:42 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 17:42:42 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:42:42 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:42:42 (79/104) Installing shaderc (2023.3-r1) 17:42:42 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:42:42 (81/104) Installing libplacebo (5.264.1-r1) 17:42:43 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 17:42:43 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 17:42:43 (84/104) Installing vidstab (1.1.1-r0) 17:42:43 (85/104) Installing zimg (3.0.5-r0) 17:42:43 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 17:42:43 (87/104) Installing libasyncns (0.8-r1) 17:42:43 (88/104) Installing dbus-libs (1.14.8-r0) 17:42:43 (89/104) Installing libltdl (2.4.7-r2) 17:42:43 (90/104) Installing orc (0.4.34-r0) 17:42:43 (91/104) Installing flac-libs (1.4.3-r0) 17:42:43 (92/104) Installing libsndfile (1.2.0-r2) 17:42:43 (93/104) Installing speexdsp (1.2.1-r1) 17:42:44 (94/104) Installing tdb-libs (1.4.8-r1) 17:42:44 (95/104) Installing libpulse (16.1-r10) 17:42:44 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:42:44 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:42:44 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 17:42:44 (99/104) Installing ffmpeg (6.0.1-r0) 17:42:44 (100/104) Installing udev-init-scripts (35-r1) 17:42:44 (101/104) Installing eudev-libs (3.2.11-r8) 17:42:44 (102/104) Installing zstd-libs (1.5.5-r4) 17:42:44 (103/104) Installing kmod-libs (30-r3) 17:42:44 (104/104) Installing eudev (3.2.11-r8) 17:42:44 Executing busybox-1.36.1-r7.trigger 17:42:44 Executing glib-2.76.6-r0.trigger 17:42:44 Executing eudev-3.2.11-r8.trigger 17:42:44 OK: 110 MiB in 119 packages 17:42:49 Removing intermediate container 7c35723d8d43 17:42:49 ---> 5e59e6eed7b9 17:42:49 Step 18/37 : RUN apk --no-cache upgrade 17:42:49 ---> Running in 19fa2d579078 17:42:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:42:50 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 17:42:51 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 17:42:51 OK: 110 MiB in 119 packages 17:42:52 Removing intermediate container 19fa2d579078 17:42:52 ---> bf75a957ee69 17:42:52 Step 19/37 : WORKDIR / 17:42:52 ---> Running in fce534d72b1c 17:42:52 Removing intermediate container fce534d72b1c 17:42:52 ---> efa4b1aa8430 17:42:52 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:42:55 ---> 8d2a0550baae 17:42:55 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:42:55 ---> 61be8aefb3ce 17:42:55 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:42:55 ---> b40491344b11 17:42:55 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:42:56 ---> 2d3ddd6c1c43 17:42:56 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:42:56 ---> 5bd4f547e382 17:42:56 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:42:57 ---> 2f9491fdbf60 17:42:57 Step 26/37 : COPY --from=rtsp /mediamtx / 17:42:59 ---> 45b1ec529279 17:42:59 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:42:59 ---> Running in bde8ad1712cc 17:43:00 Removing intermediate container bde8ad1712cc 17:43:00 ---> c0e5d9b93fd7 17:43:00 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:43:00 ---> Running in 3b4bfbc15837 17:43:02 Removing intermediate container 3b4bfbc15837 17:43:02 ---> 502cd99525b7 17:43:02 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:43:02 ---> Running in fc504087c7fc 17:43:03 Removing intermediate container fc504087c7fc 17:43:03 ---> 26b14f5ea9a0 17:43:03 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:43:03 ---> Running in cd4d7a7f3d50 17:43:05 Removing intermediate container cd4d7a7f3d50 17:43:05 ---> 9740c6f42f5e 17:43:05 Step 31/37 : EXPOSE 59983 17:43:05 ---> Running in 0d21856d26ea 17:43:05 Removing intermediate container 0d21856d26ea 17:43:05 ---> fee824957e37 17:43:05 Step 32/37 : EXPOSE 8554 17:43:05 ---> Running in 05cf74fc6619 17:43:06 Removing intermediate container 05cf74fc6619 17:43:06 ---> df0835d13f60 17:43:06 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:43:06 ---> Running in 22df6e8e12d6 17:43:06 Removing intermediate container 22df6e8e12d6 17:43:06 ---> b13fb0366796 17:43:06 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:43:06 ---> Running in b77e06f8af36 17:43:06 Removing intermediate container b77e06f8af36 17:43:06 ---> 18208264c2f9 17:43:06 Step 35/37 : LABEL arch=arm64 17:43:07 ---> Running in 701b72516902 17:43:07 Removing intermediate container 701b72516902 17:43:07 ---> c220ac9ffbf4 17:43:07 Step 36/37 : LABEL git_sha=7c2a5efa92860029cd8e5acc233c360e99f07ab8 17:43:07 ---> Running in f9c2d88a5b49 17:43:07 Removing intermediate container f9c2d88a5b49 17:43:07 ---> 8c6137f9b849 17:43:07 Step 37/37 : LABEL version=0.0.0 17:43:07 ---> Running in f825fc3e837d 17:43:07 Removing intermediate container f825fc3e837d 17:43:07 ---> 8d444ce27e27 17:43:07 [Warning] One or more build-args [ARCH] were not consumed 17:43:08 Successfully built 8d444ce27e27 17:43:08 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:09 17:43:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:09 arm64: Pulling from edgex-lftools-log-publisher 17:43:09 8998bd30e6a1: Pulling fs layer 17:43:09 04944245beec: Pulling fs layer 17:43:09 699f458cf7ca: Pulling fs layer 17:43:09 765212b225bb: Pulling fs layer 17:43:09 f23df028b6ca: Pulling fs layer 17:43:09 d65c8cfc05b1: Pulling fs layer 17:43:09 2437ff75d9bd: Pulling fs layer 17:43:09 765212b225bb: Waiting 17:43:09 f23df028b6ca: Waiting 17:43:09 d65c8cfc05b1: Waiting 17:43:09 2437ff75d9bd: Waiting 17:43:09 04944245beec: Verifying Checksum 17:43:09 04944245beec: Download complete 17:43:09 765212b225bb: Verifying Checksum 17:43:09 765212b225bb: Download complete 17:43:09 f23df028b6ca: Verifying Checksum 17:43:09 f23df028b6ca: Download complete 17:43:09 d65c8cfc05b1: Verifying Checksum 17:43:09 d65c8cfc05b1: Download complete 17:43:10 699f458cf7ca: Verifying Checksum 17:43:10 699f458cf7ca: Download complete 17:43:10 8998bd30e6a1: Verifying Checksum 17:43:10 8998bd30e6a1: Download complete 17:43:12 2437ff75d9bd: Verifying Checksum 17:43:12 2437ff75d9bd: Download complete 17:43:15 8998bd30e6a1: Pull complete 17:43:15 04944245beec: Pull complete 17:43:17 699f458cf7ca: Pull complete 17:43:17 765212b225bb: Pull complete 17:43:18 f23df028b6ca: Pull complete 17:43:18 d65c8cfc05b1: Pull complete 17:43:36 2437ff75d9bd: Pull complete 17:43:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:36 prd-ubuntu20.04-docker-arm64-4c-16g-4831 does not seem to be running inside a container 17:43:36 $ 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 17:43:39 $ docker top e8feb87ea6bebc3e49d6e2ca3aafb173557561f5e21ccf2c745f9c9a117e9ca0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:40 ---> job-cost.sh 17:43:40 lf-activate-venv: SKIPPING 17:43:40 INFO: No Stack... 17:43:40 INFO: Retrieving Pricing Info for: v3-standard-4 17:43:41 INFO: Archiving Costs [Pipeline] sh 17:43:42 + cut -d, -f6 17:43:42 + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock 17:43:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] 17:43:42 Resource [jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] did not exist. Created. 17:43:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:43:42 /w/workspace/device-usb-camera/1@tmp/durable-a5dc14ac/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:43:43 + echo total: 0.10999999940395355 [Pipeline] stash 17:43:43 Warning: overwriting stash ‘stack-cost’ 17:43:43 Stashed 1 file(s) [Pipeline] } 17:43:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:43:43 $ docker stop --time=1 e8feb87ea6bebc3e49d6e2ca3aafb173557561f5e21ccf2c745f9c9a117e9ca0 17:43:45 $ docker rm -f --volumes e8feb87ea6bebc3e49d6e2ca3aafb173557561f5e21ccf2c745f9c9a117e9ca0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:43:46 provisioning config files... 17:43:46 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config7905437155431462066tmp [Pipeline] { [Pipeline] sh 17:43:46 + set +x 17:43:46 + bash -s -- 17:43:46 + curl -s https://codecov.io/bash 17:43:46 17:43:46 _____ _ 17:43:46 / ____| | | 17:43:46 | | ___ __| | ___ ___ _____ __ 17:43:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:43:46 | |___| (_) | (_| | __/ (_| (_) \ V / 17:43:46 \_____\___/ \__,_|\___|\___\___/ \_/ 17:43:46 Bash-1.0.6 17:43:46 17:43:46 17:43:46 ==> git version 2.25.1 found 17:43: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 17:43:46 Release-Date: 2020-01-08 17:43: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 17:43:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:43:46 ==> Jenkins CI detected. 17:43:46 current dir:  /w/workspace/foundry_device-usb-camera_PR-335 17:43:46 project root: . 17:43:46 --> token set from env 17:43:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:43:46 ==> Running gcov in . (disable via -X gcov) 17:43:46 ==> Python coveragepy not found 17:43:46 ==> Searching for coverage reports in: 17:43:46 + . 17:43:47 -> Found 1 reports 17:43:47 ==> Detecting git/mercurial file structure 17:43:47 ==> Reading reports 17:43:47 + ./coverage.out bytes=54703 17:43:47 ==> Appending adjustments 17:43:47 https://docs.codecov.io/docs/fixing-reports 17:43:47 + Found adjustments 17:43:47 ==> Gzipping contents 17:43:47 8.0K /tmp/codecov.CLUWas.gz 17:43:47 ==> Uploading reports 17:43:47 url: https://codecov.io 17:43:47 query: branch=PR-335&commit=7c2a5efa92860029cd8e5acc233c360e99f07ab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=335&job=&cmd_args= 17:43:47 -> Pinging Codecov 17:43:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-335&commit=7c2a5efa92860029cd8e5acc233c360e99f07ab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=335&job=&cmd_args= 17:43:47 -> Uploading to 17:43:47 https://storage.googleapis.com/codecov/v4/raw/2024-07-02/73D8F5FF140700D3E01443B452E23636/7c2a5efa92860029cd8e5acc233c360e99f07ab8/50476f88-d6eb-46de-9a65-323553d69a29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T174347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5970a57066299725bdb8b27c5ccec4278b56d835e4a2770e1fe31af411619ae 17:43:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:43:47 Dload Upload Total Spent Left Speed 17:43:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 25874 --:--:-- --:--:-- --:--:-- 25874 17:43:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] } 17:43: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 17:43:51 + [ -d /w/workspace/foundry_device-usb-camera_PR-335/archives ] 17:43:51 + ls -al /w/workspace/foundry_device-usb-camera_PR-335/archives 17:43:51 total 16 17:43:51 drwxr-xr-x 3 root root 4096 Jul 2 17:33 . 17:43:51 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 17:33 .. 17:43:51 drwxr-xr-x 2 root root 4096 Jul 2 17:33 cost 17:43:51 -rw-r--r-- 1 root root 89 Jul 2 17:33 cost.csv 17:43:51 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-335/archives 17:43:51 + ls -al /w/workspace/foundry_device-usb-camera_PR-335/archives 17:43:51 total 16 17:43:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 17:33 . 17:43:51 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 17:33 .. 17:43:51 drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 17:33 cost 17:43:51 -rw-r--r-- 1 jenkins jenkins 89 Jul 2 17:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:43:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:43:52 ---> package-listing.sh 17:43:52 ++ facter osfamily 17:43:52 ++ tr '[:upper:]' '[:lower:]' 17:43:52 + OS_FAMILY=debian 17:43:52 + workspace=/w/workspace/foundry_device-usb-camera_PR-335 17:43:52 + START_PACKAGES=/tmp/packages_start.txt 17:43:52 + END_PACKAGES=/tmp/packages_end.txt 17:43:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:43:52 + PACKAGES=/tmp/packages_start.txt 17:43:52 + '[' /w/workspace/foundry_device-usb-camera_PR-335 ']' 17:43:52 + PACKAGES=/tmp/packages_end.txt 17:43:52 + case "${OS_FAMILY}" in 17:43:52 + dpkg -l 17:43:52 + grep '^ii' 17:43:52 + '[' -f /tmp/packages_start.txt ']' 17:43:52 + '[' -f /tmp/packages_end.txt ']' 17:43:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:43:52 + '[' /w/workspace/foundry_device-usb-camera_PR-335 ']' 17:43:52 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-335/archives/ 17:43:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-335/archives/ [Pipeline] echo 17:43:53 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-335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:43:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:43:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:54 prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container 17:43:54 $ 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-335/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-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@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:43:54 $ docker top 0b78c54e4ddef19ebdd35043852d7b407cee0fc541386406db275826405d60e9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:43:55 + mkdir -p /var/log/sysstat [Pipeline] sh 17:43:55 + ls /var/log/sa-host 17:43:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:55 provisioning config files... 17:43:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config17078693344904729435tmp [Pipeline] { [Pipeline] echo 17:43:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:43:56 ---> create-netrc.sh [Pipeline] } 17:43:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:43:57 ---> python-tools-install.sh [Pipeline] echo 17:43:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:43:57 ---> sudo-logs.sh 17:43:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:43:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:43:58 ---> job-cost.sh 17:43:58 lf-activate-venv: SKIPPING 17:43:58 DEBUG: total: 0.2199999988079071 17:43:58 INFO: Retrieving Stack Cost... 17:43:58 INFO: Retrieving Pricing Info for: v3-standard-8 17:43:59 INFO: Archiving Costs [Pipeline] echo 17:43:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:43:59 ---> logs-deploy.sh 17:43:59 lf-activate-venv: SKIPPING 17:43:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-335/1 17:43:59 INFO: archiving workspace using pattern(s): 17:44:00 Archives upload complete. 17:44:00 INFO: archiving logs to Nexus