Pull request #368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 44525a39bc984554bc7a5408194feab8c9f6ad8e+258560ba148656700ced9b9219027d412919cf0b (e1cc4699afbd127a5082df42c3c87a0b86acc8ee) 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-ssh7593552422167731686.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh8994176725966140364.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-368/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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh855054353328587848.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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8090741791932905278.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh1041989133117986802.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-368/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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1401851030180215298.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-32300 in /w/workspace/foundry_device-usb-camera_PR-368 [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-368 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 258560ba148656700ced9b9219027d412919cf0b into PR head commit 44525a39bc984554bc7a5408194feab8c9f6ad8e Merge succeeded, producing 44525a39bc984554bc7a5408194feab8c9f6ad8e Checking out Revision 44525a39bc984554bc7a5408194feab8c9f6ad8e (PR-368) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.9.0 to 1.10.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 44525a39bc984554bc7a5408194feab8c9f6ad8e # 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 258560ba148656700ced9b9219027d412919cf0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44525a39bc984554bc7a5408194feab8c9f6ad8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:55:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:55:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:55:21 ========================================================= 17:55:21 EdgeX Global Pipelines Version Info 17:55:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:55:21 ------------------- 17:55:21 stable info: 17:55:21 ------------------- 17:55:21 Commited By: Ginny Guan ginny@iotechsys.com 17:55:21 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 17:55:21 Message: update stable to v1.0.265 17:55:22 ------------------- 17:55:22 experimental info: 17:55:22 ------------------- 17:55:22 Commited By: Cherry Wang cherry@iotechsys.com 17:55:22 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 17:55:22 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:55:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:55:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:55:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:55:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:55:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:55:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44525a39bc984554bc7a5408194feab8c9f6ad8e [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44525a3 [Pipeline] echo 17:55:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:24 provisioning config files... 17:55:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-368@tmp/config10416702478089779188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:25 ---> ****-login.sh 17:55:25 nexus3.edgexfoundry.org:10001 17:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:25 Configure a credential helper to remove this warning. See 17:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:25 17:55:25 Login Succeeded 17:55:25 nexus3.edgexfoundry.org:10002 17:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:25 Configure a credential helper to remove this warning. See 17:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:25 17:55:25 Login Succeeded 17:55:25 nexus3.edgexfoundry.org:10003 17:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:25 Configure a credential helper to remove this warning. See 17:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:25 17:55:25 Login Succeeded 17:55:25 nexus3.edgexfoundry.org:10004 17:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:26 Configure a credential helper to remove this warning. See 17:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:26 17:55:26 Login Succeeded 17:55:26 ****.io 17:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:26 Configure a credential helper to remove this warning. See 17:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:26 17:55:26 Login Succeeded 17:55:26 ---> ****-login.sh ends [Pipeline] } 17:55:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:55:27 + git rev-list -1 --merges 44525a39bc984554bc7a5408194feab8c9f6ad8e~1..44525a39bc984554bc7a5408194feab8c9f6ad8e [Pipeline] echo 17:55:27 -----------> git rev-list -1 --merges 44525a39bc984554bc7a5408194feab8c9f6ad8e~1..44525a39bc984554bc7a5408194feab8c9f6ad8e 44525a39bc984554bc7a5408194feab8c9f6ad8e [false] [Pipeline] sh 17:55:27 + git log --format=format:%s -1 44525a39bc984554bc7a5408194feab8c9f6ad8e [Pipeline] echo 17:55:27 ========================================================= 17:55:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:55:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:55:27 + git log --format=format:%s -1 44525a39bc984554bc7a5408194feab8c9f6ad8e [Pipeline] echo 17:55:27 [semverPrep] GIT_COMMIT: 44525a39bc984554bc7a5408194feab8c9f6ad8e, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 [Pipeline] echo 17:55:28 [semverPrep] This is not a build commit. [Pipeline] sh 17:55:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:55:28 + grep -v github /etc/ssh/ssh_known_hosts 17:55:28 + [ -e /tmp/ssh_known_hosts ] 17:55:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:55:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:55:28 + sudo tee -a /etc/ssh/ssh_known_hosts 17:55:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:28 17:55:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:29 0.1.4: Pulling from edgex-devops/py-git-semver 17:55:29 b85a868b505f: Pulling fs layer 17:55:29 e2be974225ed: Pulling fs layer 17:55:29 339a4e72a1f5: Pulling fs layer 17:55:29 988bab9f4d93: Pulling fs layer 17:55:29 1469e6f7b9e6: Pulling fs layer 17:55:29 eaf3925da568: Pulling fs layer 17:55:29 bab4dde63d76: Pulling fs layer 17:55:29 bde34c3a00c8: Pulling fs layer 17:55:29 b352a97aabf1: Pulling fs layer 17:55:29 4872d77fe225: Pulling fs layer 17:55:29 5851b861e8e6: Pulling fs layer 17:55:29 988bab9f4d93: Waiting 17:55:29 bde34c3a00c8: Waiting 17:55:29 bab4dde63d76: Waiting 17:55:29 1469e6f7b9e6: Waiting 17:55:29 5851b861e8e6: Waiting 17:55:29 eaf3925da568: Waiting 17:55:29 4872d77fe225: Waiting 17:55:29 b352a97aabf1: Waiting 17:55:29 e2be974225ed: Download complete 17:55:29 988bab9f4d93: Verifying Checksum 17:55:29 988bab9f4d93: Download complete 17:55:29 339a4e72a1f5: Verifying Checksum 17:55:29 339a4e72a1f5: Download complete 17:55:29 1469e6f7b9e6: Verifying Checksum 17:55:29 1469e6f7b9e6: Download complete 17:55:29 eaf3925da568: Verifying Checksum 17:55:29 eaf3925da568: Download complete 17:55:29 bde34c3a00c8: Verifying Checksum 17:55:29 bde34c3a00c8: Download complete 17:55:29 b352a97aabf1: Verifying Checksum 17:55:29 b352a97aabf1: Download complete 17:55:29 4872d77fe225: Download complete 17:55:29 5851b861e8e6: Verifying Checksum 17:55:29 5851b861e8e6: Download complete 17:55:29 b85a868b505f: Verifying Checksum 17:55:29 b85a868b505f: Download complete 17:55:29 bab4dde63d76: Verifying Checksum 17:55:29 bab4dde63d76: Download complete 17:55:30 b85a868b505f: Pull complete 17:55:31 e2be974225ed: Pull complete 17:55:31 339a4e72a1f5: Pull complete 17:55:31 988bab9f4d93: Pull complete 17:55:31 1469e6f7b9e6: Pull complete 17:55:31 eaf3925da568: Pull complete 17:55:33 bab4dde63d76: Pull complete 17:55:33 bde34c3a00c8: Pull complete 17:55:33 b352a97aabf1: Pull complete 17:55:33 4872d77fe225: Pull complete 17:55:34 5851b861e8e6: Pull complete 17:55:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:55:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:34 prd-ubuntu20.04-docker-8c-8g-32300 does not seem to be running inside a container 17:55:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-368 -v /w/workspace/foundry_device-usb-camera_PR-368:/w/workspace/foundry_device-usb-camera_PR-368:rw,z -v /w/workspace/foundry_device-usb-camera_PR-368@tmp:/w/workspace/foundry_device-usb-camera_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:55:37 $ docker top 45f68267748527af5c418e1e53162d2a4256e403f3d2d4b625d08e4475676f79 -eo pid,comm 17:55:37 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:55:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:55:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:37 [ssh-agent] Looking for ssh-agent implementation... 17:55:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:37 $ docker exec 45f68267748527af5c418e1e53162d2a4256e403f3d2d4b625d08e4475676f79 ssh-agent 17:55:37 SSH_AUTH_SOCK=/tmp/ssh-OLWmcctiKxqO/agent.32 17:55:37 SSH_AGENT_PID=38 17:55:37 Running ssh-add (command line suppressed) 17:55:37 Identity added: /w/workspace/foundry_device-usb-camera_PR-368@tmp/private_key_13908780909396239758.key (/w/workspace/foundry_device-usb-camera_PR-368@tmp/private_key_13908780909396239758.key) 17:55:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:38 + git tag --points-at HEAD [Pipeline] } 17:55:38 $ docker exec --env ******** --env ******** 45f68267748527af5c418e1e53162d2a4256e403f3d2d4b625d08e4475676f79 ssh-agent -k 17:55:38 unset SSH_AUTH_SOCK; 17:55:38 unset SSH_AGENT_PID; 17:55:38 echo Agent pid 38 killed; 17:55:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:55:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:38 [ssh-agent] Looking for ssh-agent implementation... 17:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:38 $ docker exec 45f68267748527af5c418e1e53162d2a4256e403f3d2d4b625d08e4475676f79 ssh-agent 17:55:38 SSH_AUTH_SOCK=/tmp/ssh-fVyqu75W7v28/agent.71 17:55:38 SSH_AGENT_PID=77 17:55:38 Running ssh-add (command line suppressed) 17:55:38 Identity added: /w/workspace/foundry_device-usb-camera_PR-368@tmp/private_key_17175599641699741139.key (/w/workspace/foundry_device-usb-camera_PR-368@tmp/private_key_17175599641699741139.key) 17:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:39 + git semver init 17:55:39 2024-11-25 17:55:39,466 [run_init] DEBUG init version:0.0.0 force:False 17:55:39 2024-11-25 17:55:39,467 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-368/.semver 17:55:39 2024-11-25 17:55:39,467 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-368/.semver 17:55:39 2024-11-25 17:55:39,468 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-368/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-368, universal_newlines=False, shell=None, istream=None) 17:55:41 2024-11-25 17:55:41,225 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-368/.git/info/exclude 17:55:41 2024-11-25 17:55:41,225 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-368/.semver/PR-368 with force:False 17:55:41 2024-11-25 17:55:41,226 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-368/.semver/PR-368 17:55:41 2024-11-25 17:55:41,230 [execute] INFO git cat-file --batch-check 17:55:41 2024-11-25 17:55:41,230 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-368/.semver, universal_newlines=False, shell=None, istream=) 17:55:41 2024-11-25 17:55:41,236 [execute] INFO git cat-file --batch 17:55:41 2024-11-25 17:55:41,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-368/.semver, universal_newlines=False, shell=None, istream=) 17:55:41 2024-11-25 17:55:41,242 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-368/.semver/PR-368 17:55:41 0.0.0 [Pipeline] } 17:55:41 $ docker exec --env ******** --env ******** 45f68267748527af5c418e1e53162d2a4256e403f3d2d4b625d08e4475676f79 ssh-agent -k 17:55:41 unset SSH_AUTH_SOCK; 17:55:41 unset SSH_AGENT_PID; 17:55:41 echo Agent pid 77 killed; 17:55:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:55:42 + git semver [Pipeline] } 17:55:42 $ docker stop --time=1 45f68267748527af5c418e1e53162d2a4256e403f3d2d4b625d08e4475676f79 17:55:44 $ docker rm -f --volumes 45f68267748527af5c418e1e53162d2a4256e403f3d2d4b625d08e4475676f79 [Pipeline] // withDockerContainer [Pipeline] sh 17:55:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:55:45 Stashed 1 file(s) [Pipeline] echo 17:55:45 [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:55:49 provisioning config files... 17:55:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-368@tmp/config6469766486962892718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:49 ---> ****-login.sh 17:55:49 nexus3.edgexfoundry.org:10001 17:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:49 Configure a credential helper to remove this warning. See 17:55:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:49 17:55:49 Login Succeeded 17:55:49 nexus3.edgexfoundry.org:10002 17:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:49 Configure a credential helper to remove this warning. See 17:55:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:49 17:55:49 Login Succeeded 17:55:49 nexus3.edgexfoundry.org:10003 17:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:50 Configure a credential helper to remove this warning. See 17:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:50 17:55:50 Login Succeeded 17:55:50 nexus3.edgexfoundry.org:10004 17:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:50 Configure a credential helper to remove this warning. See 17:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:50 17:55:50 Login Succeeded 17:55:50 ****.io 17:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:55:50 Configure a credential helper to remove this warning. See 17:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:55:50 17:55:50 Login Succeeded 17:55:50 ---> ****-login.sh ends [Pipeline] } 17:55:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:55:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:55:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:55:50 ========================================================= 17:55:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 17:55:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 17:55:51 Sending build context to Docker daemon 20.67MB 17:55:51 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 17:55:51 Step 2/13 : FROM ${BASE} AS builder 17:55:51 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 17:55:51 43c4264eed91: Pulling fs layer 17:55:51 4cc291be95ef: Pulling fs layer 17:55:51 2ac1f1163629: Pulling fs layer 17:55:51 5c3c966382ef: Pulling fs layer 17:55:51 4f4fb700ef54: Pulling fs layer 17:55:51 5d5c8e513c77: Pulling fs layer 17:55:51 9f66e0745190: Pulling fs layer 17:55:51 f49a43e4bbc0: Pulling fs layer 17:55:51 561ebcabdf7f: Pulling fs layer 17:55:51 4f4fb700ef54: Waiting 17:55:51 5d5c8e513c77: Waiting 17:55:51 9f66e0745190: Waiting 17:55:51 5c3c966382ef: Waiting 17:55:51 f49a43e4bbc0: Waiting 17:55:51 561ebcabdf7f: Waiting 17:55:51 4cc291be95ef: Verifying Checksum 17:55:51 4cc291be95ef: Download complete 17:55:51 5c3c966382ef: Verifying Checksum 17:55:51 5c3c966382ef: Download complete 17:55:51 4f4fb700ef54: Download complete 17:55:51 5d5c8e513c77: Verifying Checksum 17:55:51 5d5c8e513c77: Download complete 17:55:51 43c4264eed91: Download complete 17:55:51 9f66e0745190: Verifying Checksum 17:55:51 9f66e0745190: Download complete 17:55:51 43c4264eed91: Pull complete 17:55:51 561ebcabdf7f: Download complete 17:55:51 4cc291be95ef: Pull complete 17:55:52 2ac1f1163629: Verifying Checksum 17:55:52 2ac1f1163629: Download complete 17:55:52 f49a43e4bbc0: Verifying Checksum 17:55:52 f49a43e4bbc0: Download complete 17:55:55 2ac1f1163629: Pull complete 17:55:55 5c3c966382ef: Pull complete 17:55:55 4f4fb700ef54: Pull complete 17:55:55 5d5c8e513c77: Pull complete 17:55:55 9f66e0745190: Pull complete 17:55:58 f49a43e4bbc0: Pull complete 17:55:58 561ebcabdf7f: Pull complete 17:55:58 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 17:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 17:55:58 ---> 3a752c3f9dda 17:55:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:56:04 ---> Running in 3e754cfc0af1 17:56:04 Removing intermediate container 3e754cfc0af1 17:56:04 ---> 4e0c43846015 17:56:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:04 ---> Running in 8d7427f48d4c 17:56:04 Removing intermediate container 8d7427f48d4c 17:56:04 ---> 7ce92d227f00 17:56:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:56:04 ---> Running in 89b774321d8a 17:56:04 Removing intermediate container 89b774321d8a 17:56:04 ---> cbcaa3f02017 17:56:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:56:04 ---> Running in b72802f76359 17:56:04 Removing intermediate container b72802f76359 17:56:04 ---> ba6ed89daa0e 17:56:04 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:56:04 ---> Running in 6b8c5c08013f 17:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 17:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 17:56:04 Still waiting to schedule task 17:56:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:56:04 (1/14) Installing libintl (0.22.5-r0) 17:56:04 (2/14) Installing eudev-libs (3.2.14-r2) 17:56:04 (3/14) Installing libjpeg-turbo (3.0.3-r0) 17:56:04 (4/14) Installing v4l-utils-libs (1.24.1-r1) 17:56:04 (5/14) Installing v4l-utils (1.24.1-r1) 17:56:04 (6/14) Installing libdvbv5 (1.24.1-r1) 17:56:04 (7/14) Installing udev-init-scripts (35-r1) 17:56:04 (8/14) Installing libeconf (0.6.3-r0) 17:56:04 (9/14) Installing libblkid (2.40.1-r1) 17:56:04 (10/14) Installing xz-libs (5.6.2-r0) 17:56:04 (11/14) Installing kmod-libs (32-r0) 17:56:04 (12/14) Installing eudev (3.2.14-r2) 17:56:04 (13/14) Installing eudev-dev (3.2.14-r2) 17:56:04 (14/14) Installing v4l-utils-dev (1.24.1-r1) 17:56:04 Executing busybox-1.36.1-r29.trigger 17:56:04 Executing eudev-3.2.14-r2.trigger 17:56:04 OK: 253 MiB in 68 packages 17:56:05 Removing intermediate container 6b8c5c08013f 17:56:05 ---> a1dd6ddd540c 17:56:05 Step 8/13 : WORKDIR /device-usb-camera 17:56:05 ---> Running in 5fab0c90af5b 17:56:05 Removing intermediate container 5fab0c90af5b 17:56:05 ---> df7b8fb7075c 17:56:05 Step 9/13 : COPY go.mod vendor* ./ 17:56:05 ---> 92b6116635cc 17:56:05 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:05 ---> Running in a8609b85d3dc 17:57:02 Removing intermediate container a8609b85d3dc 17:57:02 ---> d3938e858a5b 17:57:02 Step 11/13 : COPY . . 17:57:02 ---> b966d59a6f81 17:57:02 Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:57:02 ---> Running in 5753496b20f5 17:57:02  % Total % Received % Xferd Average Speed Time Time Time Current 17:57:02 Dload Upload Total Spent Left Speed 17:57:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7828 0 --:--:-- --:--:-- --:--:-- 7866 17:57:02 Removing intermediate container 5753496b20f5 17:57:02 ---> 4a72b67f303b 17:57:02 Step 13/13 : RUN ${MAKE} 17:57:02 ---> Running in 275c5d2a1ca8 17:57:02 noop 17:57:03 Removing intermediate container 275c5d2a1ca8 17:57:03 ---> 1431459bd73d 17:57:03 Successfully built 1431459bd73d 17:57:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:03 + docker inspect -f . ci-base-image-x86_64 17:57:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:03 prd-ubuntu20.04-docker-8c-8g-32300 does not seem to be running inside a container 17:57:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-368 -v /w/workspace/foundry_device-usb-camera_PR-368:/w/workspace/foundry_device-usb-camera_PR-368:rw,z -v /w/workspace/foundry_device-usb-camera_PR-368@tmp:/w/workspace/foundry_device-usb-camera_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:57:04 $ docker top 162ce2fed79a521dd6918b259f8c1b87235e4e7984ec057e01061571e062600a -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:04 + go version 17:57:04 go version go1.23.2 linux/amd64 [Pipeline] } 17:57:04 $ docker stop --time=1 162ce2fed79a521dd6918b259f8c1b87235e4e7984ec057e01061571e062600a 17:57:05 $ docker rm -f --volumes 162ce2fed79a521dd6918b259f8c1b87235e4e7984ec057e01061571e062600a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:06 + docker inspect -f . ci-base-image-x86_64 17:57:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:06 prd-ubuntu20.04-docker-8c-8g-32300 does not seem to be running inside a container 17:57:07 $ 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-368 -v /w/workspace/foundry_device-usb-camera_PR-368:/w/workspace/foundry_device-usb-camera_PR-368:rw,z -v /w/workspace/foundry_device-usb-camera_PR-368@tmp:/w/workspace/foundry_device-usb-camera_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:57:07 $ docker top 8314ee9206519a1d85de65cb73e211117f0093a282926940b92ae7b3027a202e -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:07 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-368 [Pipeline] fileExists [Pipeline] sh 17:57:08 + make test 17:57:08 go test ./... -coverprofile=coverage.out ./... 17:57:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:57:31 github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements 17:57:31 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 4.4% of statements 17:57:41 go vet ./... 17:57:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:57:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:57:46 ./bin/test-attribution-txt.sh [Pipeline] echo 17:57:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:57:46 $ docker stop --time=1 8314ee9206519a1d85de65cb73e211117f0093a282926940b92ae7b3027a202e 17:57:50 $ docker rm -f --volumes 8314ee9206519a1d85de65cb73e211117f0093a282926940b92ae7b3027a202e [Pipeline] // withDockerContainer [Pipeline] sh 17:57:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:57:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:57:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:57:52 + ls -al . 17:57:52 total 288 17:57:52 drwxrwxr-x 9 jenkins jenkins 4096 Nov 25 17:57 . 17:57:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 25 17:55 .. 17:57:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 25 17:57 .git 17:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 25 17:55 .github 17:57:52 -rw-rw-r-- 1 jenkins jenkins 379 Nov 25 17:55 .gitignore 17:57:52 -rw-rw-r-- 1 jenkins jenkins 203 Nov 25 17:55 .golangci.yml 17:57:52 -rw-rw-r-- 1 jenkins jenkins 77 Nov 25 17:55 .hadolint.yml 17:57:52 drwxr-xr-x 3 jenkins jenkins 4096 Nov 25 17:55 .semver 17:57:52 -rw-rw-r-- 1 jenkins jenkins 19367 Nov 25 17:55 Attribution.txt 17:57:52 -rw-rw-r-- 1 jenkins jenkins 16561 Nov 25 17:55 CHANGELOG.md 17:57:52 -rw-rw-r-- 1 jenkins jenkins 2440 Nov 25 17:55 Dockerfile 17:57:52 -rw-rw-r-- 1 jenkins jenkins 678 Nov 25 17:55 GOVERNANCE.md 17:57:52 -rw-rw-r-- 1 jenkins jenkins 659 Nov 25 17:55 Jenkinsfile 17:57:52 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 25 17:55 LICENSE 17:57:52 -rw-rw-r-- 1 jenkins jenkins 3193 Nov 25 17:55 Makefile 17:57:52 -rw-rw-r-- 1 jenkins jenkins 622 Nov 25 17:55 OWNERS.md 17:57:52 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 25 17:55 README.md 17:57:52 -rw-rw-r-- 1 jenkins jenkins 5 Nov 25 17:55 VERSION 17:57:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 25 17:55 bin 17:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 25 17:55 cmd 17:57:52 -rw-r--r-- 1 jenkins jenkins 54772 Nov 25 17:57 coverage.out 17:57:52 -rwxrwxr-x 1 jenkins jenkins 84 Nov 25 17:55 docker-entrypoint.sh 17:57:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 25 17:55 docs 17:57:52 -rw-rw-r-- 1 jenkins jenkins 6467 Nov 25 17:55 go.mod 17:57:52 -rw-rw-r-- 1 jenkins jenkins 87794 Nov 25 17:55 go.sum 17:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 25 17:55 internal 17:57:52 -rw-rw-r-- 1 jenkins jenkins 231 Nov 25 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:52 + 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=44525a39bc984554bc7a5408194feab8c9f6ad8e --label arch=amd64 --label version=0.0.0 . 17:57:52 Sending build context to Docker daemon 20.73MB 17:57:52 Step 1/37 : ARG BASE=golang:1.23-alpine3.20 17:57:52 Step 2/37 : FROM ${BASE} AS builder 17:57:52 ---> 1431459bd73d 17:57:52 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:57:53 ---> Running in 7a959626bb6c 17:57:53 Removing intermediate container 7a959626bb6c 17:57:53 ---> 3e963606ded7 17:57:53 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:53 ---> Running in 7980cc9fde95 17:57:53 Removing intermediate container 7980cc9fde95 17:57:53 ---> 46a41d5a7810 17:57:53 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:57:53 ---> Running in c2fda8c0b224 17:57:53 Removing intermediate container c2fda8c0b224 17:57:53 ---> c7825a376acb 17:57:53 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:57:53 ---> Running in 731163b0b691 17:57:53 Removing intermediate container 731163b0b691 17:57:53 ---> 26f76f9a6f62 17:57:53 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:53 ---> Running in d07671033734 17:57:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 17:57:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 17:57:54 OK: 253 MiB in 68 packages 17:57:54 Removing intermediate container d07671033734 17:57:54 ---> c76d65e13fa6 17:57:54 Step 8/37 : WORKDIR /device-usb-camera 17:57:54 ---> Running in 1bcac3fadfec 17:57:54 Removing intermediate container 1bcac3fadfec 17:57:54 ---> bf34fd3ea8cd 17:57:54 Step 9/37 : COPY go.mod vendor* ./ 17:57:54 ---> 83c8c08433d4 17:57:54 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:54 ---> Running in eaa70b485aef 17:57:55 Removing intermediate container eaa70b485aef 17:57:55 ---> 0859f0fa2b3f 17:57:55 Step 11/37 : COPY . . 17:57:56 ---> 6a3c080712e4 17:57:56 Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE 17:57:56 ---> Running in 0a26c95d33e0 17:57:56  % Total % Received % Xferd Average Speed Time Time Time Current 17:57:56 Dload Upload Total Spent Left Speed 17:57:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 39460 0 --:--:-- --:--:-- --:--:-- 40846 17:57:57 Removing intermediate container 0a26c95d33e0 17:57:57 ---> 1cc322eddb85 17:57:57 Step 13/37 : RUN ${MAKE} 17:57:57 ---> Running in b6d065cc2e6d 17:57:57 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:58:36 Removing intermediate container b6d065cc2e6d 17:58:36 ---> 4fa1625cc7b5 17:58:36 Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp 17:58:36 1.8.2: Pulling from bluenviron/mediamtx 17:58:36 8411072a22a5: Pulling fs layer 17:58:36 8411072a22a5: Verifying Checksum 17:58:36 8411072a22a5: Download complete 17:58:36 8411072a22a5: Pull complete 17:58:36 Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 17:58:36 Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 17:58:36 ---> 1ac78cb06e13 17:58:36 Step 15/37 : FROM alpine:3.20 17:58:36 3.20: Pulling from library/alpine 17:58:36 da9db072f522: Pulling fs layer 17:58:36 da9db072f522: Download complete 17:58:36 da9db072f522: Pull complete 17:58:36 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 17:58:36 Status: Downloaded newer image for alpine:3.20 17:58:36 ---> 63b790fccc90 17:58:36 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:58:36 ---> Running in d60c50fe7116 17:58:36 Removing intermediate container d60c50fe7116 17:58:36 ---> f1267e5a466d 17:58:36 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:58:36 ---> Running in 04b63d0c1411 17:58:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 17:58:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 17:58:36 (1/115) Installing dumb-init (1.2.5-r3) 17:58:36 (2/115) Installing libSvtAv1Enc (2.0.0-r1) 17:58:36 (3/115) Installing aom-libs (3.9.1-r0) 17:58:36 (4/115) Installing libxau (1.0.11-r4) 17:58:36 (5/115) Installing libmd (1.1.0-r0) 17:58:36 (6/115) Installing libbsd (0.12.2-r0) 17:58:36 (7/115) Installing libxdmcp (1.1.5-r1) 17:58:36 (8/115) Installing libxcb (1.16.1-r0) 17:58:36 (9/115) Installing libx11 (1.8.9-r1) 17:58:36 (10/115) Installing hwdata-pci (0.382-r0) 17:58:36 (11/115) Installing libpciaccess (0.18.1-r0) 17:58:36 (12/115) Installing libdrm (2.4.120-r0) 17:58:36 (13/115) Installing libxext (1.3.6-r2) 17:58:36 (14/115) Installing libxfixes (6.0.1-r4) 17:58:36 (15/115) Installing libffi (3.4.6-r0) 17:58:36 (16/115) Installing wayland-libs-client (1.22.0-r4) 17:58:36 (17/115) Installing libva (2.21.0-r0) 17:58:36 (18/115) Installing libvdpau (1.5-r3) 17:58:36 (19/115) Installing libgcc (13.2.1_git20240309-r0) 17:58:36 (20/115) Installing libstdc++ (13.2.1_git20240309-r0) 17:58:36 (21/115) Installing onevpl-libs (2023.3.1-r2) 17:58:36 (22/115) Installing ffmpeg-libavutil (6.1.1-r8) 17:58:36 (23/115) Installing libdav1d (1.4.2-r0) 17:58:36 (24/115) Installing openexr-libiex (3.1.13-r1) 17:58:36 (25/115) Installing openexr-libilmthread (3.1.13-r1) 17:58:36 (26/115) Installing imath (3.1.12-r0) 17:58:36 (27/115) Installing openexr-libopenexr (3.1.13-r1) 17:58:36 (28/115) Installing brotli-libs (1.1.0-r2) 17:58:36 (29/115) Installing giflib (5.2.2-r0) 17:58:36 (30/115) Installing libhwy (1.0.7-r0) 17:58:36 (31/115) Installing libjpeg-turbo (3.0.3-r0) 17:58:36 (32/115) Installing lcms2 (2.16-r0) 17:58:36 (33/115) Installing libpng (1.6.44-r0) 17:58:36 (34/115) Installing libjxl (0.10.2-r0) 17:58:36 (35/115) Installing lame-libs (3.100-r5) 17:58:36 (36/115) Installing opus (1.5.2-r0) 17:58:36 (37/115) Installing rav1e-libs (0.7.1-r0) 17:58:36 (38/115) Installing libgomp (13.2.1_git20240309-r0) 17:58:36 (39/115) Installing soxr (0.1.3-r7) 17:58:36 (40/115) Installing ffmpeg-libswresample (6.1.1-r8) 17:58:36 (41/115) Installing libogg (1.3.5-r5) 17:58:36 (42/115) Installing libtheora (1.1.1-r18) 17:58:36 (43/115) Installing libvorbis (1.3.7-r2) 17:58:36 (44/115) Installing libvpx (1.14.1-r0) 17:58:36 (45/115) Installing libsharpyuv (1.3.2-r0) 17:58:36 (46/115) Installing libwebp (1.3.2-r0) 17:58:36 (47/115) Installing libwebpmux (1.3.2-r0) 17:58:36 (48/115) Installing x264-libs (0.164_git20231001-r0) 17:58:36 (49/115) Installing numactl (2.0.18-r0) 17:58:36 (50/115) Installing x265-libs (3.6-r0) 17:58:36 (51/115) Installing xvidcore (1.3.7-r2) 17:58:36 (52/115) Installing ffmpeg-libavcodec (6.1.1-r8) 17:58:36 (53/115) Installing sdl2 (2.28.5-r1) 17:58:36 (54/115) Installing alsa-lib (1.2.11-r0) 17:58:36 (55/115) Installing libexpat (2.6.4-r0) 17:58:36 (56/115) Installing libbz2 (1.0.8-r6) 17:58:36 (57/115) Installing freetype (2.13.2-r0) 17:58:37 (58/115) Installing fontconfig (2.15.0-r1) 17:58:37 (59/115) Installing fribidi (1.0.15-r0) 17:58:37 (60/115) Installing libintl (0.22.5-r0) 17:58:37 (61/115) Installing libeconf (0.6.3-r0) 17:58:37 (62/115) Installing libblkid (2.40.1-r1) 17:58:37 (63/115) Installing libmount (2.40.1-r1) 17:58:37 (64/115) Installing pcre2 (10.43-r0) 17:58:37 (65/115) Installing glib (2.80.5-r0) 17:58:37 (66/115) Installing graphite2 (1.3.14-r6) 17:58:37 (67/115) Installing harfbuzz (8.5.0-r0) 17:58:37 (68/115) Installing libunibreak (6.1-r0) 17:58:37 (69/115) Installing libass (0.17.2-r0) 17:58:37 (70/115) Installing libbluray (1.3.4-r1) 17:58:37 (71/115) Installing mpg123-libs (1.32.8-r0) 17:58:37 (72/115) Installing libopenmpt (0.7.7-r0) 17:58:37 (73/115) Installing cjson (1.7.18-r0) 17:58:37 (74/115) Installing mbedtls (3.6.2-r0) 17:58:37 (75/115) Installing librist (0.2.10-r1) 17:58:37 (76/115) Installing libsrt (1.5.3-r0) 17:58:37 (77/115) Installing libssh (0.10.6-r0) 17:58:37 (78/115) Installing xz-libs (5.6.2-r0) 17:58:37 (79/115) Installing libxml2 (2.12.7-r0) 17:58:37 (80/115) Installing libsodium (1.0.19-r0) 17:58:37 (81/115) Installing libzmq (4.3.5-r2) 17:58:37 (82/115) Installing ffmpeg-libavformat (6.1.1-r8) 17:58:37 (83/115) Installing serd-libs (0.32.2-r0) 17:58:37 (84/115) Installing zix-libs (0.4.2-r0) 17:58:37 (85/115) Installing sord-libs (0.16.16-r0) 17:58:37 (86/115) Installing sratom (0.6.16-r0) 17:58:37 (87/115) Installing lilv-libs (0.24.24-r1) 17:58:37 (88/115) Installing glslang-libs (1.3.261.1-r0) 17:58:37 (89/115) Installing libdovi (3.3.0-r0) 17:58:37 (90/115) Installing spirv-tools (1.3.261.1-r0) 17:58:37 (91/115) Installing shaderc (2024.0-r0) 17:58:37 (92/115) Installing vulkan-loader (1.3.261.1-r0) 17:58:37 (93/115) Installing libplacebo (6.338.2-r1) 17:58:37 (94/115) Installing ffmpeg-libpostproc (6.1.1-r8) 17:58:37 (95/115) Installing ffmpeg-libswscale (6.1.1-r8) 17:58:37 (96/115) Installing vidstab (1.1.1-r0) 17:58:37 (97/115) Installing zimg (3.0.5-r2) 17:58:37 (98/115) Installing ffmpeg-libavfilter (6.1.1-r8) 17:58:37 (99/115) Installing libasyncns (0.8-r3) 17:58:37 (100/115) Installing dbus-libs (1.14.10-r1) 17:58:37 (101/115) Installing libltdl (2.4.7-r3) 17:58:37 (102/115) Installing orc (0.4.40-r0) 17:58:37 (103/115) Installing libflac (1.4.3-r1) 17:58:37 (104/115) Installing libsndfile (1.2.2-r0) 17:58:37 (105/115) Installing speexdsp (1.2.1-r2) 17:58:37 (106/115) Installing tdb-libs (1.4.9-r1) 17:58:37 (107/115) Installing libpulse (17.0-r0) 17:58:37 (108/115) Installing v4l-utils-libs (1.24.1-r1) 17:58:37 (109/115) Installing ffmpeg-libavdevice (6.1.1-r8) 17:58:37 (110/115) Installing ffmpeg (6.1.1-r8) 17:58:37 (111/115) Installing udev-init-scripts (35-r1) 17:58:37 (112/115) Installing eudev-libs (3.2.14-r2) 17:58:37 (113/115) Installing zstd-libs (1.5.6-r0) 17:58:37 (114/115) Installing kmod-libs (32-r0) 17:58:37 (115/115) Installing eudev (3.2.14-r2) 17:58:37 Executing busybox-1.36.1-r29.trigger 17:58:37 Executing glib-2.80.5-r0.trigger 17:58:37 Executing eudev-3.2.14-r2.trigger 17:58:37 OK: 134 MiB in 129 packages 17:58:40 Removing intermediate container 04b63d0c1411 17:58:40 ---> d730d04d1757 17:58:40 Step 18/37 : RUN apk --no-cache upgrade 17:58:41 ---> Running in 7275b2ac1911 17:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 17:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 17:58:41 Upgrading critical system libraries and apk-tools: 17:58:41 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 17:58:41 Executing busybox-1.36.1-r29.trigger 17:58:41 Continuing the upgrade transaction with new apk-tools: 17:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 17:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 17:58:42 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 17:58:42 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 17:58:42 OK: 134 MiB in 129 packages 17:58:42 Removing intermediate container 7275b2ac1911 17:58:42 ---> f86be0acd5b2 17:58:42 Step 19/37 : WORKDIR / 17:58:42 ---> Running in b8603bdcc076 17:58:42 Removing intermediate container b8603bdcc076 17:58:42 ---> 5b2d500bfb0c 17:58:42 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:58:44 ---> 427bc558c463 17:58:44 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:58:44 ---> 66d6302a7ca0 17:58:44 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / 17:58:44 ---> eb82903b5bb1 17:58:44 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:58:44 ---> 18222331fa2e 17:58:44 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:58:44 ---> 7b916d5c4903 17:58:44 Step 25/37 : COPY --from=rtsp /mediamtx.yml / 17:58:44 ---> 3868bfa3cfed 17:58:44 Step 26/37 : COPY --from=rtsp /mediamtx / 17:58:45 ---> e67d30e1cd6f 17:58:45 Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml 17:58:45 ---> Running in e5d516bfdbe3 17:58:45 Removing intermediate container e5d516bfdbe3 17:58:45 ---> b7ddcb3164b4 17:58:45 Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml 17:58:45 ---> Running in 09b9f720aaa4 17:58:46 Removing intermediate container 09b9f720aaa4 17:58:46 ---> 2f7287ec24f0 17:58:46 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml 17:58:46 ---> Running in 1af4d5f6bcea 17:58:47 Removing intermediate container 1af4d5f6bcea 17:58:47 ---> 521c1bce4ca2 17:58:47 Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml 17:58:47 ---> Running in d0a12b00a649 17:58:47 Removing intermediate container d0a12b00a649 17:58:47 ---> 3dfc0475aca6 17:58:47 Step 31/37 : EXPOSE 59983 17:58:47 ---> Running in d30770007ac2 17:58:47 Removing intermediate container d30770007ac2 17:58:47 ---> abeb414d4925 17:58:47 Step 32/37 : EXPOSE 8554 17:58:47 ---> Running in 8bc81d6ecea6 17:58:47 Removing intermediate container 8bc81d6ecea6 17:58:47 ---> 6d1d4dd8631a 17:58:47 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:58:47 ---> Running in 064f393b271c 17:58:47 Removing intermediate container 064f393b271c 17:58:47 ---> bc29b31e33ca 17:58:47 Step 34/37 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry" ] 17:58:47 ---> Running in b06d20d3b22f 17:58:47 Removing intermediate container b06d20d3b22f 17:58:47 ---> 1741d8aa24b9 17:58:47 Step 35/37 : LABEL arch=amd64 17:58:47 ---> Running in 537aec1e6158 17:58:47 Removing intermediate container 537aec1e6158 17:58:47 ---> 09adb899394b 17:58:47 Step 36/37 : LABEL git_sha=44525a39bc984554bc7a5408194feab8c9f6ad8e 17:58:47 ---> Running in 07a0ecf26d45 17:58:48 Removing intermediate container 07a0ecf26d45 17:58:48 ---> 996d0d3bd9c4 17:58:48 Step 37/37 : LABEL version=0.0.0 17:58:48 ---> Running in 5d9e2780b2d1 17:58:48 Removing intermediate container 5d9e2780b2d1 17:58:48 ---> 084dccec488e 17:58:48 [Warning] One or more build-args [ARCH] were not consumed 17:58:48 Successfully built 084dccec488e 17:58:48 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:58:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:49 17:58:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:49 latest: Pulling from edgex-lftools-log-publisher 17:58:49 5eb5b503b376: Pulling fs layer 17:58:49 5c69ac0246d0: Pulling fs layer 17:58:49 ec43610c2a17: Pulling fs layer 17:58:49 3a2ae6a8a46f: Pulling fs layer 17:58:49 33b1e0a273af: Pulling fs layer 17:58:49 5d3b04190fa2: Pulling fs layer 17:58:49 2f39f015ded8: Pulling fs layer 17:58:49 5d3b04190fa2: Waiting 17:58:49 3a2ae6a8a46f: Waiting 17:58:49 33b1e0a273af: Waiting 17:58:49 2f39f015ded8: Waiting 17:58:49 5c69ac0246d0: Verifying Checksum 17:58:49 5c69ac0246d0: Download complete 17:58:49 3a2ae6a8a46f: Verifying Checksum 17:58:49 3a2ae6a8a46f: Download complete 17:58:49 33b1e0a273af: Verifying Checksum 17:58:49 33b1e0a273af: Download complete 17:58:49 5d3b04190fa2: Verifying Checksum 17:58:49 5d3b04190fa2: Download complete 17:58:49 ec43610c2a17: Download complete 17:58:49 5eb5b503b376: Verifying Checksum 17:58:49 5eb5b503b376: Download complete 17:58:50 2f39f015ded8: Download complete 17:58:51 5eb5b503b376: Pull complete 17:58:51 5c69ac0246d0: Pull complete 17:58:51 ec43610c2a17: Pull complete 17:58:51 3a2ae6a8a46f: Pull complete 17:58:51 33b1e0a273af: Pull complete 17:58:52 5d3b04190fa2: Pull complete 17:58:56 2f39f015ded8: Pull complete 17:58:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:58:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:56 prd-ubuntu20.04-docker-8c-8g-32300 does not seem to be running inside a container 17:58:56 $ 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-368 -v /w/workspace/foundry_device-usb-camera_PR-368:/w/workspace/foundry_device-usb-camera_PR-368:rw,z -v /w/workspace/foundry_device-usb-camera_PR-368@tmp:/w/workspace/foundry_device-usb-camera_PR-368@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:59:00 $ docker top a534a4523184a092da67588ce3095231252b97db1a7ecb25269b09dbfd0cc766 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:01 ---> job-cost.sh 17:59:01 lf-activate-venv: SKIPPING 17:59:01 INFO: No Stack... 17:59:01 INFO: Retrieving Pricing Info for: v3-standard-8 17:59:01 INFO: Archiving Costs [Pipeline] sh 17:59:02 + cat /w/workspace/foundry_device-usb-camera_PR-368/archives/cost.csv 17:59:02 + cut -d, -f6 [Pipeline] lock 17:59:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-368-1-stack-cost] 17:59:02 Resource [jenkins-edgexfoundry-device-usb-camera-PR-368-1-stack-cost] did not exist. Created. 17:59:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:59:02 + echo total: 0.2199999988079071 [Pipeline] stash 17:59:02 Stashed 1 file(s) [Pipeline] } 17:59:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:59:02 $ docker stop --time=1 a534a4523184a092da67588ce3095231252b97db1a7ecb25269b09dbfd0cc766 17:59:04 $ docker rm -f --volumes a534a4523184a092da67588ce3095231252b97db1a7ecb25269b09dbfd0cc766 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:55:20 Cancelling nested steps due to timeout [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:55:20 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 23:55:23 + [ -d /w/workspace/foundry_device-usb-camera_PR-368/archives ] 23:55:23 + ls -al /w/workspace/foundry_device-usb-camera_PR-368/archives 23:55:23 total 16 23:55:23 drwxr-xr-x 3 root root 4096 Nov 25 17:59 . 23:55:23 drwxrwxr-x 10 jenkins jenkins 4096 Nov 25 17:59 .. 23:55:23 drwxr-xr-x 2 root root 4096 Nov 25 17:59 cost 23:55:23 -rw-r--r-- 1 root root 89 Nov 25 17:59 cost.csv 23:55:23 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-368/archives 23:55:23 + ls -al /w/workspace/foundry_device-usb-camera_PR-368/archives 23:55:23 total 16 23:55:23 drwxr-xr-x 3 jenkins jenkins 4096 Nov 25 17:59 . 23:55:23 drwxrwxr-x 10 jenkins jenkins 4096 Nov 25 17:59 .. 23:55:23 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 17:59 cost 23:55:23 -rw-r--r-- 1 jenkins jenkins 89 Nov 25 17:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:55:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:55:24 ---> package-listing.sh 23:55:24 ++ facter osfamily 23:55:24 ++ tr '[:upper:]' '[:lower:]' 23:55:24 + OS_FAMILY=debian 23:55:24 + workspace=/w/workspace/foundry_device-usb-camera_PR-368 23:55:24 + START_PACKAGES=/tmp/packages_start.txt 23:55:24 + END_PACKAGES=/tmp/packages_end.txt 23:55:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:55:24 + PACKAGES=/tmp/packages_start.txt 23:55:24 + '[' /w/workspace/foundry_device-usb-camera_PR-368 ']' 23:55:24 + PACKAGES=/tmp/packages_end.txt 23:55:24 + case "${OS_FAMILY}" in 23:55:24 + dpkg -l 23:55:24 + grep '^ii' 23:55:24 + '[' -f /tmp/packages_start.txt ']' 23:55:24 + '[' -f /tmp/packages_end.txt ']' 23:55:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:55:24 + '[' /w/workspace/foundry_device-usb-camera_PR-368 ']' 23:55:24 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-368/archives/ 23:55:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-368/archives/ [Pipeline] echo 23:55:24 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:55:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:26 prd-ubuntu20.04-docker-8c-8g-32300 does not seem to be running inside a container 23:55:26 $ 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-368/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-368 -v /w/workspace/foundry_device-usb-camera_PR-368:/w/workspace/foundry_device-usb-camera_PR-368:rw,z -v /w/workspace/foundry_device-usb-camera_PR-368@tmp:/w/workspace/foundry_device-usb-camera_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:55:26 $ docker top cf0598d0c2590b48d9d641a94f9709e2d44fb024cf165e74d48737f10571329a -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:26 + touch /tmp/pre-build-complete [Pipeline] sh 23:55:27 + mkdir -p /var/log/sysstat [Pipeline] sh 23:55:27 + ls /var/log/sa-host 23:55:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:27 provisioning config files... 23:55:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-368@tmp/config7467938741628077631tmp [Pipeline] { [Pipeline] echo 23:55:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:55:27 ---> create-netrc.sh [Pipeline] } 23:55:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:55:28 ---> python-tools-install.sh [Pipeline] echo 23:55:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:55:28 ---> sudo-logs.sh 23:55:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:55:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:55:29 ---> job-cost.sh 23:55:29 lf-activate-venv: SKIPPING 23:55:29 DEBUG: total: 0.2199999988079071 23:55:29 INFO: Retrieving Stack Cost... 23:55:29 INFO: Retrieving Pricing Info for: v3-standard-8 23:55:30 INFO: Archiving Costs [Pipeline] echo 23:55:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:55:30 ---> logs-deploy.sh 23:55:30 lf-activate-venv: SKIPPING 23:55:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-368/1 23:55:30 INFO: archiving workspace using pattern(s): 23:55:31 Archives upload complete. 23:55:31 INFO: archiving logs to Nexus