Pull request #340 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f6fb67331fbaaf119acd4dab23bcfbdcce09973+b54b79498e332a1e36b9fe49a0189bdcdd0007a3 (e4ccb6063f9f78318af0fdc5ec2a8f16ac7fc753) 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-ssh1564537762525281127.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-ssh6878456785978202611.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-340/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-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18351510458248834141.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-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15174332313035920111.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-ssh23934361848745128.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-340/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-340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1228018926093868563.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-6348 in /w/workspace/foundry_device-usb-camera_PR-340 [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-340 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b54b79498e332a1e36b9fe49a0189bdcdd0007a3 into PR head commit 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 Merge succeeded, producing 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 Checking out Revision 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 (PR-340) 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 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/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 # 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 b54b79498e332a1e36b9fe49a0189bdcdd0007a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:22:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:04 ========================================================= 17:22:04 EdgeX Global Pipelines Version Info 17:22:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:05 ------------------- 17:22:05 stable info: 17:22:05 ------------------- 17:22:05 Commited By: Ginny Guan ginny@iotechsys.com 17:22:05 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 17:22:05 Message: update stable to v1.0.260 17:22:05 ------------------- 17:22:05 experimental info: 17:22:05 ------------------- 17:22:05 Commited By: Ginny Guan ginny@iotechsys.com 17:22:05 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 17:22:05 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:22:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-340 [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-340 [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-340 [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f6fb67 [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:08 provisioning config files... 17:22:08 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-340@tmp/config15187279438324595451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:08 ---> ****-login.sh 17:22:08 nexus3.edgexfoundry.org:10001 17:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:08 Configure a credential helper to remove this warning. See 17:22:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:08 17:22:08 Login Succeeded 17:22:08 nexus3.edgexfoundry.org:10002 17:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:08 Configure a credential helper to remove this warning. See 17:22:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:08 17:22:08 Login Succeeded 17:22:09 nexus3.edgexfoundry.org:10003 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 nexus3.edgexfoundry.org:10004 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 ****.io 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 ---> ****-login.sh ends [Pipeline] } 17:22:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:22:10 + git rev-list -1 --merges 6f6fb67331fbaaf119acd4dab23bcfbdcce09973~1..6f6fb67331fbaaf119acd4dab23bcfbdcce09973 [Pipeline] echo 17:22:10 -----------> git rev-list -1 --merges 6f6fb67331fbaaf119acd4dab23bcfbdcce09973~1..6f6fb67331fbaaf119acd4dab23bcfbdcce09973 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 [false] [Pipeline] sh 17:22:10 + git log --format=format:%s -1 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 [Pipeline] echo 17:22:10 ========================================================= 17:22:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:22:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:11 + git log --format=format:%s -1 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 [Pipeline] echo 17:22:11 [semverPrep] GIT_COMMIT: 6f6fb67331fbaaf119acd4dab23bcfbdcce09973, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:22:11 [semverPrep] This is not a build commit. [Pipeline] sh 17:22:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:22:11 + grep -v github /etc/ssh/ssh_known_hosts 17:22:11 + [ -e /tmp/ssh_known_hosts ] 17:22:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:22:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:22:11 + sudo tee -a /etc/ssh/ssh_known_hosts 17:22:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:12 17:22:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:12 0.1.4: Pulling from edgex-devops/py-git-semver 17:22:12 b85a868b505f: Pulling fs layer 17:22:12 e2be974225ed: Pulling fs layer 17:22:12 339a4e72a1f5: Pulling fs layer 17:22:12 988bab9f4d93: Pulling fs layer 17:22:12 1469e6f7b9e6: Pulling fs layer 17:22:12 eaf3925da568: Pulling fs layer 17:22:12 bab4dde63d76: Pulling fs layer 17:22:12 bde34c3a00c8: Pulling fs layer 17:22:12 b352a97aabf1: Pulling fs layer 17:22:12 4872d77fe225: Pulling fs layer 17:22:12 5851b861e8e6: Pulling fs layer 17:22:12 988bab9f4d93: Waiting 17:22:12 1469e6f7b9e6: Waiting 17:22:12 eaf3925da568: Waiting 17:22:12 bab4dde63d76: Waiting 17:22:12 bde34c3a00c8: Waiting 17:22:12 4872d77fe225: Waiting 17:22:12 5851b861e8e6: Waiting 17:22:12 e2be974225ed: Verifying Checksum 17:22:12 e2be974225ed: Download complete 17:22:12 988bab9f4d93: Verifying Checksum 17:22:12 988bab9f4d93: Download complete 17:22:12 1469e6f7b9e6: Verifying Checksum 17:22:12 1469e6f7b9e6: Download complete 17:22:12 339a4e72a1f5: Verifying Checksum 17:22:12 339a4e72a1f5: Download complete 17:22:12 eaf3925da568: Verifying Checksum 17:22:12 eaf3925da568: Download complete 17:22:12 bde34c3a00c8: Verifying Checksum 17:22:12 bde34c3a00c8: Download complete 17:22:12 b352a97aabf1: Download complete 17:22:12 4872d77fe225: Verifying Checksum 17:22:12 4872d77fe225: Download complete 17:22:12 5851b861e8e6: Download complete 17:22:12 b85a868b505f: Download complete 17:22:13 bab4dde63d76: Verifying Checksum 17:22:13 bab4dde63d76: Download complete 17:22:14 b85a868b505f: Pull complete 17:22:14 e2be974225ed: Pull complete 17:22:14 339a4e72a1f5: Pull complete 17:22:14 988bab9f4d93: Pull complete 17:22:15 1469e6f7b9e6: Pull complete 17:22:15 eaf3925da568: Pull complete 17:22:17 bab4dde63d76: Pull complete 17:22:17 bde34c3a00c8: Pull complete 17:22:17 b352a97aabf1: Pull complete 17:22:17 4872d77fe225: Pull complete 17:22:17 5851b861e8e6: Pull complete 17:22:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:22:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:17 prd-ubuntu20.04-docker-8c-8g-6348 does not seem to be running inside a container 17:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-340 -v /w/workspace/foundry_device-usb-camera_PR-340:/w/workspace/foundry_device-usb-camera_PR-340:rw,z -v /w/workspace/foundry_device-usb-camera_PR-340@tmp:/w/workspace/foundry_device-usb-camera_PR-340@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:22:20 $ docker top f1c3f9c9b94c413c95427f0278e3758accbd8b2e6132096949b90b80884156d3 -eo pid,comm 17:22:20 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:22:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:22:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:20 [ssh-agent] Looking for ssh-agent implementation... 17:22:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:20 $ docker exec f1c3f9c9b94c413c95427f0278e3758accbd8b2e6132096949b90b80884156d3 ssh-agent 17:22:20 SSH_AUTH_SOCK=/tmp/ssh-uji0poaT8HEb/agent.31 17:22:20 SSH_AGENT_PID=37 17:22:20 Running ssh-add (command line suppressed) 17:22:20 Identity added: /w/workspace/foundry_device-usb-camera_PR-340@tmp/private_key_327775147891621840.key (/w/workspace/foundry_device-usb-camera_PR-340@tmp/private_key_327775147891621840.key) 17:22:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:20 + git tag --points-at HEAD [Pipeline] } 17:22:21 $ docker exec --env ******** --env ******** f1c3f9c9b94c413c95427f0278e3758accbd8b2e6132096949b90b80884156d3 ssh-agent -k 17:22:21 unset SSH_AUTH_SOCK; 17:22:21 unset SSH_AGENT_PID; 17:22:21 echo Agent pid 37 killed; 17:22:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:22:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:21 [ssh-agent] Looking for ssh-agent implementation... 17:22:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:21 $ docker exec f1c3f9c9b94c413c95427f0278e3758accbd8b2e6132096949b90b80884156d3 ssh-agent 17:22:21 SSH_AUTH_SOCK=/tmp/ssh-yOCrfyqBnFMy/agent.70 17:22:21 SSH_AGENT_PID=77 17:22:21 Running ssh-add (command line suppressed) 17:22:21 Identity added: /w/workspace/foundry_device-usb-camera_PR-340@tmp/private_key_8217123346808644032.key (/w/workspace/foundry_device-usb-camera_PR-340@tmp/private_key_8217123346808644032.key) 17:22:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:22 + git semver init 17:22:22 2024-07-24 17:22:22,191 [run_init] DEBUG init version:0.0.0 force:False 17:22:22 2024-07-24 17:22:22,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-340/.semver 17:22:22 2024-07-24 17:22:22,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-340/.semver 17:22:22 2024-07-24 17:22:22,192 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-340/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-340, universal_newlines=False, shell=None, istream=None) 17:22:24 2024-07-24 17:22:23,692 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-340/.git/info/exclude 17:22:24 2024-07-24 17:22:23,693 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-340/.semver/PR-340 with force:False 17:22:24 2024-07-24 17:22:23,693 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-340/.semver/PR-340 17:22:24 2024-07-24 17:22:23,699 [execute] INFO git cat-file --batch-check 17:22:24 2024-07-24 17:22:23,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-340/.semver, universal_newlines=False, shell=None, istream=) 17:22:24 2024-07-24 17:22:23,706 [execute] INFO git cat-file --batch 17:22:24 2024-07-24 17:22:23,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-340/.semver, universal_newlines=False, shell=None, istream=) 17:22:24 2024-07-24 17:22:23,711 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-340/.semver/PR-340 17:22:24 0.0.0 [Pipeline] } 17:22:24 $ docker exec --env ******** --env ******** f1c3f9c9b94c413c95427f0278e3758accbd8b2e6132096949b90b80884156d3 ssh-agent -k 17:22:24 unset SSH_AUTH_SOCK; 17:22:24 unset SSH_AGENT_PID; 17:22:24 echo Agent pid 77 killed; 17:22:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:22:24 + git semver [Pipeline] } 17:22:25 $ docker stop --time=1 f1c3f9c9b94c413c95427f0278e3758accbd8b2e6132096949b90b80884156d3 17:22:26 $ docker rm -f --volumes f1c3f9c9b94c413c95427f0278e3758accbd8b2e6132096949b90b80884156d3 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:22:27 Stashed 1 file(s) [Pipeline] echo 17:22:27 [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:22:28 provisioning config files... 17:22:28 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-340@tmp/config15336990923551143132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:28 ---> ****-login.sh 17:22:28 nexus3.edgexfoundry.org:10001 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 nexus3.edgexfoundry.org:10002 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 nexus3.edgexfoundry.org:10003 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 nexus3.edgexfoundry.org:10004 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 ****.io 17:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:22:29 Configure a credential helper to remove this warning. See 17:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:22:29 17:22:29 Login Succeeded 17:22:29 ---> ****-login.sh ends [Pipeline] } 17:22:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:22:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:22:29 ========================================================= 17:22:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:22:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:30 + 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:22:30 Sending build context to Docker daemon 20.46MB 17:22:30 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:22:30 Step 2/13 : FROM ${BASE} AS builder 17:22:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:30 619be1103602: Pulling fs layer 17:22:30 7862e08f4a3e: Pulling fs layer 17:22:30 5df492c9dc93: Pulling fs layer 17:22:30 7629e6793208: Pulling fs layer 17:22:30 4f4fb700ef54: Pulling fs layer 17:22:30 fb5054dd5b73: Pulling fs layer 17:22:30 eeca6798cff9: Pulling fs layer 17:22:30 4f4fb700ef54: Waiting 17:22:30 fb5054dd5b73: Waiting 17:22:30 aa269ceb94a6: Pulling fs layer 17:22:30 ada007ff1a6a: Pulling fs layer 17:22:30 eeca6798cff9: Waiting 17:22:30 aa269ceb94a6: Waiting 17:22:30 ada007ff1a6a: Waiting 17:22:30 7862e08f4a3e: Verifying Checksum 17:22:30 7862e08f4a3e: Download complete 17:22:30 7629e6793208: Download complete 17:22:30 4f4fb700ef54: Verifying Checksum 17:22:30 4f4fb700ef54: Download complete 17:22:30 619be1103602: Verifying Checksum 17:22:30 619be1103602: Download complete 17:22:30 fb5054dd5b73: Verifying Checksum 17:22:30 fb5054dd5b73: Download complete 17:22:30 eeca6798cff9: Verifying Checksum 17:22:30 eeca6798cff9: Download complete 17:22:30 619be1103602: Pull complete 17:22:30 ada007ff1a6a: Verifying Checksum 17:22:30 ada007ff1a6a: Download complete 17:22:30 7862e08f4a3e: Pull complete 17:22:30 5df492c9dc93: Verifying Checksum 17:22:30 5df492c9dc93: Download complete 17:22:30 aa269ceb94a6: Verifying Checksum 17:22:30 aa269ceb94a6: Download complete 17:22:34 5df492c9dc93: Pull complete 17:22:34 7629e6793208: Pull complete 17:22:34 4f4fb700ef54: Pull complete 17:22:34 fb5054dd5b73: Pull complete 17:22:34 eeca6798cff9: Pull complete 17:22:36 aa269ceb94a6: Pull complete 17:22:37 ada007ff1a6a: Pull complete 17:22:37 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 17:22:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:22:37 ---> f489d0715acc 17:22:37 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:22:40 ---> Running in 7f2a2386af5e 17:22:40 Removing intermediate container 7f2a2386af5e 17:22:40 ---> ed20cc352f59 17:22:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:40 ---> Running in 6f8f6d8a28e1 17:22:40 Removing intermediate container 6f8f6d8a28e1 17:22:40 ---> 0538e9c4467a 17:22:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:22:40 ---> Running in 17e56d550a54 17:22:40 Removing intermediate container 17e56d550a54 17:22:40 ---> 26e9c6aa1969 17:22:40 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:22:40 ---> Running in 2ac28f6ed70b 17:22:40 Removing intermediate container 2ac28f6ed70b 17:22:40 ---> b7fc440dbc5d 17:22:40 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:40 ---> Running in 5e217a2179e4 17:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:22:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:22:41 (1/13) Installing libintl (0.21.1-r7) 17:22:41 (2/13) Installing eudev-libs (3.2.11-r8) 17:22:41 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:22:41 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:22:41 (5/13) Installing v4l-utils (1.24.1-r0) 17:22:41 (6/13) Installing libdvbv5 (1.24.1-r0) 17:22:41 (7/13) Installing udev-init-scripts (35-r1) 17:22:41 (8/13) Installing libblkid (2.38.1-r8) 17:22:41 (9/13) Installing xz-libs (5.4.3-r0) 17:22:41 (10/13) Installing kmod-libs (30-r3) 17:22:41 (11/13) Installing eudev (3.2.11-r8) 17:22:41 (12/13) Installing eudev-dev (3.2.11-r8) 17:22:41 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:22:41 Executing busybox-1.36.1-r5.trigger 17:22:41 Executing eudev-3.2.11-r8.trigger 17:22:41 OK: 271 MiB in 65 packages 17:22:42 Removing intermediate container 5e217a2179e4 17:22:42 ---> ca44f0a2d88e 17:22:42 Step 8/13 : WORKDIR /device-usb-camera 17:22:42 ---> Running in 7d58bafec9ed 17:22:42 Removing intermediate container 7d58bafec9ed 17:22:42 ---> 595a5c4e56a4 17:22:42 Step 9/13 : COPY go.mod vendor* ./ 17:22:42 ---> cbb6a6315a59 17:22:42 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:42 ---> Running in 55b0f82d43f9 17:22:42 Still waiting to schedule task 17:22:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:23:50 Removing intermediate container 55b0f82d43f9 17:23:50 ---> 8dac3f4f8162 17:23:50 Step 11/13 : COPY . . 17:23:50 ---> 6f56be76839d 17:23:50 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:23:50 ---> Running in b2d6af73e613 17:23:50  % Total % Received % Xferd Average Speed Time Time Time Current 17:23:50 Dload Upload Total Spent Left Speed 17:23:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9686 0 --:--:-- --:--:-- --:--:-- 9743 17:23:50 Removing intermediate container b2d6af73e613 17:23:50 ---> a51aaebf51db 17:23:50 Step 13/13 : RUN ${MAKE} 17:23:50 ---> Running in fca4924d2d35 17:23:50 noop 17:23:50 Removing intermediate container fca4924d2d35 17:23:50 ---> 0fe440025f35 17:23:50 Successfully built 0fe440025f35 17:23:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:50 + docker inspect -f . ci-base-image-x86_64 17:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:50 prd-ubuntu20.04-docker-8c-8g-6348 does not seem to be running inside a container 17:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-340 -v /w/workspace/foundry_device-usb-camera_PR-340:/w/workspace/foundry_device-usb-camera_PR-340:rw,z -v /w/workspace/foundry_device-usb-camera_PR-340@tmp:/w/workspace/foundry_device-usb-camera_PR-340@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:23:51 $ docker top 1f91ce503b6ba329ec8c20d9c824d04887744c703a9cf35287a8d3c2f6f25ecc -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:51 + go version 17:23:51 go version go1.21.9 linux/amd64 [Pipeline] } 17:23:51 $ docker stop --time=1 1f91ce503b6ba329ec8c20d9c824d04887744c703a9cf35287a8d3c2f6f25ecc 17:23:52 $ docker rm -f --volumes 1f91ce503b6ba329ec8c20d9c824d04887744c703a9cf35287a8d3c2f6f25ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:53 + docker inspect -f . ci-base-image-x86_64 17:23:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:53 prd-ubuntu20.04-docker-8c-8g-6348 does not seem to be running inside a container 17:23:53 $ 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-340 -v /w/workspace/foundry_device-usb-camera_PR-340:/w/workspace/foundry_device-usb-camera_PR-340:rw,z -v /w/workspace/foundry_device-usb-camera_PR-340@tmp:/w/workspace/foundry_device-usb-camera_PR-340@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:23:54 $ docker top 6649a3bf7912940d9e94ba56cfa8024a2d639881f8afad705042a259b0ec1cb0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:54 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-340 [Pipeline] fileExists [Pipeline] sh 17:23:55 + make test 17:23:55 go test ./... -coverprofile=coverage.out ./... 17:23:57 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:24:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6349 in /w/workspace/foundry_device-usb-camera_PR-340 [Pipeline] { [Pipeline] ws 17:24:14 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:24:17 Selected Git installation does not exist. Using Default 17:24:17 The recommended git tool is: NONE 17:24:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:24:18 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 4.4% of statements 17:24:22 using credential edgex-jenkins-ssh 17:24:22 Cloning the remote Git repository 17:24:22 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:24:22 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:24:22 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:24:22 > git --version # timeout=10 17:24:22 > git --version # 'git version 2.25.1' 17:24:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:25 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:24:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:24:26 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:24:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:24:26 Merging remotes/origin/main commit b54b79498e332a1e36b9fe49a0189bdcdd0007a3 into PR head commit 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 17:24:27 Merge succeeded, producing 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 17:24:27 Checking out Revision 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 (PR-340) 17:24:27 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:24:27 > git --version # timeout=10 17:24:27 > git --version # 'git version 2.25.1' 17:24:27 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 17:24:26 > git config core.sparsecheckout # timeout=10 17:24:26 > git checkout -f 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 # timeout=10 17:24:27 > git remote # timeout=10 17:24:27 > git config --get remote.origin.url # timeout=10 17:24:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:27 > git merge b54b79498e332a1e36b9fe49a0189bdcdd0007a3 # timeout=10 17:24:27 > git rev-parse HEAD^{commit} # timeout=10 17:24:27 > git config core.sparsecheckout # timeout=10 17:24:27 > git checkout -f 6f6fb67331fbaaf119acd4dab23bcfbdcce09973 # timeout=10 17:24:28 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:24:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:32 Dload Upload Total Spent Left Speed 17:24:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92287 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] sh 17:24:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:24:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:24:33 + sudo tee /etc/docker/daemon.new 17:24:33 { 17:24:33 "registry-mirrors": [ 17:24:33 "https://nexus3.edgexfoundry.org:10001" 17:24:33 ], 17:24:33 "bip": "10.250.0.254/24", 17:24:33 "hosts": [ 17:24:33 "tcp://0.0.0.0:5555", 17:24:33 "unix:///var/run/docker.sock" 17:24:33 ], 17:24:33 "mtu": 1458, 17:24:33 "selinux-enabled": true, 17:24:33 "seccomp-profile": "/etc/docker/seccomp.json" 17:24:33 } [Pipeline] sh 17:24:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:24:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:24:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:24:34 ./bin/test-attribution-txt.sh 17:24:34 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:24:34 + sudo service docker restart 17:24:34 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:24:34 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:24:34 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:24:34 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:24:34 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:24:34 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:24:34 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:24:34 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:24:34 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:24:34 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:24:34 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:24:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:24:34 $ docker stop --time=1 6649a3bf7912940d9e94ba56cfa8024a2d639881f8afad705042a259b0ec1cb0 17:24:37 $ docker rm -f --volumes 6649a3bf7912940d9e94ba56cfa8024a2d639881f8afad705042a259b0ec1cb0 [Pipeline] // withDockerContainer [Pipeline] sh 17:24:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:24:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:24:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:24:39 + ls -al . 17:24:39 total 292 17:24:39 drwxrwxr-x 9 jenkins jenkins 4096 Jul 24 17:23 . 17:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:21 .. 17:24:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 17:24 .git 17:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:21 .github 17:24:39 -rw-rw-r-- 1 jenkins jenkins 379 Jul 24 17:21 .gitignore 17:24:39 -rw-rw-r-- 1 jenkins jenkins 45 Jul 24 17:21 .golangci.yml 17:24:39 -rw-rw-r-- 1 jenkins jenkins 77 Jul 24 17:21 .hadolint.yml 17:24:39 drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 17:22 .semver 17:24:39 -rw-rw-r-- 1 jenkins jenkins 10870 Jul 24 17:21 Attribution.txt 17:24:39 -rw-rw-r-- 1 jenkins jenkins 16561 Jul 24 17:21 CHANGELOG.md 17:24:39 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 24 17:21 Dockerfile 17:24:39 -rw-rw-r-- 1 jenkins jenkins 678 Jul 24 17:21 GOVERNANCE.md 17:24:39 -rw-rw-r-- 1 jenkins jenkins 659 Jul 24 17:21 Jenkinsfile 17:24:39 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 24 17:21 LICENSE 17:24:39 -rw-rw-r-- 1 jenkins jenkins 2611 Jul 24 17:21 Makefile 17:24:39 -rw-rw-r-- 1 jenkins jenkins 622 Jul 24 17:21 OWNERS.md 17:24:39 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 24 17:21 README.md 17:24:39 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 17:22 VERSION 17:24:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:21 bin 17:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:21 cmd 17:24:39 -rw-r--r-- 1 jenkins jenkins 54703 Jul 24 17:24 coverage.out 17:24:39 -rwxrwxr-x 1 jenkins jenkins 84 Jul 24 17:21 docker-entrypoint.sh 17:24:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:21 docs 17:24:39 -rw-rw-r-- 1 jenkins jenkins 7210 Jul 24 17:21 go.mod 17:24:39 -rw-rw-r-- 1 jenkins jenkins 102021 Jul 24 17:21 go.sum 17:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:21 internal 17:24:39 -rw-rw-r-- 1 jenkins jenkins 231 Jul 24 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:39 + 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=6f6fb67331fbaaf119acd4dab23bcfbdcce09973 --label arch=amd64 --label version=0.0.0 . 17:24:39 Sending build context to Docker daemon 20.51MB 17:24:39 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:24:39 Step 2/37 : FROM ${BASE} AS builder 17:24:39 ---> 0fe440025f35 17:24:39 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:24:39 ---> Running in 41179ecb3b41 17:24:40 Removing intermediate container 41179ecb3b41 17:24:40 ---> e140611a4088 17:24:40 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:24:40 ---> Running in 69fc53952a51 17:24:40 Removing intermediate container 69fc53952a51 17:24:40 ---> 104025a7c07f 17:24:40 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:24:40 ---> Running in 3624b9e34870 17:24:40 Removing intermediate container 3624b9e34870 17:24:40 ---> 284991f357fd 17:24:40 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:24:40 ---> Running in 219b5c3e1a4b 17:24:40 Removing intermediate container 219b5c3e1a4b 17:24:40 ---> cd18003b165d 17:24:40 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:40 ---> Running in 97dbd1291c80 17:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:24:41 OK: 271 MiB in 65 packages 17:24:41 Removing intermediate container 97dbd1291c80 17:24:41 ---> 368be6a1ba55 17:24:41 Step 8/37 : WORKDIR /device-usb-camera 17:24:41 ---> Running in 7b78ba1dd2eb 17:24:41 Removing intermediate container 7b78ba1dd2eb 17:24:41 ---> 4cf90b98614f 17:24:41 Step 9/37 : COPY go.mod vendor* ./ 17:24:41 ---> 56fc48772fd6 17:24:41 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:41 ---> Running in afbde7e8b776 17:24:42 Removing intermediate container afbde7e8b776 17:24:42 ---> ff9014b26c6e 17:24:42 Step 11/37 : COPY . . 17:24:43 ---> 25929a37ac93 17:24:43 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:24:43 ---> Running in b30960b125e1 17:24:43  % Total % Received % Xferd Average Speed Time Time Time Current 17:24:43  Dload Upload Total Spent Left Speed 17:24:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 31042 0 --:--:-- --:--:-- --:--:-- 32181 17:24:43 Removing intermediate container b30960b125e1 17:24:43 ---> 52ce0d838614 17:24:43 Step 13/37 : RUN ${MAKE} 17:24:43 ---> Running in a12325a683bb 17:24:43 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.26" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:52 provisioning config files... 17:24:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10610416560577662200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:53 ---> ****-login.sh 17:24:53 nexus3.edgexfoundry.org:10001 17:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:24:53 Configure a credential helper to remove this warning. See 17:24:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:24:53 17:24:53 Login Succeeded 17:24:53 nexus3.edgexfoundry.org:10002 17:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:24:54 Configure a credential helper to remove this warning. See 17:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:24:54 17:24:54 Login Succeeded 17:24:54 nexus3.edgexfoundry.org:10003 17:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:24:54 Configure a credential helper to remove this warning. See 17:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:24:54 17:24:54 Login Succeeded 17:24:54 nexus3.edgexfoundry.org:10004 17:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:24:54 Configure a credential helper to remove this warning. See 17:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:24:54 17:24:54 Login Succeeded 17:24:54 ****.io 17:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:24:55 Configure a credential helper to remove this warning. See 17:24:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:24:55 17:24:55 Login Succeeded 17:24:55 ---> ****-login.sh ends [Pipeline] } 17:24:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:24:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:24:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:24:56 ========================================================= 17:24:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:24:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:56 + 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:24:57 Sending build context to Docker daemon 10.49MB 17:24:57 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:24:57 Step 2/13 : FROM ${BASE} AS builder 17:24:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:24:57 c6b39de5b339: Pulling fs layer 17:24:57 a69c41024577: Pulling fs layer 17:24:57 d6de4b400683: Pulling fs layer 17:24:57 35cb2a7552d0: Pulling fs layer 17:24:57 4f4fb700ef54: Pulling fs layer 17:24:57 464afbd9ba4c: Pulling fs layer 17:24:57 00f215d4a9da: Pulling fs layer 17:24:57 d496ad576159: Pulling fs layer 17:24:57 4f4fb700ef54: Waiting 17:24:57 464afbd9ba4c: Waiting 17:24:57 00f215d4a9da: Waiting 17:24:57 d496ad576159: Waiting 17:24:57 35cb2a7552d0: Waiting 17:24:57 a69c41024577: Verifying Checksum 17:24:57 a69c41024577: Download complete 17:24:57 35cb2a7552d0: Verifying Checksum 17:24:57 35cb2a7552d0: Download complete 17:24:57 4f4fb700ef54: Verifying Checksum 17:24:57 4f4fb700ef54: Download complete 17:24:57 c6b39de5b339: Verifying Checksum 17:24:57 c6b39de5b339: Download complete 17:24:57 464afbd9ba4c: Download complete 17:24:57 d496ad576159: Verifying Checksum 17:24:57 d496ad576159: Download complete 17:24:58 c6b39de5b339: Pull complete 17:24:58 a69c41024577: Pull complete 17:24:59 d6de4b400683: Verifying Checksum 17:24:59 d6de4b400683: Download complete 17:25:00 00f215d4a9da: Verifying Checksum 17:25:00 00f215d4a9da: Download complete 17:25:12 d6de4b400683: Pull complete 17:25:12 35cb2a7552d0: Pull complete 17:25:12 4f4fb700ef54: Pull complete 17:25:12 464afbd9ba4c: Pull complete 17:25:20 00f215d4a9da: Pull complete 17:25:21 d496ad576159: Pull complete 17:25:21 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 17:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:25:21 ---> f246e2811388 17:25:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:25:22 Removing intermediate container a12325a683bb 17:25:22 ---> 4ba9d6227f78 17:25:22 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:25:22 1.8.2: Pulling from bluenviron/mediamtx 17:25:22 8411072a22a5: Pulling fs layer 17:25:22 8411072a22a5: Verifying Checksum 17:25:22 8411072a22a5: Download complete 17:25:22 8411072a22a5: Pull complete 17:25:22 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:25:22 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:25:22 ---> 1ac78cb06e13 17:25:22 Step 15/37 : FROM alpine:3.18 17:25:22 3.18: Pulling from library/alpine 17:25:22 930bdd4d222e: Pulling fs layer 17:25:22 930bdd4d222e: Verifying Checksum 17:25:22 930bdd4d222e: Download complete 17:25:22 930bdd4d222e: Pull complete 17:25:22 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 17:25:22 Status: Downloaded newer image for alpine:3.18 17:25:22 ---> 18f865063206 17:25:22 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:25:22 ---> Running in 344f91e8e46b 17:25:22 Removing intermediate container 344f91e8e46b 17:25:22 ---> d8d4fc6f2510 17:25:22 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:25:22 ---> Running in c6cfbb5a727a 17:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:25:22 (1/107) Installing dumb-init (1.2.5-r2) 17:25:22 (2/107) Installing sdl2 (2.26.5-r0) 17:25:22 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:25:22 (4/107) Installing aom-libs (3.6.1-r0) 17:25:22 (5/107) Installing libxau (1.0.11-r2) 17:25:22 (6/107) Installing libmd (1.0.4-r2) 17:25:22 (7/107) Installing libbsd (0.11.7-r1) 17:25:22 (8/107) Installing libxdmcp (1.1.4-r2) 17:25:22 (9/107) Installing libxcb (1.15-r1) 17:25:22 (10/107) Installing libx11 (1.8.7-r0) 17:25:22 (11/107) Installing hwdata-pci (0.370-r0) 17:25:22 (12/107) Installing libpciaccess (0.17-r2) 17:25:22 (13/107) Installing libdrm (2.4.115-r4) 17:25:22 (14/107) Installing libxext (1.3.5-r2) 17:25:22 (15/107) Installing libxfixes (6.0.1-r2) 17:25:22 (16/107) Installing libffi (3.4.4-r2) 17:25:22 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:25:22 (18/107) Installing libva (2.18.0-r1) 17:25:22 (19/107) Installing libvdpau (1.5-r1) 17:25:22 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:25:22 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:25:22 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:25:22 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:25:22 (24/107) Installing libdav1d (1.2.1-r0) 17:25:22 (25/107) Installing brotli-libs (1.0.9-r14) 17:25:22 (26/107) Installing libhwy (1.0.4-r1) 17:25:22 (27/107) Installing lcms2 (2.15-r2) 17:25:22 (28/107) Installing libjxl (0.8.2-r0) 17:25:22 (29/107) Installing lame-libs (3.100-r5) 17:25:22 (30/107) Installing opus (1.4-r0) 17:25:22 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:25:22 (32/107) Installing soxr (0.1.3-r5) 17:25:22 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:25:22 (34/107) Installing libogg (1.3.5-r4) 17:25:22 (35/107) Installing libtheora (1.1.1-r17) 17:25:22 (36/107) Installing libvorbis (1.3.7-r1) 17:25:22 (37/107) Installing libvpx (1.13.0-r2) 17:25:22 (38/107) Installing libwebp (1.3.2-r0) 17:25:22 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:25:22 (40/107) Installing numactl (2.0.16-r4) 17:25:22 (41/107) Installing x265-libs (3.5-r4) 17:25:22 (42/107) Installing xvidcore (1.3.7-r1) 17:25:22 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:25:22 (44/107) Installing alsa-lib (1.2.9-r1) 17:25:22 (45/107) Installing libexpat (2.6.2-r0) 17:25:22 (46/107) Installing libbz2 (1.0.8-r5) 17:25:22 (47/107) Installing libpng (1.6.39-r3) 17:25:22 (48/107) Installing freetype (2.13.0-r5) 17:25:22 (49/107) Installing fontconfig (2.14.2-r3) 17:25:22 (50/107) Installing fribidi (1.0.13-r0) 17:25:22 (51/107) Installing libintl (0.21.1-r7) 17:25:22 (52/107) Installing libblkid (2.38.1-r8) 17:25:22 (53/107) Installing libmount (2.38.1-r8) 17:25:22 (54/107) Installing pcre2 (10.42-r1) 17:25:22 (55/107) Installing glib (2.76.6-r0) 17:25:22 (56/107) Installing graphite2 (1.3.14-r5) 17:25:22 (57/107) Installing harfbuzz (7.3.0-r0) 17:25:22 (58/107) Installing libunibreak (5.1-r0) 17:25:22 (59/107) Installing libass (0.17.1-r0) 17:25:22 (60/107) Installing libbluray (1.3.4-r0) 17:25:22 (61/107) Installing gmp (6.2.1-r3) 17:25:22 (62/107) Installing nettle (3.8.1-r2) 17:25:22 (63/107) Installing libunistring (1.1-r1) 17:25:22 (64/107) Installing libidn2 (2.3.4-r1) 17:25:22 (65/107) Installing p11-kit (0.24.1-r2) 17:25:22 (66/107) Installing libtasn1 (4.19.0-r1) 17:25:22 (67/107) Installing gnutls (3.8.4-r0) 17:25:22 (68/107) Installing mpg123-libs (1.31.3-r1) 17:25:22 (69/107) Installing libopenmpt (0.7.2-r0) 17:25:22 (70/107) Installing cjson (1.7.17-r0) 17:25:22 (71/107) Installing mbedtls (2.28.8-r0) 17:25:22 (72/107) Installing librist (0.2.7-r0) 17:25:22 (73/107) Installing libsrt (1.5.2-r0) 17:25:22 (74/107) Installing libssh (0.10.5-r0) 17:25:22 (75/107) Installing xz-libs (5.4.3-r0) 17:25:22 (76/107) Installing libxml2 (2.11.8-r0) 17:25:22 (77/107) Installing libsodium (1.0.18-r3) 17:25:22 (78/107) Installing libzmq (4.3.4-r4) 17:25:22 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:25:22 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:25:22 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:25:22 (82/107) Installing shaderc (2023.3-r1) 17:25:22 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:25:22 (84/107) Installing libplacebo (5.264.1-r1) 17:25:22 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:25:22 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:25:22 (87/107) Installing vidstab (1.1.1-r0) 17:25:22 (88/107) Installing zimg (3.0.5-r0) 17:25:22 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:25:22 (90/107) Installing libasyncns (0.8-r1) 17:25:22 (91/107) Installing dbus-libs (1.14.8-r0) 17:25:22 (92/107) Installing libltdl (2.4.7-r2) 17:25:22 (93/107) Installing orc (0.4.34-r0) 17:25:22 (94/107) Installing flac-libs (1.4.3-r0) 17:25:22 (95/107) Installing libsndfile (1.2.0-r2) 17:25:22 (96/107) Installing speexdsp (1.2.1-r1) 17:25:22 (97/107) Installing tdb-libs (1.4.8-r1) 17:25:22 (98/107) Installing libpulse (16.1-r10) 17:25:22 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:25:22 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:25:22 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:25:22 (102/107) Installing ffmpeg (6.0.1-r0) 17:25:22 (103/107) Installing udev-init-scripts (35-r1) 17:25:22 (104/107) Installing eudev-libs (3.2.11-r8) 17:25:22 (105/107) Installing zstd-libs (1.5.5-r4) 17:25:22 (106/107) Installing kmod-libs (30-r3) 17:25:22 (107/107) Installing eudev (3.2.11-r8) 17:25:22 Executing busybox-1.36.1-r7.trigger 17:25:22 Executing glib-2.76.6-r0.trigger 17:25:22 Executing eudev-3.2.11-r8.trigger 17:25:22 OK: 131 MiB in 122 packages 17:25:23 ---> Running in 51786ee033a2 17:25:23 Removing intermediate container 51786ee033a2 17:25:23 ---> 8404c0857b5a 17:25:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:25:24 ---> Running in 1c2419ac82e1 17:25:24 Removing intermediate container 1c2419ac82e1 17:25:24 ---> 5992c18c565e 17:25:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:25:24 ---> Running in 8696d6133c91 17:25:24 Removing intermediate container 8696d6133c91 17:25:24 ---> 1be2a850b90e 17:25:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:25:25 ---> Running in 2ac75d09ff8d 17:25:25 Removing intermediate container c6cfbb5a727a 17:25:25 ---> f760bcab4445 17:25:25 Step 18/37 : RUN apk --no-cache upgrade 17:25:25 ---> Running in f7c81bab5cb7 17:25:25 Removing intermediate container 2ac75d09ff8d 17:25:25 ---> fc1d3b3345a6 17:25:25 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:25 ---> Running in 96fca120db72 17:25:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:25:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:25:25 OK: 131 MiB in 122 packages 17:25:26 Removing intermediate container f7c81bab5cb7 17:25:26 ---> 0debf53dd477 17:25:26 Step 19/37 : WORKDIR / 17:25:26 ---> Running in 706cf3271dcd 17:25:26 Removing intermediate container 706cf3271dcd 17:25:26 ---> 6cdc331e4806 17:25:26 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:25:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:25:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:25:27 ---> 690c6eeb4651 17:25:27 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:25:27 ---> e695535b41aa 17:25:27 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:25:27 ---> 8f30eb46d7f3 17:25:27 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:25:27 ---> 8e57b5c2fc34 17:25:27 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:25:27 (1/13) Installing libintl (0.21.1-r7) 17:25:27 (2/13) Installing eudev-libs (3.2.11-r8) 17:25:27 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:25:27 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:25:27 (5/13) Installing v4l-utils (1.24.1-r0) 17:25:28 ---> b82f926a8a4b 17:25:28 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:25:28 ---> f9a9e4b1ec98 17:25:28 Step 26/37 : COPY --from=rtsp /mediamtx / 17:25:28 (6/13) Installing libdvbv5 (1.24.1-r0) 17:25:28 (7/13) Installing udev-init-scripts (35-r1) 17:25:28 (8/13) Installing libblkid (2.38.1-r8) 17:25:28 (9/13) Installing xz-libs (5.4.3-r0) 17:25:28 (10/13) Installing kmod-libs (30-r3) 17:25:28 (11/13) Installing eudev (3.2.11-r8) 17:25:28 (12/13) Installing eudev-dev (3.2.11-r8) 17:25:28 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:25:28 Executing busybox-1.36.1-r5.trigger 17:25:28 Executing eudev-3.2.11-r8.trigger 17:25:28 OK: 273 MiB in 65 packages 17:25:28 ---> 72a2427cf057 17:25:28 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:25:28 ---> Running in f7e447ba1bdc 17:25:29 Removing intermediate container f7e447ba1bdc 17:25:29 ---> c916fa3f61a4 17:25:29 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:25:29 ---> Running in db1727e5e346 17:25:30 Removing intermediate container db1727e5e346 17:25:30 ---> 49d814ed90db 17:25:30 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:25:30 ---> Running in a59cf88906e0 17:25:30 Removing intermediate container 96fca120db72 17:25:30 ---> 51ae1b9779e2 17:25:30 Step 8/13 : WORKDIR /device-usb-camera 17:25:30 ---> Running in b46188d52288 17:25:30 Removing intermediate container b46188d52288 17:25:30 ---> d0cd053e94cb 17:25:30 Step 9/13 : COPY go.mod vendor* ./ 17:25:30 Removing intermediate container a59cf88906e0 17:25:30 ---> 7f4ac2f0cab0 17:25:30 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:25:30 ---> Running in 422d494e0404 17:25:30 ---> 1139c99f9b34 17:25:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:30 ---> Running in e8a2dc199272 17:25:31 Removing intermediate container 422d494e0404 17:25:31 ---> 46ac09fb22ef 17:25:31 Step 31/37 : EXPOSE 59983 17:25:31 ---> Running in 081cbb20b784 17:25:31 Removing intermediate container 081cbb20b784 17:25:31 ---> 73782a7f16dc 17:25:31 Step 32/37 : EXPOSE 8554 17:25:31 ---> Running in 4be704d8850e 17:25:31 Removing intermediate container 4be704d8850e 17:25:31 ---> 8aceb0ef6c80 17:25:31 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:25:31 ---> Running in e2cb621e5521 17:25:31 Removing intermediate container e2cb621e5521 17:25:31 ---> df39c4d20242 17:25:31 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:25:31 ---> Running in 4491b06e9baa 17:25:31 Removing intermediate container 4491b06e9baa 17:25:31 ---> 41ea4133cdd9 17:25:31 Step 35/37 : LABEL arch=amd64 17:25:31 ---> Running in 97ad168289df 17:25:31 Removing intermediate container 97ad168289df 17:25:31 ---> 9697c8663576 17:25:31 Step 36/37 : LABEL git_sha=6f6fb67331fbaaf119acd4dab23bcfbdcce09973 17:25:31 ---> Running in 086ebb3d69ed 17:25:31 Removing intermediate container 086ebb3d69ed 17:25:31 ---> 881aa0bccf38 17:25:31 Step 37/37 : LABEL version=0.0.0 17:25:31 ---> Running in f6f08a3bcfeb 17:25:31 Removing intermediate container f6f08a3bcfeb 17:25:31 ---> 4fe9c1f0587f 17:25:31 [Warning] One or more build-args [ARCH] were not consumed 17:25:31 Successfully built 4fe9c1f0587f 17:25:31 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:25:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:32 17:25:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:33 latest: Pulling from edgex-lftools-log-publisher 17:25:33 5eb5b503b376: Pulling fs layer 17:25:33 5c69ac0246d0: Pulling fs layer 17:25:33 ec43610c2a17: Pulling fs layer 17:25:33 3a2ae6a8a46f: Pulling fs layer 17:25:33 33b1e0a273af: Pulling fs layer 17:25:33 5d3b04190fa2: Pulling fs layer 17:25:33 2f39f015ded8: Pulling fs layer 17:25:33 33b1e0a273af: Waiting 17:25:33 5d3b04190fa2: Waiting 17:25:33 3a2ae6a8a46f: Waiting 17:25:33 2f39f015ded8: Waiting 17:25:33 5c69ac0246d0: Download complete 17:25:33 3a2ae6a8a46f: Verifying Checksum 17:25:33 3a2ae6a8a46f: Download complete 17:25:33 33b1e0a273af: Verifying Checksum 17:25:33 33b1e0a273af: Download complete 17:25:33 ec43610c2a17: Verifying Checksum 17:25:33 ec43610c2a17: Download complete 17:25:33 5d3b04190fa2: Verifying Checksum 17:25:33 5d3b04190fa2: Download complete 17:25:33 5eb5b503b376: Download complete 17:25:34 2f39f015ded8: Download complete 17:25:34 5eb5b503b376: Pull complete 17:25:34 5c69ac0246d0: Pull complete 17:25:35 ec43610c2a17: Pull complete 17:25:35 3a2ae6a8a46f: Pull complete 17:25:35 33b1e0a273af: Pull complete 17:25:35 5d3b04190fa2: Pull complete 17:25:39 2f39f015ded8: Pull complete 17:25:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:25:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:39 prd-ubuntu20.04-docker-8c-8g-6348 does not seem to be running inside a container 17:25:39 $ 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-340 -v /w/workspace/foundry_device-usb-camera_PR-340:/w/workspace/foundry_device-usb-camera_PR-340:rw,z -v /w/workspace/foundry_device-usb-camera_PR-340@tmp:/w/workspace/foundry_device-usb-camera_PR-340@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:25:42 $ docker top 04f222d1048411affa66b280e6e027f464144ef5918c077fc281b73004bd9c1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:43 ---> job-cost.sh 17:25:43 lf-activate-venv: SKIPPING 17:25:43 INFO: No Stack... 17:25:43 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:43 INFO: Archiving Costs [Pipeline] sh 17:25:44 + cat /w/workspace/foundry_device-usb-camera_PR-340/archives/cost.csv 17:25:44 + cut -d, -f6 [Pipeline] lock 17:25:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] 17:25:44 Resource [jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] did not exist. Created. 17:25:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:25:44 + echo total: 0.2199999988079071 [Pipeline] stash 17:25:44 Stashed 1 file(s) [Pipeline] } 17:25:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:25:44 $ docker stop --time=1 04f222d1048411affa66b280e6e027f464144ef5918c077fc281b73004bd9c1b 17:25:45 $ docker rm -f --volumes 04f222d1048411affa66b280e6e027f464144ef5918c077fc281b73004bd9c1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:27:22 Removing intermediate container e8a2dc199272 17:27:22 ---> 4a7c21911840 17:27:22 Step 11/13 : COPY . . 17:27:22 ---> 6c1ee1685914 17:27:22 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:27:22 ---> Running in cc9d6491921e 17:27:22  % Total % Received % Xferd Average Speed Time Time Time Current 17:27:22  Dload Upload Total Spent Left Speed 17:27:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100 1062  0  0 8384   0 --:--:-- --:--:-- --:--:-- 8428 17:27:22 Removing intermediate container cc9d6491921e 17:27:22 ---> 7fe0b9b35834 17:27:22 Step 13/13 : RUN ${MAKE} 17:27:22 ---> Running in 02001d0ea63f 17:27:22 noop 17:27:22 Removing intermediate container 02001d0ea63f 17:27:22 ---> 677ac898d129 17:27:22 Successfully built 677ac898d129 17:27:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:22 + docker inspect -f . ci-base-image-arm64 17:27:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:23 prd-ubuntu20.04-docker-arm64-4c-16g-6349 does not seem to be running inside a container 17:27:23 $ 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:27:24 $ docker top 992dae45b3eb721d13cc0f48f51e7cfe17d26fb407d7470068a9c025202b61cd -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:25 + go version 17:27:25 go version go1.21.9 linux/arm64 [Pipeline] } 17:27:25 $ docker stop --time=1 992dae45b3eb721d13cc0f48f51e7cfe17d26fb407d7470068a9c025202b61cd 17:27:27 $ docker rm -f --volumes 992dae45b3eb721d13cc0f48f51e7cfe17d26fb407d7470068a9c025202b61cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:27 + docker inspect -f . ci-base-image-arm64 17:27:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:28 prd-ubuntu20.04-docker-arm64-4c-16g-6349 does not seem to be running inside a container 17:27:28 $ 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:27:29 $ docker top b369f19cfd89fd062bbdf16b0acb4ce5e4f3dca1403371c0f679e7391eeb9b5a -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:30 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:27:30 + make test 17:27:30 go test ./... -coverprofile=coverage.out ./... 17:27:36 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:31:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:31:22 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.060s coverage: 4.4% of statements 17:31:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:31:22 go vet ./... 17:32:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:32:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:32:09 ./bin/test-attribution-txt.sh 17:32:09 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 17:32:09 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 17:32:09 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 17:32:09 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 17:32:09 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 17:32:09 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 17:32:09 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 17:32:09 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 17:32:09 An attribution for golang.org/x/term is missing from Attribution.txt, please add 17:32:09 An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add 17:32:09 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 17:32:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:32:10 $ docker stop --time=1 b369f19cfd89fd062bbdf16b0acb4ce5e4f3dca1403371c0f679e7391eeb9b5a 17:32:11 $ docker rm -f --volumes b369f19cfd89fd062bbdf16b0acb4ce5e4f3dca1403371c0f679e7391eeb9b5a [Pipeline] // withDockerContainer [Pipeline] sh 17:32:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:13 Warning: overwriting stash ‘coverage-report’ 17:32:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:15 + ls -al . 17:32:15 total 288 17:32:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 17:27 . 17:32:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:24 .. 17:32:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 17:24 .git 17:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:24 .github 17:32:15 -rw-rw-r-- 1 jenkins jenkins 379 Jul 24 17:24 .gitignore 17:32:15 -rw-rw-r-- 1 jenkins jenkins 45 Jul 24 17:24 .golangci.yml 17:32:15 -rw-rw-r-- 1 jenkins jenkins 77 Jul 24 17:24 .hadolint.yml 17:32:15 -rw-rw-r-- 1 jenkins jenkins 10870 Jul 24 17:24 Attribution.txt 17:32:15 -rw-rw-r-- 1 jenkins jenkins 16561 Jul 24 17:24 CHANGELOG.md 17:32:15 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 24 17:24 Dockerfile 17:32:15 -rw-rw-r-- 1 jenkins jenkins 678 Jul 24 17:24 GOVERNANCE.md 17:32:15 -rw-rw-r-- 1 jenkins jenkins 659 Jul 24 17:24 Jenkinsfile 17:32:15 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 24 17:24 LICENSE 17:32:15 -rw-rw-r-- 1 jenkins jenkins 2611 Jul 24 17:24 Makefile 17:32:15 -rw-rw-r-- 1 jenkins jenkins 622 Jul 24 17:24 OWNERS.md 17:32:15 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 24 17:24 README.md 17:32:15 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 17:22 VERSION 17:32:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:24 bin 17:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:24 cmd 17:32:15 -rw-r--r-- 1 jenkins jenkins 54703 Jul 24 17:31 coverage.out 17:32:15 -rwxrwxr-x 1 jenkins jenkins 84 Jul 24 17:24 docker-entrypoint.sh 17:32:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:24 docs 17:32:15 -rw-rw-r-- 1 jenkins jenkins 7210 Jul 24 17:24 go.mod 17:32:15 -rw-rw-r-- 1 jenkins jenkins 102021 Jul 24 17:24 go.sum 17:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:24 internal 17:32:15 -rw-rw-r-- 1 jenkins jenkins 231 Jul 24 17:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:15 + 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=6f6fb67331fbaaf119acd4dab23bcfbdcce09973 --label arch=arm64 --label version=0.0.0 . 17:32:16 Sending build context to Docker daemon 10.55MB 17:32:16 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:32:16 Step 2/37 : FROM ${BASE} AS builder 17:32:16 ---> 677ac898d129 17:32:16 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:32:16 ---> Running in f93264b36ad8 17:32:16 Removing intermediate container f93264b36ad8 17:32:16 ---> 1d930e7bd636 17:32:16 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:16 ---> Running in e4c2a6c7a927 17:32:16 Removing intermediate container e4c2a6c7a927 17:32:16 ---> bb94a21c87ce 17:32:16 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:32:16 ---> Running in 54d6cb21877f 17:32:17 Removing intermediate container 54d6cb21877f 17:32:17 ---> f0e946568abd 17:32:17 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:32:17 ---> Running in 92605583f23d 17:32:17 Removing intermediate container 92605583f23d 17:32:17 ---> 5f948ad6c3a2 17:32:17 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:17 ---> Running in 73afd1aa7738 17:32:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:32:19 OK: 273 MiB in 65 packages 17:32:20 Removing intermediate container 73afd1aa7738 17:32:20 ---> e251f5b8221a 17:32:20 Step 8/37 : WORKDIR /device-usb-camera 17:32:20 ---> Running in 826d7928f658 17:32:21 Removing intermediate container 826d7928f658 17:32:21 ---> 3437fcde19fa 17:32:21 Step 9/37 : COPY go.mod vendor* ./ 17:32:21 ---> 95cf87b56245 17:32:21 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:21 ---> Running in 185e9310e942 17:32:24 Removing intermediate container 185e9310e942 17:32:24 ---> 292d901b6a36 17:32:24 Step 11/37 : COPY . . 17:32:25 ---> 994c26253abb 17:32:25 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:32:25 ---> Running in ca1487e86fdb 17:32:26  % Total % Received % Xferd Average Speed Time Time  Time Current 17:32:26  Dload Upload  Total Spent Left Speed 17:32:26 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4995 0 --:--:-- --:--:-- --:--:-- 5009 17:32:27 Removing intermediate container ca1487e86fdb 17:32:27 ---> 8d2d1130f4c6 17:32:27 Step 13/37 : RUN ${MAKE} 17:32:27 ---> Running in eea450bae937 17:32:28 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.26" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:36:05 Removing intermediate container eea450bae937 17:36:05 ---> 5ad92e268953 17:36:05 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:36:05 1.8.2: Pulling from bluenviron/mediamtx 17:36:05 da4d7e05a7aa: Pulling fs layer 17:36:05 da4d7e05a7aa: Verifying Checksum 17:36:05 da4d7e05a7aa: Download complete 17:36:05 da4d7e05a7aa: Pull complete 17:36:05 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:36:05 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:36:05 ---> 62c65ed7ef0d 17:36:05 Step 15/37 : FROM alpine:3.18 17:36:06 3.18: Pulling from library/alpine 17:36:06 4983c3fe2029: Pulling fs layer 17:36:06 4983c3fe2029: Verifying Checksum 17:36:06 4983c3fe2029: Download complete 17:36:06 4983c3fe2029: Pull complete 17:36:06 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 17:36:06 Status: Downloaded newer image for alpine:3.18 17:36:06 ---> a0237000ae83 17:36:06 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:36:06 ---> Running in d641e12f0afc 17:36:07 Removing intermediate container d641e12f0afc 17:36:07 ---> 19ac59f8091c 17:36:07 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:36:07 ---> Running in 34a7b3f8b3c6 17:36:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:36:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:36:09 (1/104) Installing dumb-init (1.2.5-r2) 17:36:09 (2/104) Installing sdl2 (2.26.5-r0) 17:36:09 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:36:09 (4/104) Installing aom-libs (3.6.1-r0) 17:36:10 (5/104) Installing libxau (1.0.11-r2) 17:36:10 (6/104) Installing libmd (1.0.4-r2) 17:36:10 (7/104) Installing libbsd (0.11.7-r1) 17:36:10 (8/104) Installing libxdmcp (1.1.4-r2) 17:36:10 (9/104) Installing libxcb (1.15-r1) 17:36:10 (10/104) Installing libx11 (1.8.7-r0) 17:36:10 (11/104) Installing libdrm (2.4.115-r4) 17:36:10 (12/104) Installing libxext (1.3.5-r2) 17:36:10 (13/104) Installing libxfixes (6.0.1-r2) 17:36:10 (14/104) Installing libffi (3.4.4-r2) 17:36:10 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:36:10 (16/104) Installing libva (2.18.0-r1) 17:36:11 (17/104) Installing libvdpau (1.5-r1) 17:36:11 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 17:36:11 (19/104) Installing libdav1d (1.2.1-r0) 17:36:11 (20/104) Installing brotli-libs (1.0.9-r14) 17:36:11 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:36:11 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:36:11 (23/104) Installing libhwy (1.0.4-r1) 17:36:11 (24/104) Installing lcms2 (2.15-r2) 17:36:11 (25/104) Installing libjxl (0.8.2-r0) 17:36:11 (26/104) Installing lame-libs (3.100-r5) 17:36:11 (27/104) Installing opus (1.4-r0) 17:36:11 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:36:11 (29/104) Installing soxr (0.1.3-r5) 17:36:11 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 17:36:11 (31/104) Installing libogg (1.3.5-r4) 17:36:11 (32/104) Installing libtheora (1.1.1-r17) 17:36:11 (33/104) Installing libvorbis (1.3.7-r1) 17:36:11 (34/104) Installing libvpx (1.13.0-r2) 17:36:11 (35/104) Installing libwebp (1.3.2-r0) 17:36:11 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:36:11 (37/104) Installing numactl (2.0.16-r4) 17:36:11 (38/104) Installing x265-libs (3.5-r4) 17:36:11 (39/104) Installing xvidcore (1.3.7-r1) 17:36:11 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 17:36:12 (41/104) Installing alsa-lib (1.2.9-r1) 17:36:12 (42/104) Installing libexpat (2.6.2-r0) 17:36:12 (43/104) Installing libbz2 (1.0.8-r5) 17:36:12 (44/104) Installing libpng (1.6.39-r3) 17:36:12 (45/104) Installing freetype (2.13.0-r5) 17:36:12 (46/104) Installing fontconfig (2.14.2-r3) 17:36:12 (47/104) Installing fribidi (1.0.13-r0) 17:36:12 (48/104) Installing libintl (0.21.1-r7) 17:36:12 (49/104) Installing libblkid (2.38.1-r8) 17:36:12 (50/104) Installing libmount (2.38.1-r8) 17:36:12 (51/104) Installing pcre2 (10.42-r1) 17:36:12 (52/104) Installing glib (2.76.6-r0) 17:36:12 (53/104) Installing graphite2 (1.3.14-r5) 17:36:12 (54/104) Installing harfbuzz (7.3.0-r0) 17:36:12 (55/104) Installing libunibreak (5.1-r0) 17:36:12 (56/104) Installing libass (0.17.1-r0) 17:36:12 (57/104) Installing libbluray (1.3.4-r0) 17:36:12 (58/104) Installing gmp (6.2.1-r3) 17:36:12 (59/104) Installing nettle (3.8.1-r2) 17:36:12 (60/104) Installing libunistring (1.1-r1) 17:36:12 (61/104) Installing libidn2 (2.3.4-r1) 17:36:12 (62/104) Installing p11-kit (0.24.1-r2) 17:36:12 (63/104) Installing libtasn1 (4.19.0-r1) 17:36:12 (64/104) Installing gnutls (3.8.4-r0) 17:36:12 (65/104) Installing mpg123-libs (1.31.3-r1) 17:36:12 (66/104) Installing libopenmpt (0.7.2-r0) 17:36:12 (67/104) Installing cjson (1.7.17-r0) 17:36:13 (68/104) Installing mbedtls (2.28.8-r0) 17:36:13 (69/104) Installing librist (0.2.7-r0) 17:36:13 (70/104) Installing libsrt (1.5.2-r0) 17:36:13 (71/104) Installing libssh (0.10.5-r0) 17:36:13 (72/104) Installing xz-libs (5.4.3-r0) 17:36:13 (73/104) Installing libxml2 (2.11.8-r0) 17:36:13 (74/104) Installing libsodium (1.0.18-r3) 17:36:13 (75/104) Installing libzmq (4.3.4-r4) 17:36:13 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 17:36:13 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:36:13 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:36:13 (79/104) Installing shaderc (2023.3-r1) 17:36:14 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:36:14 (81/104) Installing libplacebo (5.264.1-r1) 17:36:14 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 17:36:14 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 17:36:14 (84/104) Installing vidstab (1.1.1-r0) 17:36:14 (85/104) Installing zimg (3.0.5-r0) 17:36:14 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 17:36:14 (87/104) Installing libasyncns (0.8-r1) 17:36:14 (88/104) Installing dbus-libs (1.14.8-r0) 17:36:14 (89/104) Installing libltdl (2.4.7-r2) 17:36:14 (90/104) Installing orc (0.4.34-r0) 17:36:14 (91/104) Installing flac-libs (1.4.3-r0) 17:36:14 (92/104) Installing libsndfile (1.2.0-r2) 17:36:14 (93/104) Installing speexdsp (1.2.1-r1) 17:36:14 (94/104) Installing tdb-libs (1.4.8-r1) 17:36:15 (95/104) Installing libpulse (16.1-r10) 17:36:15 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:36:15 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:36:15 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 17:36:15 (99/104) Installing ffmpeg (6.0.1-r0) 17:36:15 (100/104) Installing udev-init-scripts (35-r1) 17:36:15 (101/104) Installing eudev-libs (3.2.11-r8) 17:36:15 (102/104) Installing zstd-libs (1.5.5-r4) 17:36:15 (103/104) Installing kmod-libs (30-r3) 17:36:15 (104/104) Installing eudev (3.2.11-r8) 17:36:15 Executing busybox-1.36.1-r7.trigger 17:36:15 Executing glib-2.76.6-r0.trigger 17:36:15 Executing eudev-3.2.11-r8.trigger 17:36:15 OK: 110 MiB in 119 packages 17:36:18 Removing intermediate container 34a7b3f8b3c6 17:36:18 ---> 73bd9df0bd77 17:36:18 Step 18/37 : RUN apk --no-cache upgrade 17:36:18 ---> Running in b6273bd043b7 17:36:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:36:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:36:21 OK: 110 MiB in 119 packages 17:36:22 Removing intermediate container b6273bd043b7 17:36:22 ---> eb3ddb5558d5 17:36:22 Step 19/37 : WORKDIR / 17:36:22 ---> Running in 14a098108187 17:36:22 Removing intermediate container 14a098108187 17:36:22 ---> f64f19072367 17:36:22 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:36:24 ---> 8a75120f0b0d 17:36:24 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:36:25 ---> c4324786112f 17:36:25 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:36:25 ---> b082958047de 17:36:25 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:36:26 ---> eafe0f86244c 17:36:26 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:36:26 ---> a5edd885ce44 17:36:26 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:36:27 ---> 04f3038fa56c 17:36:27 Step 26/37 : COPY --from=rtsp /mediamtx / 17:36:29 ---> dd37bc1d843d 17:36:29 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:36:29 ---> Running in 497785c9229b 17:36:30 Removing intermediate container 497785c9229b 17:36:30 ---> 6cb75871f206 17:36:30 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:36:30 ---> Running in b8bd1e50b637 17:36:32 Removing intermediate container b8bd1e50b637 17:36:32 ---> 86d03f34e20d 17:36:32 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:36:32 ---> Running in 54972280b9de 17:36:33 Removing intermediate container 54972280b9de 17:36:33 ---> 1a9fd6dfbe20 17:36:33 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:36:33 ---> Running in 705488f5e76d 17:36:35 Removing intermediate container 705488f5e76d 17:36:35 ---> 7a41164fa902 17:36:35 Step 31/37 : EXPOSE 59983 17:36:35 ---> Running in a9b1e4c0624f 17:36:35 Removing intermediate container a9b1e4c0624f 17:36:35 ---> 88ff93bca0a5 17:36:35 Step 32/37 : EXPOSE 8554 17:36:35 ---> Running in 6b6e5207ad28 17:36:36 Removing intermediate container 6b6e5207ad28 17:36:36 ---> aa1f92db3f5c 17:36:36 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:36:36 ---> Running in e0a7d1e4531c 17:36:36 Removing intermediate container e0a7d1e4531c 17:36:36 ---> 6fdae5480ea9 17:36:36 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:36:36 ---> Running in b697346b20fa 17:36:36 Removing intermediate container b697346b20fa 17:36:36 ---> e98b02451ec4 17:36:36 Step 35/37 : LABEL arch=arm64 17:36:36 ---> Running in 69fc75ea9738 17:36:37 Removing intermediate container 69fc75ea9738 17:36:37 ---> 964c5dfe6b41 17:36:37 Step 36/37 : LABEL git_sha=6f6fb67331fbaaf119acd4dab23bcfbdcce09973 17:36:37 ---> Running in f531c9d74cc1 17:36:37 Removing intermediate container f531c9d74cc1 17:36:37 ---> 5c1f5f87504f 17:36:37 Step 37/37 : LABEL version=0.0.0 17:36:37 ---> Running in 2cc3ec120113 17:36:38 Removing intermediate container 2cc3ec120113 17:36:38 ---> 9d8d72a4ad3e 17:36:38 [Warning] One or more build-args [ARCH] were not consumed 17:36:38 Successfully built 9d8d72a4ad3e 17:36:38 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:38 17:36:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:39 arm64: Pulling from edgex-lftools-log-publisher 17:36:39 8998bd30e6a1: Pulling fs layer 17:36:39 04944245beec: Pulling fs layer 17:36:39 699f458cf7ca: Pulling fs layer 17:36:39 765212b225bb: Pulling fs layer 17:36:39 f23df028b6ca: Pulling fs layer 17:36:39 d65c8cfc05b1: Pulling fs layer 17:36:39 2437ff75d9bd: Pulling fs layer 17:36:39 f23df028b6ca: Waiting 17:36:39 d65c8cfc05b1: Waiting 17:36:39 2437ff75d9bd: Waiting 17:36:39 765212b225bb: Waiting 17:36:39 04944245beec: Verifying Checksum 17:36:39 04944245beec: Download complete 17:36:39 765212b225bb: Verifying Checksum 17:36:39 765212b225bb: Download complete 17:36:39 f23df028b6ca: Verifying Checksum 17:36:39 f23df028b6ca: Download complete 17:36:39 d65c8cfc05b1: Verifying Checksum 17:36:39 d65c8cfc05b1: Download complete 17:36:39 699f458cf7ca: Verifying Checksum 17:36:39 699f458cf7ca: Download complete 17:36:40 8998bd30e6a1: Verifying Checksum 17:36:40 8998bd30e6a1: Download complete 17:36:42 2437ff75d9bd: Verifying Checksum 17:36:42 2437ff75d9bd: Download complete 17:36:44 8998bd30e6a1: Pull complete 17:36:45 04944245beec: Pull complete 17:36:47 699f458cf7ca: Pull complete 17:36:47 765212b225bb: Pull complete 17:36:48 f23df028b6ca: Pull complete 17:36:48 d65c8cfc05b1: Pull complete 17:37:06 2437ff75d9bd: Pull complete 17:37:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:37:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:37:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:06 prd-ubuntu20.04-docker-arm64-4c-16g-6349 does not seem to be running inside a container 17:37:06 $ 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:37:09 $ docker top aec8cba9528888e71184ed88c3e12342b82ea859d26cf67d2fdea131314d8f47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:10 ---> job-cost.sh 17:37:10 lf-activate-venv: SKIPPING 17:37:10 INFO: No Stack... 17:37:10 INFO: Retrieving Pricing Info for: v3-standard-4 17:37:11 INFO: Archiving Costs [Pipeline] sh 17:37:12 + cut -d, -f6 17:37:12 + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock 17:37:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] 17:37:12 Resource [jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] did not exist. Created. 17:37:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:37:13 /w/workspace/device-usb-camera/1@tmp/durable-72dc9ad0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:37:13 + echo total: 0.10999999940395355 [Pipeline] stash 17:37:13 Warning: overwriting stash ‘stack-cost’ 17:37:13 Stashed 1 file(s) [Pipeline] } 17:37:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:37:14 $ docker stop --time=1 aec8cba9528888e71184ed88c3e12342b82ea859d26cf67d2fdea131314d8f47 17:37:15 $ docker rm -f --volumes aec8cba9528888e71184ed88c3e12342b82ea859d26cf67d2fdea131314d8f47 [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:37:16 provisioning config files... 17:37:16 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-340@tmp/config10198301895966988341tmp [Pipeline] { [Pipeline] sh 17:37:17 + set +x 17:37:17 + bash -s -- 17:37:17 + curl -s https://codecov.io/bash 17:37:17 17:37:17 _____ _ 17:37:17 / ____| | | 17:37:17 | | ___ __| | ___ ___ _____ __ 17:37:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:37:17 | |___| (_) | (_| | __/ (_| (_) \ V / 17:37:17 \_____\___/ \__,_|\___|\___\___/ \_/ 17:37:17 Bash-1.0.6 17:37:17 17:37:17 17:37:17 ==> git version 2.25.1 found 17:37:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:37:17 Release-Date: 2020-01-08 17:37:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:37:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:37:17 ==> Jenkins CI detected. 17:37:17 current dir:  /w/workspace/foundry_device-usb-camera_PR-340 17:37:17 project root: . 17:37:17 --> token set from env 17:37:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:37:17 ==> Running gcov in . (disable via -X gcov) 17:37:17 ==> Python coveragepy not found 17:37:17 ==> Searching for coverage reports in: 17:37:17 + . 17:37:17 -> Found 1 reports 17:37:17 ==> Detecting git/mercurial file structure 17:37:17 ==> Reading reports 17:37:17 + ./coverage.out bytes=54703 17:37:17 ==> Appending adjustments 17:37:17 https://docs.codecov.io/docs/fixing-reports 17:37:17 + Found adjustments 17:37:17 ==> Gzipping contents 17:37:17 8.0K /tmp/codecov.r0LzDg.gz 17:37:17 ==> Uploading reports 17:37:17 url: https://codecov.io 17:37:17 query: branch=PR-340&commit=6f6fb67331fbaaf119acd4dab23bcfbdcce09973&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=340&job=&cmd_args= 17:37:17 -> Pinging Codecov 17:37:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-340&commit=6f6fb67331fbaaf119acd4dab23bcfbdcce09973&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=340&job=&cmd_args= 17:37:17 -> Uploading to 17:37:17 https://storage.googleapis.com/codecov/v4/raw/2024-07-24/73D8F5FF140700D3E01443B452E23636/6f6fb67331fbaaf119acd4dab23bcfbdcce09973/da128737-5522-4679-82fc-84a4c37e1ca7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240724%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240724T173717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16c6b7ff400d11200b42a892492ce7a2bb1af6dcfd342f2dde48245f940f5f2d 17:37:17 % Total % Received % Xferd Average Speed Time Time Time Current 17:37:17 Dload Upload Total Spent Left Speed 17:37:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 28472 --:--:-- --:--:-- --:--:-- 28472 17:37:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/6f6fb67331fbaaf119acd4dab23bcfbdcce09973 [Pipeline] } 17:37:17 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:37:19 + [ -d /w/workspace/foundry_device-usb-camera_PR-340/archives ] 17:37:19 + ls -al /w/workspace/foundry_device-usb-camera_PR-340/archives 17:37:19 total 16 17:37:19 drwxr-xr-x 3 root root 4096 Jul 24 17:25 . 17:37:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 17:25 .. 17:37:19 drwxr-xr-x 2 root root 4096 Jul 24 17:25 cost 17:37:19 -rw-r--r-- 1 root root 89 Jul 24 17:25 cost.csv 17:37:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-340/archives 17:37:19 + ls -al /w/workspace/foundry_device-usb-camera_PR-340/archives 17:37:19 total 16 17:37:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 17:25 . 17:37:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 17:25 .. 17:37:19 drwxr-xr-x 2 jenkins jenkins 4096 Jul 24 17:25 cost 17:37:19 -rw-r--r-- 1 jenkins jenkins 89 Jul 24 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:37:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:37:21 ---> package-listing.sh 17:37:21 ++ facter osfamily 17:37:21 ++ tr '[:upper:]' '[:lower:]' 17:37:21 + OS_FAMILY=debian 17:37:21 + workspace=/w/workspace/foundry_device-usb-camera_PR-340 17:37:21 + START_PACKAGES=/tmp/packages_start.txt 17:37:21 + END_PACKAGES=/tmp/packages_end.txt 17:37:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:37:21 + PACKAGES=/tmp/packages_start.txt 17:37:21 + '[' /w/workspace/foundry_device-usb-camera_PR-340 ']' 17:37:21 + PACKAGES=/tmp/packages_end.txt 17:37:21 + case "${OS_FAMILY}" in 17:37:21 + dpkg -l 17:37:21 + grep '^ii' 17:37:21 + '[' -f /tmp/packages_start.txt ']' 17:37:21 + '[' -f /tmp/packages_end.txt ']' 17:37:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:37:21 + '[' /w/workspace/foundry_device-usb-camera_PR-340 ']' 17:37:21 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-340/archives/ 17:37:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-340/archives/ [Pipeline] echo 17:37:21 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-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:37:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:22 prd-ubuntu20.04-docker-8c-8g-6348 does not seem to be running inside a container 17:37:22 $ 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-340/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-340 -v /w/workspace/foundry_device-usb-camera_PR-340:/w/workspace/foundry_device-usb-camera_PR-340:rw,z -v /w/workspace/foundry_device-usb-camera_PR-340@tmp:/w/workspace/foundry_device-usb-camera_PR-340@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:37:22 $ docker top e302d7873b9a0be3f37336b6e75c659700339762bbd0d8de49e9e12d70123cfd -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:23 + touch /tmp/pre-build-complete [Pipeline] sh 17:37:23 + mkdir -p /var/log/sysstat [Pipeline] sh 17:37:24 + ls /var/log/sa-host 17:37:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:24 provisioning config files... 17:37:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-340@tmp/config16207468331113556588tmp [Pipeline] { [Pipeline] echo 17:37:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:37:24 ---> create-netrc.sh [Pipeline] } 17:37:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:37:25 ---> python-tools-install.sh [Pipeline] echo 17:37:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:37:25 ---> sudo-logs.sh 17:37:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:37:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:37:26 ---> job-cost.sh 17:37:26 lf-activate-venv: SKIPPING 17:37:26 DEBUG: total: 0.2199999988079071 17:37:26 INFO: Retrieving Stack Cost... 17:37:26 INFO: Retrieving Pricing Info for: v3-standard-8 17:37:26 INFO: Archiving Costs [Pipeline] echo 17:37:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:37:27 ---> logs-deploy.sh 17:37:27 lf-activate-venv: SKIPPING 17:37:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-340/1 17:37:27 INFO: archiving workspace using pattern(s): 17:37:28 Archives upload complete. 17:37:28 INFO: archiving logs to Nexus