Pull request #364 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-usb-camera Obtained Jenkinsfile from d094db71989286d2b3e14cf42c05888c2403aea8+cec5fe797acd0a57918cb92b5c0815420fffe93d (3d61cf560cecadd156502ba402fe5d079c61d39b) 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-ssh17057759740056954716.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-ssh6028526795910642006.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-364/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-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2501933069837513107.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-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13467800160866087613.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-ssh2148538857755935703.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-364/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-364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17112948642752073505.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-24742 in /w/workspace/foundry_device-usb-camera_PR-364 [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-364 # 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/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cec5fe797acd0a57918cb92b5c0815420fffe93d into PR head commit d094db71989286d2b3e14cf42c05888c2403aea8 Merge succeeded, producing d094db71989286d2b3e14cf42c05888c2403aea8 Checking out Revision d094db71989286d2b3e14cf42c05888c2403aea8 (PR-364) > git config core.sparsecheckout # timeout=10 > git checkout -f d094db71989286d2b3e14cf42c05888c2403aea8 # 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 cec5fe797acd0a57918cb92b5c0815420fffe93d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d094db71989286d2b3e14cf42c05888c2403aea8 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-07T09:19:40.684Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:19:40.993Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:19:41.116Z] ========================================================= [2024-11-07T09:19:41.116Z] EdgeX Global Pipelines Version Info [2024-11-07T09:19:41.116Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:19:41.892Z] ------------------- [2024-11-07T09:19:41.892Z] stable info: [2024-11-07T09:19:41.892Z] ------------------- [2024-11-07T09:19:41.892Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:19:41.892Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:19:41.892Z] Message: update stable to v1.0.265 [2024-11-07T09:19:42.462Z] ------------------- [2024-11-07T09:19:42.462Z] experimental info: [2024-11-07T09:19:42.462Z] ------------------- [2024-11-07T09:19:42.462Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:19:42.462Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:19:42.462Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:19:42.688Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2024-11-07T09:19:42.748Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2024-11-07T09:19:42.807Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:19:42.868Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:19:42.926Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:19:42.985Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:19:43.040Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:19:43.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-07T09:19:43.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:19:43.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:19:43.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:19:43.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2024-11-07T09:19:43.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:19:43.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:19:43.492Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:19:43.549Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:19:43.607Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:19:43.660Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:19:43.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:19:43.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:19:43.827Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-07T09:19:43.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-07T09:19:43.919Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:19:43.973Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:19:44.022Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:19:44.072Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:19:44.124Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:19:44.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-364 [Pipeline] echo [2024-11-07T09:19:44.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-364 [Pipeline] echo [2024-11-07T09:19:44.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-364 [Pipeline] echo [2024-11-07T09:19:44.338Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d094db71989286d2b3e14cf42c05888c2403aea8 [Pipeline] echo [2024-11-07T09:19:44.398Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d094db7 [Pipeline] echo [2024-11-07T09:19:44.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:19:44.596Z] provisioning config files... [2024-11-07T09:19:44.610Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config11517040055270097033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:19:44.994Z] ---> ****-login.sh [2024-11-07T09:19:44.994Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:19:45.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:19:45.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:19:45.254Z] Configure a credential helper to remove this warning. See [2024-11-07T09:19:45.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:19:45.254Z] [2024-11-07T09:19:45.254Z] Login Succeeded [2024-11-07T09:19:45.254Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:19:45.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:19:45.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:19:45.254Z] Configure a credential helper to remove this warning. See [2024-11-07T09:19:45.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:19:45.254Z] [2024-11-07T09:19:45.254Z] Login Succeeded [2024-11-07T09:19:45.255Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:19:45.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:19:45.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:19:45.514Z] Configure a credential helper to remove this warning. See [2024-11-07T09:19:45.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:19:45.514Z] [2024-11-07T09:19:45.514Z] Login Succeeded [2024-11-07T09:19:45.514Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:19:45.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:19:45.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:19:45.515Z] Configure a credential helper to remove this warning. See [2024-11-07T09:19:45.515Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:19:45.515Z] [2024-11-07T09:19:45.515Z] Login Succeeded [2024-11-07T09:19:45.515Z] ****.io [2024-11-07T09:19:45.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:19:46.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:19:46.038Z] Configure a credential helper to remove this warning. See [2024-11-07T09:19:46.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:19:46.038Z] [2024-11-07T09:19:46.038Z] Login Succeeded [2024-11-07T09:19:46.038Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:19:46.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:19:46.754Z] + git rev-list -1 --merges d094db71989286d2b3e14cf42c05888c2403aea8~1..d094db71989286d2b3e14cf42c05888c2403aea8 [Pipeline] echo [2024-11-07T09:19:46.803Z] -----------> git rev-list -1 --merges d094db71989286d2b3e14cf42c05888c2403aea8~1..d094db71989286d2b3e14cf42c05888c2403aea8 d094db71989286d2b3e14cf42c05888c2403aea8 [false] [Pipeline] sh [2024-11-07T09:19:47.131Z] + git log --format=format:%s -1 d094db71989286d2b3e14cf42c05888c2403aea8 [Pipeline] echo [2024-11-07T09:19:47.176Z] ========================================================= [2024-11-07T09:19:47.176Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:19:47.176Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:19:47.642Z] + git log --format=format:%s -1 d094db71989286d2b3e14cf42c05888c2403aea8 [Pipeline] echo [2024-11-07T09:19:47.679Z] [semverPrep] GIT_COMMIT: d094db71989286d2b3e14cf42c05888c2403aea8, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:19:47.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:19:48.120Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:19:48.120Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:19:48.120Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:19:48.120Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:19:48.120Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:19:48.120Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:19:48.120Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:19:48.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:19:48.594Z] [2024-11-07T09:19:48.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:19:49.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:19:49.009Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:19:49.009Z] b85a868b505f: Pulling fs layer [2024-11-07T09:19:49.009Z] e2be974225ed: Pulling fs layer [2024-11-07T09:19:49.009Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:19:49.009Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:19:49.009Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:19:49.010Z] eaf3925da568: Pulling fs layer [2024-11-07T09:19:49.010Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:19:49.010Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:19:49.010Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:19:49.010Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:19:49.010Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:19:49.010Z] bab4dde63d76: Waiting [2024-11-07T09:19:49.010Z] eaf3925da568: Waiting [2024-11-07T09:19:49.010Z] bde34c3a00c8: Waiting [2024-11-07T09:19:49.010Z] 988bab9f4d93: Waiting [2024-11-07T09:19:49.010Z] 1469e6f7b9e6: Waiting [2024-11-07T09:19:49.010Z] b352a97aabf1: Waiting [2024-11-07T09:19:49.010Z] 4872d77fe225: Waiting [2024-11-07T09:19:49.010Z] 5851b861e8e6: Waiting [2024-11-07T09:19:49.010Z] e2be974225ed: Download complete [2024-11-07T09:19:49.010Z] 988bab9f4d93: Verifying Checksum [2024-11-07T09:19:49.010Z] 988bab9f4d93: Download complete [2024-11-07T09:19:49.010Z] 1469e6f7b9e6: Verifying Checksum [2024-11-07T09:19:49.010Z] 1469e6f7b9e6: Download complete [2024-11-07T09:19:49.268Z] eaf3925da568: Verifying Checksum [2024-11-07T09:19:49.268Z] eaf3925da568: Download complete [2024-11-07T09:19:49.268Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:19:49.268Z] 339a4e72a1f5: Download complete [2024-11-07T09:19:49.268Z] bde34c3a00c8: Download complete [2024-11-07T09:19:49.268Z] b352a97aabf1: Download complete [2024-11-07T09:19:49.268Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:19:49.268Z] 4872d77fe225: Download complete [2024-11-07T09:19:49.268Z] 5851b861e8e6: Verifying Checksum [2024-11-07T09:19:49.268Z] 5851b861e8e6: Download complete [2024-11-07T09:19:49.268Z] b85a868b505f: Verifying Checksum [2024-11-07T09:19:49.268Z] b85a868b505f: Download complete [2024-11-07T09:19:49.527Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:19:49.527Z] bab4dde63d76: Download complete [2024-11-07T09:19:50.470Z] b85a868b505f: Pull complete [2024-11-07T09:19:50.728Z] e2be974225ed: Pull complete [2024-11-07T09:19:51.298Z] 339a4e72a1f5: Pull complete [2024-11-07T09:19:51.298Z] 988bab9f4d93: Pull complete [2024-11-07T09:19:51.557Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:19:51.557Z] eaf3925da568: Pull complete [2024-11-07T09:19:53.461Z] bab4dde63d76: Pull complete [2024-11-07T09:19:53.461Z] bde34c3a00c8: Pull complete [2024-11-07T09:19:53.721Z] b352a97aabf1: Pull complete [2024-11-07T09:19:53.721Z] 4872d77fe225: Pull complete [2024-11-07T09:19:53.721Z] 5851b861e8e6: Pull complete [2024-11-07T09:19:53.721Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:19:53.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:19:53.721Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:19:54.021Z] prd-ubuntu20.04-docker-8c-8g-24742 does not seem to be running inside a container [2024-11-07T09:19:54.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@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-devops/py-git-semver:0.1.4 cat [2024-11-07T09:19:57.249Z] $ docker top 6a4389ededed37b4af7a80d46a6858bbdc42e3fe88dbd6f9cf6c5cacc4b32a5c -eo pid,comm [2024-11-07T09:19:57.302Z] 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). [2024-11-07T09:19:57.302Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:19:57.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:19:57.475Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:19:57.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:19:57.618Z] $ docker exec 6a4389ededed37b4af7a80d46a6858bbdc42e3fe88dbd6f9cf6c5cacc4b32a5c ssh-agent [2024-11-07T09:19:57.743Z] SSH_AUTH_SOCK=/tmp/ssh-c6z5LvI8DodG/agent.32 [2024-11-07T09:19:57.743Z] SSH_AGENT_PID=38 [2024-11-07T09:19:57.749Z] Running ssh-add (command line suppressed) [2024-11-07T09:19:57.854Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_1572101709677398448.key (/w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_1572101709677398448.key) [2024-11-07T09:19:57.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:19:58.224Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:19:58.252Z] $ docker exec --env ******** --env ******** 6a4389ededed37b4af7a80d46a6858bbdc42e3fe88dbd6f9cf6c5cacc4b32a5c ssh-agent -k [2024-11-07T09:19:58.356Z] unset SSH_AUTH_SOCK; [2024-11-07T09:19:58.357Z] unset SSH_AGENT_PID; [2024-11-07T09:19:58.357Z] echo Agent pid 38 killed; [2024-11-07T09:19:58.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:19:58.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:19:58.490Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:19:58.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:19:58.607Z] $ docker exec 6a4389ededed37b4af7a80d46a6858bbdc42e3fe88dbd6f9cf6c5cacc4b32a5c ssh-agent [2024-11-07T09:19:58.710Z] SSH_AUTH_SOCK=/tmp/ssh-OdEDYQrUq2GV/agent.71 [2024-11-07T09:19:58.710Z] SSH_AGENT_PID=77 [2024-11-07T09:19:58.715Z] Running ssh-add (command line suppressed) [2024-11-07T09:19:58.837Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_6316193940157787106.key (/w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_6316193940157787106.key) [2024-11-07T09:19:58.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:19:59.205Z] + git semver init [2024-11-07T09:19:59.464Z] 2024-11-07 09:19:59,399 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:19:59.464Z] 2024-11-07 09:19:59,400 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-364/.semver [2024-11-07T09:19:59.464Z] 2024-11-07 09:19:59,400 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-364/.semver [2024-11-07T09:19:59.464Z] 2024-11-07 09:19:59,400 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-364/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-364, universal_newlines=False, shell=None, istream=None) [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,952 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-364/.git/info/exclude [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,953 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-364/.semver/PR-364 with force:False [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,953 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-364/.semver/PR-364 [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,957 [execute] INFO git cat-file --batch-check [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-364/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,964 [execute] INFO git cat-file --batch [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-364/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:20:01.376Z] 2024-11-07 09:20:00,970 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-364/.semver/PR-364 [2024-11-07T09:20:01.376Z] 0.0.0 [Pipeline] } [2024-11-07T09:20:01.403Z] $ docker exec --env ******** --env ******** 6a4389ededed37b4af7a80d46a6858bbdc42e3fe88dbd6f9cf6c5cacc4b32a5c ssh-agent -k [2024-11-07T09:20:01.505Z] unset SSH_AUTH_SOCK; [2024-11-07T09:20:01.506Z] unset SSH_AGENT_PID; [2024-11-07T09:20:01.506Z] echo Agent pid 77 killed; [2024-11-07T09:20:01.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:20:01.960Z] + git semver [Pipeline] } [2024-11-07T09:20:02.247Z] $ docker stop --time=1 6a4389ededed37b4af7a80d46a6858bbdc42e3fe88dbd6f9cf6c5cacc4b32a5c [2024-11-07T09:20:03.588Z] $ docker rm -f --volumes 6a4389ededed37b4af7a80d46a6858bbdc42e3fe88dbd6f9cf6c5cacc4b32a5c [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:20:04.004Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:20:04.331Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:20:04.357Z] [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 [2024-11-07T09:20:05.056Z] provisioning config files... [2024-11-07T09:20:05.065Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config9796597344929429919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:20:05.460Z] ---> ****-login.sh [2024-11-07T09:20:05.460Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:20:05.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:20:05.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:20:05.460Z] Configure a credential helper to remove this warning. See [2024-11-07T09:20:05.460Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:20:05.460Z] [2024-11-07T09:20:05.460Z] Login Succeeded [2024-11-07T09:20:05.461Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:20:05.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:20:05.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:20:05.461Z] Configure a credential helper to remove this warning. See [2024-11-07T09:20:05.461Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:20:05.461Z] [2024-11-07T09:20:05.461Z] Login Succeeded [2024-11-07T09:20:05.461Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:20:05.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:20:05.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:20:05.720Z] Configure a credential helper to remove this warning. See [2024-11-07T09:20:05.720Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:20:05.720Z] [2024-11-07T09:20:05.720Z] Login Succeeded [2024-11-07T09:20:05.720Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:20:05.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:20:05.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:20:05.720Z] Configure a credential helper to remove this warning. See [2024-11-07T09:20:05.720Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:20:05.720Z] [2024-11-07T09:20:05.720Z] Login Succeeded [2024-11-07T09:20:05.720Z] ****.io [2024-11-07T09:20:05.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:20:05.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:20:05.980Z] Configure a credential helper to remove this warning. See [2024-11-07T09:20:05.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:20:05.980Z] [2024-11-07T09:20:05.980Z] Login Succeeded [2024-11-07T09:20:05.980Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:20:06.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:20:06.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:20:06.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:20:06.374Z] ========================================================= [2024-11-07T09:20:06.374Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:20:06.374Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:20:06.894Z] + 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 . [2024-11-07T09:20:06.894Z] Sending build context to Docker daemon 20.6MB [2024-11-07T09:20:06.894Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:20:06.894Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-07T09:20:07.154Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:20:07.154Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:20:07.154Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:20:07.154Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:20:07.154Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:20:07.154Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:20:07.154Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:20:07.154Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:20:07.154Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:20:07.154Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:20:07.154Z] 5c3c966382ef: Waiting [2024-11-07T09:20:07.154Z] 4f4fb700ef54: Waiting [2024-11-07T09:20:07.154Z] 5d5c8e513c77: Waiting [2024-11-07T09:20:07.154Z] 561ebcabdf7f: Waiting [2024-11-07T09:20:07.154Z] 9f66e0745190: Waiting [2024-11-07T09:20:07.154Z] f49a43e4bbc0: Waiting [2024-11-07T09:20:07.154Z] 4cc291be95ef: Verifying Checksum [2024-11-07T09:20:07.154Z] 4cc291be95ef: Download complete [2024-11-07T09:20:07.154Z] 5c3c966382ef: Verifying Checksum [2024-11-07T09:20:07.154Z] 5c3c966382ef: Download complete [2024-11-07T09:20:07.154Z] 4f4fb700ef54: Download complete [2024-11-07T09:20:07.154Z] 43c4264eed91: Download complete [2024-11-07T09:20:07.154Z] 5d5c8e513c77: Verifying Checksum [2024-11-07T09:20:07.154Z] 5d5c8e513c77: Download complete [2024-11-07T09:20:07.154Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:20:07.154Z] 9f66e0745190: Download complete [2024-11-07T09:20:07.412Z] 561ebcabdf7f: Download complete [2024-11-07T09:20:07.412Z] 43c4264eed91: Pull complete [2024-11-07T09:20:07.412Z] 4cc291be95ef: Pull complete [2024-11-07T09:20:07.669Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:20:07.669Z] 2ac1f1163629: Download complete [2024-11-07T09:20:07.927Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:20:07.927Z] f49a43e4bbc0: Download complete [2024-11-07T09:20:11.208Z] 2ac1f1163629: Pull complete [2024-11-07T09:20:11.208Z] 5c3c966382ef: Pull complete [2024-11-07T09:20:11.208Z] 4f4fb700ef54: Pull complete [2024-11-07T09:20:11.208Z] 5d5c8e513c77: Pull complete [2024-11-07T09:20:11.208Z] 9f66e0745190: Pull complete [2024-11-07T09:20:13.742Z] f49a43e4bbc0: Pull complete [2024-11-07T09:20:14.316Z] 561ebcabdf7f: Pull complete [2024-11-07T09:20:14.316Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:20:14.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:20:14.316Z] ---> 3a752c3f9dda [2024-11-07T09:20:14.316Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:20:19.608Z] ---> Running in 724454ef0d26 [2024-11-07T09:20:19.608Z] Removing intermediate container 724454ef0d26 [2024-11-07T09:20:19.608Z] ---> 7f61d7a9a455 [2024-11-07T09:20:19.608Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:20:19.608Z] ---> Running in 2a876f36bd81 [2024-11-07T09:20:19.608Z] Removing intermediate container 2a876f36bd81 [2024-11-07T09:20:19.608Z] ---> 493667335ca7 [2024-11-07T09:20:19.608Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-07T09:20:19.608Z] ---> Running in ac48abb048c9 [2024-11-07T09:20:19.608Z] Removing intermediate container ac48abb048c9 [2024-11-07T09:20:19.608Z] ---> 7c2d6d28f781 [2024-11-07T09:20:19.608Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-07T09:20:19.608Z] ---> Running in 46c0bd7b2145 [2024-11-07T09:20:19.608Z] Removing intermediate container 46c0bd7b2145 [2024-11-07T09:20:19.608Z] ---> c0e7ccea2fa4 [2024-11-07T09:20:19.608Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:20:19.608Z] ---> Running in 8bb814321d2f [2024-11-07T09:20:19.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:20:19.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:20:19.838Z] Still waiting to schedule task [2024-11-07T09:20:19.838Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-07T09:20:19.868Z] (1/14) Installing libintl (0.22.5-r0) [2024-11-07T09:20:19.868Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-11-07T09:20:19.868Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-11-07T09:20:19.868Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-11-07T09:20:19.868Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-11-07T09:20:19.868Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-11-07T09:20:20.129Z] (7/14) Installing udev-init-scripts (35-r1) [2024-11-07T09:20:20.129Z] (8/14) Installing libeconf (0.6.3-r0) [2024-11-07T09:20:20.129Z] (9/14) Installing libblkid (2.40.1-r1) [2024-11-07T09:20:20.129Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-11-07T09:20:20.129Z] (11/14) Installing kmod-libs (32-r0) [2024-11-07T09:20:20.129Z] (12/14) Installing eudev (3.2.14-r2) [2024-11-07T09:20:20.129Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-11-07T09:20:20.129Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-11-07T09:20:20.129Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:20:20.129Z] Executing eudev-3.2.14-r2.trigger [2024-11-07T09:20:20.129Z] OK: 253 MiB in 68 packages [2024-11-07T09:20:21.068Z] Removing intermediate container 8bb814321d2f [2024-11-07T09:20:21.068Z] ---> 8300ac883459 [2024-11-07T09:20:21.068Z] Step 8/13 : WORKDIR /device-usb-camera [2024-11-07T09:20:21.068Z] ---> Running in 18b29f1ebb95 [2024-11-07T09:20:21.068Z] Removing intermediate container 18b29f1ebb95 [2024-11-07T09:20:21.068Z] ---> 70f1691b490c [2024-11-07T09:20:21.068Z] Step 9/13 : COPY go.mod vendor* ./ [2024-11-07T09:20:21.068Z] ---> b00fa3b5752d [2024-11-07T09:20:21.068Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:20:21.068Z] ---> Running in a94fdc0e9fea [2024-11-07T09:21:07.773Z] Removing intermediate container a94fdc0e9fea [2024-11-07T09:21:07.773Z] ---> d1c12fb81bb0 [2024-11-07T09:21:07.773Z] Step 11/13 : COPY . . [2024-11-07T09:21:07.773Z] ---> ee9839de7f36 [2024-11-07T09:21:07.773Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-07T09:21:07.773Z] ---> Running in cd422704ba0a [2024-11-07T09:21:07.773Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:21:07.773Z] Dload Upload Total Spent Left Speed [2024-11-07T09:21:07.773Z] 0 0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9521 0 --:--:-- --:--:-- --:--:-- 9567 [2024-11-07T09:21:07.773Z] Removing intermediate container cd422704ba0a [2024-11-07T09:21:07.773Z] ---> a4e10c8e115f [2024-11-07T09:21:07.773Z] Step 13/13 : RUN ${MAKE} [2024-11-07T09:21:07.773Z] ---> Running in b72445837da1 [2024-11-07T09:21:07.773Z] noop [2024-11-07T09:21:07.773Z] Removing intermediate container b72445837da1 [2024-11-07T09:21:07.773Z] ---> b8e29a515337 [2024-11-07T09:21:07.773Z] Successfully built b8e29a515337 [2024-11-07T09:21:07.773Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:21:08.254Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:21:08.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:21:08.430Z] prd-ubuntu20.04-docker-8c-8g-24742 does not seem to be running inside a container [2024-11-07T09:21:08.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:21:08.796Z] $ docker top 38f801c28a18bb9fc2ffd4b744e9fc45c2211bbbc0e8484b97a6e77bfcac960c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:21:09.208Z] + go version [2024-11-07T09:21:09.208Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:21:09.242Z] $ docker stop --time=1 38f801c28a18bb9fc2ffd4b744e9fc45c2211bbbc0e8484b97a6e77bfcac960c [2024-11-07T09:21:10.610Z] $ docker rm -f --volumes 38f801c28a18bb9fc2ffd4b744e9fc45c2211bbbc0e8484b97a6e77bfcac960c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:21:11.367Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:21:11.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:21:11.508Z] prd-ubuntu20.04-docker-8c-8g-24742 does not seem to be running inside a container [2024-11-07T09:21:11.534Z] $ 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-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:21:11.887Z] $ docker top ca9a0ad0ae5011060c3984a61ed891f739ae3533972f662f2fc0ca60815ebee3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:21:12.305Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-364 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:21:12.681Z] + make test [2024-11-07T09:21:12.682Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:21:14.060Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-11-07T09:21:35.982Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-11-07T09:21:35.982Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 4.4% of statements [2024-11-07T09:21:44.103Z] go vet ./... [2024-11-07T09:21:49.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:21:49.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:21:49.365Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:21:49.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:21:49.454Z] $ docker stop --time=1 ca9a0ad0ae5011060c3984a61ed891f739ae3533972f662f2fc0ca60815ebee3 [2024-11-07T09:21:53.273Z] $ docker rm -f --volumes ca9a0ad0ae5011060c3984a61ed891f739ae3533972f662f2fc0ca60815ebee3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:21:53.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:21:53.972Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:21:54.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:21:54.928Z] + ls -al . [2024-11-07T09:21:54.928Z] total 288 [2024-11-07T09:21:54.928Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:21 . [2024-11-07T09:21:54.928Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:19 .. [2024-11-07T09:21:54.928Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:21 .git [2024-11-07T09:21:54.928Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:19 .github [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 379 Nov 7 09:19 .gitignore [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 203 Nov 7 09:19 .golangci.yml [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 7 09:19 .hadolint.yml [2024-11-07T09:21:54.928Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:20 .semver [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 19367 Nov 7 09:19 Attribution.txt [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 16561 Nov 7 09:19 CHANGELOG.md [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 2440 Nov 7 09:19 Dockerfile [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 09:19 GOVERNANCE.md [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 7 09:19 Jenkinsfile [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 09:19 LICENSE [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 3201 Nov 7 09:19 Makefile [2024-11-07T09:21:54.928Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 09:19 OWNERS.md [2024-11-07T09:21:54.929Z] -rw-rw-r-- 1 jenkins jenkins 2575 Nov 7 09:19 README.md [2024-11-07T09:21:54.929Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:20 VERSION [2024-11-07T09:21:54.929Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:19 bin [2024-11-07T09:21:54.929Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:19 cmd [2024-11-07T09:21:54.929Z] -rw-r--r-- 1 jenkins jenkins 54772 Nov 7 09:21 coverage.out [2024-11-07T09:21:54.929Z] -rwxrwxr-x 1 jenkins jenkins 84 Nov 7 09:19 docker-entrypoint.sh [2024-11-07T09:21:54.929Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:19 docs [2024-11-07T09:21:54.929Z] -rw-rw-r-- 1 jenkins jenkins 6515 Nov 7 09:19 go.mod [2024-11-07T09:21:54.929Z] -rw-rw-r-- 1 jenkins jenkins 88539 Nov 7 09:19 go.sum [2024-11-07T09:21:54.929Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:19 internal [2024-11-07T09:21:54.929Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 7 09:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:21:55.360Z] + 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=d094db71989286d2b3e14cf42c05888c2403aea8 --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:21:55.360Z] Sending build context to Docker daemon 20.65MB [2024-11-07T09:21:55.360Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:21:55.360Z] Step 2/37 : FROM ${BASE} AS builder [2024-11-07T09:21:55.360Z] ---> b8e29a515337 [2024-11-07T09:21:55.360Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:21:55.619Z] ---> Running in ea6ba89a2f59 [2024-11-07T09:21:55.878Z] Removing intermediate container ea6ba89a2f59 [2024-11-07T09:21:55.878Z] ---> f05cd5bda781 [2024-11-07T09:21:55.878Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:21:55.878Z] ---> Running in 378ebfa4cd70 [2024-11-07T09:21:55.878Z] Removing intermediate container 378ebfa4cd70 [2024-11-07T09:21:55.878Z] ---> 95b797d20c86 [2024-11-07T09:21:55.878Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-07T09:21:55.878Z] ---> Running in a888491ee978 [2024-11-07T09:21:55.878Z] Removing intermediate container a888491ee978 [2024-11-07T09:21:55.878Z] ---> 7f6a7dbbde80 [2024-11-07T09:21:55.878Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-07T09:21:55.878Z] ---> Running in f5efb3202c85 [2024-11-07T09:21:56.137Z] Removing intermediate container f5efb3202c85 [2024-11-07T09:21:56.137Z] ---> dddf3edc71cd [2024-11-07T09:21:56.137Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:21:56.137Z] ---> Running in 362d83e99e78 [2024-11-07T09:21:56.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:21:56.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:21:56.971Z] OK: 253 MiB in 68 packages [2024-11-07T09:21:57.228Z] Removing intermediate container 362d83e99e78 [2024-11-07T09:21:57.228Z] ---> 0368e86ac1b4 [2024-11-07T09:21:57.228Z] Step 8/37 : WORKDIR /device-usb-camera [2024-11-07T09:21:57.228Z] ---> Running in e6862c091879 [2024-11-07T09:21:57.228Z] Removing intermediate container e6862c091879 [2024-11-07T09:21:57.228Z] ---> 52f8860e8017 [2024-11-07T09:21:57.228Z] Step 9/37 : COPY go.mod vendor* ./ [2024-11-07T09:21:57.228Z] ---> 826ee426c864 [2024-11-07T09:21:57.228Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:21:57.228Z] ---> Running in 02703b690453 [2024-11-07T09:21:58.164Z] Removing intermediate container 02703b690453 [2024-11-07T09:21:58.164Z] ---> ff22d29b656e [2024-11-07T09:21:58.164Z] Step 11/37 : COPY . . [2024-11-07T09:21:58.732Z] ---> 62fc14557412 [2024-11-07T09:21:58.732Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-07T09:21:58.732Z] ---> Running in a98d9af8c5cd [2024-11-07T09:21:58.732Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:21:58.732Z] Dload Upload Total Spent Left Speed [2024-11-07T09:21:58.991Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0     0  43183      0 --:--:-- --:--:-- --:--:-- 44250 [2024-11-07T09:21:59.251Z] Removing intermediate container a98d9af8c5cd [2024-11-07T09:21:59.251Z] ---> ede9433962fb [2024-11-07T09:21:59.251Z] Step 13/37 : RUN ${MAKE} [2024-11-07T09:21:59.251Z] ---> Running in 317a15f1155e [2024-11-07T09:21:59.508Z] 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.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2024-11-07T09:22:23.606Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24744 in /w/workspace/foundry_device-usb-camera_PR-364 [Pipeline] { [Pipeline] ws [2024-11-07T09:22:23.677Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:22:26.789Z] Selected Git installation does not exist. Using Default [2024-11-07T09:22:26.789Z] The recommended git tool is: NONE [2024-11-07T09:22:31.569Z] Removing intermediate container 317a15f1155e [2024-11-07T09:22:31.569Z] ---> b10ba04a5170 [2024-11-07T09:22:31.569Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-11-07T09:22:32.139Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-11-07T09:22:32.398Z] 8411072a22a5: Pulling fs layer [2024-11-07T09:22:32.658Z] 8411072a22a5: Verifying Checksum [2024-11-07T09:22:32.658Z] 8411072a22a5: Download complete [2024-11-07T09:22:32.658Z] 8411072a22a5: Pull complete [2024-11-07T09:22:32.658Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-11-07T09:22:32.658Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-11-07T09:22:32.658Z] ---> 1ac78cb06e13 [2024-11-07T09:22:32.658Z] Step 15/37 : FROM alpine:3.20 [2024-11-07T09:22:33.224Z] 3.20: Pulling from library/alpine [2024-11-07T09:22:33.224Z] 43c4264eed91: Already exists [2024-11-07T09:22:33.224Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:22:33.224Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:22:33.224Z] ---> 91ef0af61f39 [2024-11-07T09:22:33.224Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-07T09:22:33.790Z] ---> Running in 14b062d142b7 [2024-11-07T09:22:33.790Z] Removing intermediate container 14b062d142b7 [2024-11-07T09:22:33.790Z] ---> aa06dfddc1fe [2024-11-07T09:22:33.790Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-11-07T09:22:33.790Z] ---> Running in d75b6c81f1b4 [2024-11-07T09:22:34.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:34.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:34.416Z] using credential edgex-jenkins-ssh [2024-11-07T09:22:34.442Z] Cloning the remote Git repository [2024-11-07T09:22:34.566Z] (1/115) Installing dumb-init (1.2.5-r3) [2024-11-07T09:22:34.566Z] (2/115) Installing libSvtAv1Enc (2.0.0-r1) [2024-11-07T09:22:34.566Z] (3/115) Installing aom-libs (3.9.1-r0) [2024-11-07T09:22:34.566Z] (4/115) Installing libxau (1.0.11-r4) [2024-11-07T09:22:34.566Z] (5/115) Installing libmd (1.1.0-r0) [2024-11-07T09:22:34.566Z] (6/115) Installing libbsd (0.12.2-r0) [2024-11-07T09:22:34.566Z] (7/115) Installing libxdmcp (1.1.5-r1) [2024-11-07T09:22:34.566Z] (8/115) Installing libxcb (1.16.1-r0) [2024-11-07T09:22:34.566Z] (9/115) Installing libx11 (1.8.9-r1) [2024-11-07T09:22:34.566Z] (10/115) Installing hwdata-pci (0.382-r0) [2024-11-07T09:22:34.566Z] (11/115) Installing libpciaccess (0.18.1-r0) [2024-11-07T09:22:34.566Z] (12/115) Installing libdrm (2.4.120-r0) [2024-11-07T09:22:34.824Z] (13/115) Installing libxext (1.3.6-r2) [2024-11-07T09:22:34.824Z] (14/115) Installing libxfixes (6.0.1-r4) [2024-11-07T09:22:34.824Z] (15/115) Installing libffi (3.4.6-r0) [2024-11-07T09:22:34.824Z] (16/115) Installing wayland-libs-client (1.22.0-r4) [2024-11-07T09:22:34.824Z] (17/115) Installing libva (2.21.0-r0) [2024-11-07T09:22:34.824Z] (18/115) Installing libvdpau (1.5-r3) [2024-11-07T09:22:34.824Z] (19/115) Installing libgcc (13.2.1_git20240309-r0) [2024-11-07T09:22:34.825Z] (20/115) Installing libstdc++ (13.2.1_git20240309-r0) [2024-11-07T09:22:34.825Z] (21/115) Installing onevpl-libs (2023.3.1-r2) [2024-11-07T09:22:34.825Z] (22/115) Installing ffmpeg-libavutil (6.1.1-r8) [2024-11-07T09:22:34.825Z] (23/115) Installing libdav1d (1.4.2-r0) [2024-11-07T09:22:34.825Z] (24/115) Installing openexr-libiex (3.1.13-r1) [2024-11-07T09:22:34.825Z] (25/115) Installing openexr-libilmthread (3.1.13-r1) [2024-11-07T09:22:34.825Z] (26/115) Installing imath (3.1.12-r0) [2024-11-07T09:22:34.825Z] (27/115) Installing openexr-libopenexr (3.1.13-r1) [2024-11-07T09:22:34.825Z] (28/115) Installing brotli-libs (1.1.0-r2) [2024-11-07T09:22:34.825Z] (29/115) Installing giflib (5.2.2-r0) [2024-11-07T09:22:34.825Z] (30/115) Installing libhwy (1.0.7-r0) [2024-11-07T09:22:34.825Z] (31/115) Installing libjpeg-turbo (3.0.3-r0) [2024-11-07T09:22:34.825Z] (32/115) Installing lcms2 (2.16-r0) [2024-11-07T09:22:34.825Z] (33/115) Installing libpng (1.6.44-r0) [2024-11-07T09:22:34.825Z] (34/115) Installing libjxl (0.10.2-r0) [2024-11-07T09:22:34.825Z] (35/115) Installing lame-libs (3.100-r5) [2024-11-07T09:22:34.825Z] (36/115) Installing opus (1.5.2-r0) [2024-11-07T09:22:34.825Z] (37/115) Installing rav1e-libs (0.7.1-r0) [2024-11-07T09:22:34.825Z] (38/115) Installing libgomp (13.2.1_git20240309-r0) [2024-11-07T09:22:34.825Z] (39/115) Installing soxr (0.1.3-r7) [2024-11-07T09:22:34.825Z] (40/115) Installing ffmpeg-libswresample (6.1.1-r8) [2024-11-07T09:22:35.083Z] (41/115) Installing libogg (1.3.5-r5) [2024-11-07T09:22:35.083Z] (42/115) Installing libtheora (1.1.1-r18) [2024-11-07T09:22:35.083Z] (43/115) Installing libvorbis (1.3.7-r2) [2024-11-07T09:22:35.083Z] (44/115) Installing libvpx (1.14.1-r0) [2024-11-07T09:22:35.083Z] (45/115) Installing libsharpyuv (1.3.2-r0) [2024-11-07T09:22:35.083Z] (46/115) Installing libwebp (1.3.2-r0) [2024-11-07T09:22:35.083Z] (47/115) Installing libwebpmux (1.3.2-r0) [2024-11-07T09:22:35.083Z] (48/115) Installing x264-libs (0.164_git20231001-r0) [2024-11-07T09:22:35.083Z] (49/115) Installing numactl (2.0.18-r0) [2024-11-07T09:22:35.083Z] (50/115) Installing x265-libs (3.6-r0) [2024-11-07T09:22:35.083Z] (51/115) Installing xvidcore (1.3.7-r2) [2024-11-07T09:22:35.083Z] (52/115) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-11-07T09:22:35.341Z] (53/115) Installing sdl2 (2.28.5-r1) [2024-11-07T09:22:35.341Z] (54/115) Installing alsa-lib (1.2.11-r0) [2024-11-07T09:22:35.341Z] (55/115) Installing libexpat (2.6.3-r0) [2024-11-07T09:22:35.341Z] (56/115) Installing libbz2 (1.0.8-r6) [2024-11-07T09:22:35.341Z] (57/115) Installing freetype (2.13.2-r0) [2024-11-07T09:22:35.341Z] (58/115) Installing fontconfig (2.15.0-r1) [2024-11-07T09:22:35.341Z] (59/115) Installing fribidi (1.0.15-r0) [2024-11-07T09:22:35.341Z] (60/115) Installing libintl (0.22.5-r0) [2024-11-07T09:22:35.341Z] (61/115) Installing libeconf (0.6.3-r0) [2024-11-07T09:22:35.341Z] (62/115) Installing libblkid (2.40.1-r1) [2024-11-07T09:22:35.341Z] (63/115) Installing libmount (2.40.1-r1) [2024-11-07T09:22:35.341Z] (64/115) Installing pcre2 (10.43-r0) [2024-11-07T09:22:35.341Z] (65/115) Installing glib (2.80.5-r0) [2024-11-07T09:22:35.341Z] (66/115) Installing graphite2 (1.3.14-r6) [2024-11-07T09:22:35.341Z] (67/115) Installing harfbuzz (8.5.0-r0) [2024-11-07T09:22:35.341Z] (68/115) Installing libunibreak (6.1-r0) [2024-11-07T09:22:35.341Z] (69/115) Installing libass (0.17.2-r0) [2024-11-07T09:22:35.341Z] (70/115) Installing libbluray (1.3.4-r1) [2024-11-07T09:22:35.341Z] (71/115) Installing mpg123-libs (1.32.8-r0) [2024-11-07T09:22:35.341Z] (72/115) Installing libopenmpt (0.7.7-r0) [2024-11-07T09:22:35.341Z] (73/115) Installing cjson (1.7.18-r0) [2024-11-07T09:22:35.341Z] (74/115) Installing mbedtls (3.6.2-r0) [2024-11-07T09:22:35.341Z] (75/115) Installing librist (0.2.10-r1) [2024-11-07T09:22:35.341Z] (76/115) Installing libsrt (1.5.3-r0) [2024-11-07T09:22:35.341Z] (77/115) Installing libssh (0.10.6-r0) [2024-11-07T09:22:35.341Z] (78/115) Installing xz-libs (5.6.2-r0) [2024-11-07T09:22:35.341Z] (79/115) Installing libxml2 (2.12.7-r0) [2024-11-07T09:22:35.341Z] (80/115) Installing libsodium (1.0.19-r0) [2024-11-07T09:22:35.599Z] (81/115) Installing libzmq (4.3.5-r2) [2024-11-07T09:22:35.599Z] (82/115) Installing ffmpeg-libavformat (6.1.1-r8) [2024-11-07T09:22:35.599Z] (83/115) Installing serd-libs (0.32.2-r0) [2024-11-07T09:22:35.599Z] (84/115) Installing zix-libs (0.4.2-r0) [2024-11-07T09:22:35.599Z] (85/115) Installing sord-libs (0.16.16-r0) [2024-11-07T09:22:35.599Z] (86/115) Installing sratom (0.6.16-r0) [2024-11-07T09:22:35.599Z] (87/115) Installing lilv-libs (0.24.24-r1) [2024-11-07T09:22:35.599Z] (88/115) Installing glslang-libs (1.3.261.1-r0) [2024-11-07T09:22:35.599Z] (89/115) Installing libdovi (3.3.0-r0) [2024-11-07T09:22:35.599Z] (90/115) Installing spirv-tools (1.3.261.1-r0) [2024-11-07T09:22:34.500Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2024-11-07T09:22:34.650Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2024-11-07T09:22:34.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-11-07T09:22:34.892Z] > git --version # timeout=10 [2024-11-07T09:22:34.922Z] > git --version # 'git version 2.25.1' [2024-11-07T09:22:34.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:22:35.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:22:35.858Z] (91/115) Installing shaderc (2024.0-r0) [2024-11-07T09:22:35.858Z] (92/115) Installing vulkan-loader (1.3.261.1-r0) [2024-11-07T09:22:36.117Z] (93/115) Installing libplacebo (6.338.2-r1) [2024-11-07T09:22:36.117Z] (94/115) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-11-07T09:22:36.117Z] (95/115) Installing ffmpeg-libswscale (6.1.1-r8) [2024-11-07T09:22:36.117Z] (96/115) Installing vidstab (1.1.1-r0) [2024-11-07T09:22:36.117Z] (97/115) Installing zimg (3.0.5-r2) [2024-11-07T09:22:36.117Z] (98/115) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-11-07T09:22:36.117Z] (99/115) Installing libasyncns (0.8-r3) [2024-11-07T09:22:36.117Z] (100/115) Installing dbus-libs (1.14.10-r1) [2024-11-07T09:22:36.117Z] (101/115) Installing libltdl (2.4.7-r3) [2024-11-07T09:22:36.117Z] (102/115) Installing orc (0.4.40-r0) [2024-11-07T09:22:36.117Z] (103/115) Installing libflac (1.4.3-r1) [2024-11-07T09:22:36.117Z] (104/115) Installing libsndfile (1.2.2-r0) [2024-11-07T09:22:36.117Z] (105/115) Installing speexdsp (1.2.1-r2) [2024-11-07T09:22:36.117Z] (106/115) Installing tdb-libs (1.4.9-r1) [2024-11-07T09:22:36.117Z] (107/115) Installing libpulse (17.0-r0) [2024-11-07T09:22:36.117Z] (108/115) Installing v4l-utils-libs (1.24.1-r1) [2024-11-07T09:22:36.117Z] (109/115) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-11-07T09:22:36.117Z] (110/115) Installing ffmpeg (6.1.1-r8) [2024-11-07T09:22:36.117Z] (111/115) Installing udev-init-scripts (35-r1) [2024-11-07T09:22:36.117Z] (112/115) Installing eudev-libs (3.2.14-r2) [2024-11-07T09:22:36.376Z] (113/115) Installing zstd-libs (1.5.6-r0) [2024-11-07T09:22:36.376Z] (114/115) Installing kmod-libs (32-r0) [2024-11-07T09:22:36.376Z] (115/115) Installing eudev (3.2.14-r2) [2024-11-07T09:22:36.376Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:22:36.376Z] Executing glib-2.80.5-r0.trigger [2024-11-07T09:22:36.376Z] Executing eudev-3.2.14-r2.trigger [2024-11-07T09:22:36.376Z] OK: 134 MiB in 129 packages [2024-11-07T09:22:38.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-11-07T09:22:38.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:22:39.660Z] Removing intermediate container d75b6c81f1b4 [2024-11-07T09:22:39.660Z] ---> 0bd9a1e65602 [2024-11-07T09:22:39.660Z] Step 18/37 : RUN apk --no-cache upgrade [2024-11-07T09:22:39.660Z] ---> Running in 915ebf3cd31f [2024-11-07T09:22:39.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:39.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:39.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-11-07T09:22:40.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-11-07T09:22:40.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:22:40.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-07T09:22:40.178Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:22:40.178Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:22:40.178Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:22:40.178Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:22:40.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:40.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:40.437Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:22:40.437Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:22:40.437Z] OK: 134 MiB in 129 packages [2024-11-07T09:22:40.766Z] Merging remotes/origin/main commit cec5fe797acd0a57918cb92b5c0815420fffe93d into PR head commit d094db71989286d2b3e14cf42c05888c2403aea8 [2024-11-07T09:22:41.003Z] Removing intermediate container 915ebf3cd31f [2024-11-07T09:22:41.003Z] ---> ac9b340239f7 [2024-11-07T09:22:41.003Z] Step 19/37 : WORKDIR / [2024-11-07T09:22:41.003Z] ---> Running in e929bf3071e4 [2024-11-07T09:22:41.003Z] Removing intermediate container e929bf3071e4 [2024-11-07T09:22:41.003Z] ---> b77665bb8194 [2024-11-07T09:22:41.003Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-11-07T09:22:41.213Z] Merge succeeded, producing d094db71989286d2b3e14cf42c05888c2403aea8 [2024-11-07T09:22:41.214Z] Checking out Revision d094db71989286d2b3e14cf42c05888c2403aea8 (PR-364) [2024-11-07T09:22:40.792Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:22:40.896Z] > git checkout -f d094db71989286d2b3e14cf42c05888c2403aea8 # timeout=10 [2024-11-07T09:22:41.025Z] > git remote # timeout=10 [2024-11-07T09:22:41.049Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:22:41.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:22:41.115Z] > git merge cec5fe797acd0a57918cb92b5c0815420fffe93d # timeout=10 [2024-11-07T09:22:41.162Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:22:41.220Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:22:41.246Z] > git checkout -f d094db71989286d2b3e14cf42c05888c2403aea8 # timeout=10 [2024-11-07T09:22:42.379Z] ---> 230b0f9c3615 [2024-11-07T09:22:42.379Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-11-07T09:22:42.638Z] ---> 851b56ede8db [2024-11-07T09:22:42.638Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-11-07T09:22:42.638Z] ---> 4975f35cf35a [2024-11-07T09:22:42.638Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-11-07T09:22:42.897Z] ---> 76616053e1d9 [2024-11-07T09:22:42.897Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-11-07T09:22:42.897Z] ---> bac93ddca983 [2024-11-07T09:22:42.897Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-11-07T09:22:42.897Z] ---> ededc788edac [2024-11-07T09:22:42.897Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-11-07T09:22:43.833Z] ---> 3ee092fa2072 [2024-11-07T09:22:43.833Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-11-07T09:22:43.833Z] ---> Running in a40ea7168056 [2024-11-07T09:22:44.401Z] Removing intermediate container a40ea7168056 [2024-11-07T09:22:44.401Z] ---> b014effbb087 [2024-11-07T09:22:44.401Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-11-07T09:22:44.401Z] ---> Running in 88d5b3a724e2 [2024-11-07T09:22:44.972Z] Removing intermediate container 88d5b3a724e2 [2024-11-07T09:22:44.972Z] ---> 31f1e448d6e8 [2024-11-07T09:22:44.972Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-11-07T09:22:44.972Z] ---> Running in b6a66f47cda2 [2024-11-07T09:22:45.182Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:22:45.263Z] > git --version # timeout=10 [2024-11-07T09:22:45.277Z] > git --version # 'git version 2.25.1' [2024-11-07T09:22:45.293Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:22:45.539Z] Removing intermediate container b6a66f47cda2 [2024-11-07T09:22:45.539Z] ---> 6339080d3479 [2024-11-07T09:22:45.539Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-11-07T09:22:45.539Z] ---> Running in bbb48b64605c [2024-11-07T09:22:46.105Z] Removing intermediate container bbb48b64605c [2024-11-07T09:22:46.106Z] ---> 378e3fb30519 [2024-11-07T09:22:46.106Z] Step 31/37 : EXPOSE 59983 [2024-11-07T09:22:46.106Z] ---> Running in a2b985f7bc05 [2024-11-07T09:22:46.106Z] Removing intermediate container a2b985f7bc05 [2024-11-07T09:22:46.106Z] ---> c51773091bb5 [2024-11-07T09:22:46.106Z] Step 32/37 : EXPOSE 8554 [2024-11-07T09:22:46.106Z] ---> Running in 0d1a82a7a055 [2024-11-07T09:22:46.362Z] Removing intermediate container 0d1a82a7a055 [2024-11-07T09:22:46.362Z] ---> 3f0e414aad76 [2024-11-07T09:22:46.362Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-11-07T09:22:46.362Z] ---> Running in efd2f8cb9738 [2024-11-07T09:22:46.362Z] Removing intermediate container efd2f8cb9738 [2024-11-07T09:22:46.362Z] ---> df3803223320 [2024-11-07T09:22:46.362Z] Step 34/37 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry" ] [2024-11-07T09:22:46.362Z] ---> Running in 45bc2543d362 [2024-11-07T09:22:46.362Z] Removing intermediate container 45bc2543d362 [2024-11-07T09:22:46.362Z] ---> 6b66a0f2f207 [2024-11-07T09:22:46.362Z] Step 35/37 : LABEL arch=amd64 [2024-11-07T09:22:46.362Z] ---> Running in ef0d7e13b1cf [2024-11-07T09:22:46.620Z] Removing intermediate container ef0d7e13b1cf [2024-11-07T09:22:46.620Z] ---> a9e1a9552095 [2024-11-07T09:22:46.620Z] Step 36/37 : LABEL git_sha=d094db71989286d2b3e14cf42c05888c2403aea8 [2024-11-07T09:22:46.620Z] ---> Running in 31e531ad99b2 [2024-11-07T09:22:46.620Z] Removing intermediate container 31e531ad99b2 [2024-11-07T09:22:46.620Z] ---> 59fc71078cc0 [2024-11-07T09:22:46.620Z] Step 37/37 : LABEL version=0.0.0 [2024-11-07T09:22:46.620Z] ---> Running in ce81b8110a73 [2024-11-07T09:22:46.620Z] Removing intermediate container ce81b8110a73 [2024-11-07T09:22:46.620Z] ---> 79edd8f67ebe [2024-11-07T09:22:46.620Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:22:46.620Z] Successfully built 79edd8f67ebe [2024-11-07T09:22:46.880Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:22:48.180Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:22:48.180Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:22:48.180Z] Dload Upload Total Spent Left Speed [2024-11-07T09:22:48.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh [2024-11-07T09:22:48.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:22:48.440Z] [2024-11-07T09:22:48.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:22:48.591Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-07T09:22:48.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:22:48.841Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:22:48.841Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:22:48.841Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:22:48.841Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:22:48.841Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:22:48.841Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:22:48.841Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:22:48.841Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:22:48.841Z] 33b1e0a273af: Waiting [2024-11-07T09:22:48.841Z] 5d3b04190fa2: Waiting [2024-11-07T09:22:48.841Z] 2f39f015ded8: Waiting [2024-11-07T09:22:48.841Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:22:48.841Z] 5c69ac0246d0: Verifying Checksum [2024-11-07T09:22:48.841Z] 5c69ac0246d0: Download complete [2024-11-07T09:22:48.841Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-07T09:22:48.841Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:22:48.841Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:22:48.841Z] 33b1e0a273af: Download complete [2024-11-07T09:22:48.841Z] 5d3b04190fa2: Verifying Checksum [2024-11-07T09:22:48.841Z] 5d3b04190fa2: Download complete [2024-11-07T09:22:48.841Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:22:48.841Z] ec43610c2a17: Download complete [2024-11-07T09:22:49.009Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:22:49.009Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:22:49.009Z] { [2024-11-07T09:22:49.009Z] "registry-mirrors": [ [2024-11-07T09:22:49.009Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:22:49.009Z] ], [2024-11-07T09:22:49.009Z] "bip": "10.250.0.254/24", [2024-11-07T09:22:49.009Z] "hosts": [ [2024-11-07T09:22:49.009Z] "tcp://0.0.0.0:5555", [2024-11-07T09:22:49.009Z] "unix:///var/run/docker.sock" [2024-11-07T09:22:49.009Z] ], [2024-11-07T09:22:49.009Z] "mtu": 1458, [2024-11-07T09:22:49.009Z] "selinux-enabled": true, [2024-11-07T09:22:49.009Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:22:49.009Z] } [Pipeline] sh [2024-11-07T09:22:49.098Z] 5eb5b503b376: Verifying Checksum [2024-11-07T09:22:49.098Z] 5eb5b503b376: Download complete [2024-11-07T09:22:49.405Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-07T09:22:49.661Z] 2f39f015ded8: Download complete [2024-11-07T09:22:49.814Z] + sudo service docker restart [2024-11-07T09:22:50.226Z] 5eb5b503b376: Pull complete [2024-11-07T09:22:50.484Z] 5c69ac0246d0: Pull complete [2024-11-07T09:22:50.742Z] ec43610c2a17: Pull complete [2024-11-07T09:22:50.742Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:22:51.001Z] 33b1e0a273af: Pull complete [2024-11-07T09:22:51.001Z] 5d3b04190fa2: Pull complete [2024-11-07T09:22:55.187Z] 2f39f015ded8: Pull complete [2024-11-07T09:22:55.187Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:22:55.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:22:55.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:22:55.457Z] prd-ubuntu20.04-docker-8c-8g-24742 does not seem to be running inside a container [2024-11-07T09:22:55.486Z] $ 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-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:22:58.998Z] $ docker top 4eea5e4541fcbf3f5c5ca49026ccd427fd2f4dbf42bcea55a8791aa32444b9af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:22:59.486Z] ---> job-cost.sh [2024-11-07T09:22:59.486Z] lf-activate-venv: SKIPPING [2024-11-07T09:22:59.486Z] INFO: No Stack... [2024-11-07T09:22:59.747Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:23:00.005Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:23:00.336Z] + cat /w/workspace/foundry_device-usb-camera_PR-364/archives/cost.csv [2024-11-07T09:23:00.336Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:23:00.397Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] [2024-11-07T09:23:00.406Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] did not exist. Created. [2024-11-07T09:23:00.413Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:23:00.839Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:23:00.901Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:23:00.947Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:23:01.047Z] $ docker stop --time=1 4eea5e4541fcbf3f5c5ca49026ccd427fd2f4dbf42bcea55a8791aa32444b9af [2024-11-07T09:23:02.181Z] $ docker rm -f --volumes 4eea5e4541fcbf3f5c5ca49026ccd427fd2f4dbf42bcea55a8791aa32444b9af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:23:08.304Z] provisioning config files... [2024-11-07T09:23:08.348Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config11948785800752618667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:23:08.937Z] ---> ****-login.sh [2024-11-07T09:23:08.938Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:23:09.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:09.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:09.822Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:09.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:09.822Z] [2024-11-07T09:23:09.822Z] Login Succeeded [2024-11-07T09:23:09.822Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:23:10.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:10.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:10.099Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:10.099Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:10.099Z] [2024-11-07T09:23:10.099Z] Login Succeeded [2024-11-07T09:23:10.380Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:23:10.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:10.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:10.661Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:10.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:10.662Z] [2024-11-07T09:23:10.662Z] Login Succeeded [2024-11-07T09:23:10.662Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:23:10.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:11.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:11.231Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:11.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:11.231Z] [2024-11-07T09:23:11.231Z] Login Succeeded [2024-11-07T09:23:11.231Z] ****.io [2024-11-07T09:23:11.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:11.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:11.787Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:11.787Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:11.787Z] [2024-11-07T09:23:11.787Z] Login Succeeded [2024-11-07T09:23:11.787Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:23:11.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:23:12.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:23:12.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:23:12.619Z] ========================================================= [2024-11-07T09:23:12.619Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:23:12.619Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:23:13.221Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-07T09:23:13.841Z] Sending build context to Docker daemon 10.56MB [2024-11-07T09:23:13.841Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:23:13.841Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-07T09:23:14.118Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:23:14.118Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:23:14.118Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:23:14.118Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:23:14.118Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:23:14.118Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:23:14.118Z] 80978eb59214: Pulling fs layer [2024-11-07T09:23:14.118Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:23:14.118Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:23:14.118Z] 4f4fb700ef54: Waiting [2024-11-07T09:23:14.118Z] 80978eb59214: Waiting [2024-11-07T09:23:14.118Z] 50b3750afda1: Waiting [2024-11-07T09:23:14.118Z] c9f46d7d2bd2: Waiting [2024-11-07T09:23:14.118Z] c5a475d317c9: Waiting [2024-11-07T09:23:14.118Z] 55b35a11ae5e: Verifying Checksum [2024-11-07T09:23:14.118Z] 55b35a11ae5e: Download complete [2024-11-07T09:23:14.118Z] 50b3750afda1: Verifying Checksum [2024-11-07T09:23:14.118Z] 50b3750afda1: Download complete [2024-11-07T09:23:14.118Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:23:14.118Z] 4f4fb700ef54: Download complete [2024-11-07T09:23:14.118Z] 80978eb59214: Download complete [2024-11-07T09:23:14.403Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:23:14.403Z] cf04c63912e1: Download complete [2024-11-07T09:23:15.009Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:23:15.009Z] c5a475d317c9: Download complete [2024-11-07T09:23:15.285Z] cf04c63912e1: Pull complete [2024-11-07T09:23:16.280Z] 55b35a11ae5e: Pull complete [2024-11-07T09:23:16.557Z] a37a00ec5f00: Download complete [2024-11-07T09:23:17.544Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:23:17.544Z] c9f46d7d2bd2: Download complete [2024-11-07T09:23:32.620Z] a37a00ec5f00: Pull complete [2024-11-07T09:23:32.620Z] 50b3750afda1: Pull complete [2024-11-07T09:23:32.620Z] 4f4fb700ef54: Pull complete [2024-11-07T09:23:32.898Z] 80978eb59214: Pull complete [2024-11-07T09:23:41.177Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:23:43.812Z] c5a475d317c9: Pull complete [2024-11-07T09:23:43.812Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:23:43.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:23:43.812Z] ---> be29e6b0f0d4 [2024-11-07T09:23:43.812Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:23:45.779Z] ---> Running in fe4ecad1b718 [2024-11-07T09:23:46.056Z] Removing intermediate container fe4ecad1b718 [2024-11-07T09:23:46.056Z] ---> 4a98f98820ff [2024-11-07T09:23:46.056Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:23:46.332Z] ---> Running in dc9bb5fb8184 [2024-11-07T09:23:46.608Z] Removing intermediate container dc9bb5fb8184 [2024-11-07T09:23:46.608Z] ---> f76b41254d06 [2024-11-07T09:23:46.608Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-07T09:23:46.883Z] ---> Running in ef11d76c2420 [2024-11-07T09:23:47.160Z] Removing intermediate container ef11d76c2420 [2024-11-07T09:23:47.160Z] ---> 6086f8e29182 [2024-11-07T09:23:47.160Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-07T09:23:47.434Z] ---> Running in c8167a76fe0c [2024-11-07T09:23:47.709Z] Removing intermediate container c8167a76fe0c [2024-11-07T09:23:47.709Z] ---> 367dc2eaa209 [2024-11-07T09:23:47.709Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:23:47.709Z] ---> Running in eb1e06d2b6c7 [2024-11-07T09:23:49.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:23:49.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:23:51.734Z] (1/14) Installing libintl (0.22.5-r0) [2024-11-07T09:23:51.734Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-11-07T09:23:51.734Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-11-07T09:23:51.734Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-11-07T09:23:51.734Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-11-07T09:23:52.010Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-11-07T09:23:52.010Z] (7/14) Installing udev-init-scripts (35-r1) [2024-11-07T09:23:52.010Z] (8/14) Installing libeconf (0.6.3-r0) [2024-11-07T09:23:52.010Z] (9/14) Installing libblkid (2.40.1-r1) [2024-11-07T09:23:52.010Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-11-07T09:23:52.286Z] (11/14) Installing kmod-libs (32-r0) [2024-11-07T09:23:52.286Z] (12/14) Installing eudev (3.2.14-r2) [2024-11-07T09:23:52.286Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-11-07T09:23:52.562Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-11-07T09:23:52.841Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:23:52.841Z] Executing eudev-3.2.14-r2.trigger [2024-11-07T09:23:52.841Z] OK: 246 MiB in 68 packages [2024-11-07T09:23:54.856Z] Removing intermediate container eb1e06d2b6c7 [2024-11-07T09:23:54.856Z] ---> cacc6f09432d [2024-11-07T09:23:54.856Z] Step 8/13 : WORKDIR /device-usb-camera [2024-11-07T09:23:54.856Z] ---> Running in ade066b003b0 [2024-11-07T09:23:55.133Z] Removing intermediate container ade066b003b0 [2024-11-07T09:23:55.133Z] ---> 2f9f291961e6 [2024-11-07T09:23:55.133Z] Step 9/13 : COPY go.mod vendor* ./ [2024-11-07T09:23:55.733Z] ---> 65c161da5bd4 [2024-11-07T09:23:55.733Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:23:56.016Z] ---> Running in 9ede0f28d2ba [2024-11-07T09:26:05.804Z] Removing intermediate container 9ede0f28d2ba [2024-11-07T09:26:05.804Z] ---> c1cf18d028ad [2024-11-07T09:26:05.804Z] Step 11/13 : COPY . . [2024-11-07T09:26:05.804Z] ---> 2aa9f501f989 [2024-11-07T09:26:05.804Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-07T09:26:05.804Z] ---> Running in 4b8ea8c97ca2 [2024-11-07T09:26:05.804Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:26:05.804Z] Dload Upload Total Spent Left Speed [2024-11-07T09:26:05.804Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6171 0 --:--:-- --:--:-- --:--:-- 6359 [2024-11-07T09:26:05.804Z] Removing intermediate container 4b8ea8c97ca2 [2024-11-07T09:26:05.804Z] ---> 77f2a311a4b8 [2024-11-07T09:26:05.804Z] Step 13/13 : RUN ${MAKE} [2024-11-07T09:26:05.804Z] ---> Running in 92e88ba0695a [2024-11-07T09:26:06.410Z] noop [2024-11-07T09:26:07.413Z] Removing intermediate container 92e88ba0695a [2024-11-07T09:26:07.413Z] ---> 0a838c6d5fab [2024-11-07T09:26:07.413Z] Successfully built 0a838c6d5fab [2024-11-07T09:26:07.413Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:26:08.477Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:26:08.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:26:08.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-24744 does not seem to be running inside a container [2024-11-07T09:26:08.924Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:26:10.610Z] $ docker top 84778f8905023c32057c53eebfb37b83138b50a6436f6ecbd38b7dde18fff308 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:26:11.684Z] + go version [2024-11-07T09:26:11.684Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:26:11.718Z] $ docker stop --time=1 84778f8905023c32057c53eebfb37b83138b50a6436f6ecbd38b7dde18fff308 [2024-11-07T09:26:13.586Z] $ docker rm -f --volumes 84778f8905023c32057c53eebfb37b83138b50a6436f6ecbd38b7dde18fff308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:26:14.593Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:26:14.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:26:14.935Z] prd-ubuntu20.04-docker-arm64-4c-16g-24744 does not seem to be running inside a container [2024-11-07T09:26:15.038Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:26:16.687Z] $ docker top fd6290f4df480d5f2222e8c558aaed2d21bd42b0fc10d5ce4342ddea669f6ef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:26:17.755Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:26:18.552Z] + make test [2024-11-07T09:26:18.552Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:26:26.881Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-11-07T09:32:04.242Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-11-07T09:32:14.563Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 4.4% of statements [2024-11-07T09:32:15.194Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:32:15.194Z] go vet ./... [2024-11-07T09:33:23.315Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:33:23.315Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:33:23.315Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:33:23.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:33:23.404Z] $ docker stop --time=1 fd6290f4df480d5f2222e8c558aaed2d21bd42b0fc10d5ce4342ddea669f6ef8 [2024-11-07T09:33:25.633Z] $ docker rm -f --volumes fd6290f4df480d5f2222e8c558aaed2d21bd42b0fc10d5ce4342ddea669f6ef8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:33:27.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:33:27.845Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:33:28.519Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:33:29.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:33:29.509Z] + ls -al . [2024-11-07T09:33:29.509Z] total 284 [2024-11-07T09:33:29.509Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:26 . [2024-11-07T09:33:29.509Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:22 .. [2024-11-07T09:33:29.509Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:22 .git [2024-11-07T09:33:29.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:22 .github [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 379 Nov 7 09:22 .gitignore [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 203 Nov 7 09:22 .golangci.yml [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 7 09:22 .hadolint.yml [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 19367 Nov 7 09:22 Attribution.txt [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 16561 Nov 7 09:22 CHANGELOG.md [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 2440 Nov 7 09:22 Dockerfile [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 09:22 GOVERNANCE.md [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 7 09:22 Jenkinsfile [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 09:22 LICENSE [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 3201 Nov 7 09:22 Makefile [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 09:22 OWNERS.md [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 2575 Nov 7 09:22 README.md [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:20 VERSION [2024-11-07T09:33:29.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:22 bin [2024-11-07T09:33:29.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:22 cmd [2024-11-07T09:33:29.509Z] -rw-r--r-- 1 jenkins jenkins 54772 Nov 7 09:32 coverage.out [2024-11-07T09:33:29.509Z] -rwxrwxr-x 1 jenkins jenkins 84 Nov 7 09:22 docker-entrypoint.sh [2024-11-07T09:33:29.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:22 docs [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 6515 Nov 7 09:22 go.mod [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 88539 Nov 7 09:22 go.sum [2024-11-07T09:33:29.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:22 internal [2024-11-07T09:33:29.509Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 7 09:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:33:29.997Z] + 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=d094db71989286d2b3e14cf42c05888c2403aea8 --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:33:30.589Z] Sending build context to Docker daemon 10.62MB [2024-11-07T09:33:30.589Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:33:30.590Z] Step 2/37 : FROM ${BASE} AS builder [2024-11-07T09:33:30.590Z] ---> 0a838c6d5fab [2024-11-07T09:33:30.590Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:33:31.560Z] ---> Running in 2a77a4739ffc [2024-11-07T09:33:32.590Z] Removing intermediate container 2a77a4739ffc [2024-11-07T09:33:32.590Z] ---> db75aac32ede [2024-11-07T09:33:32.590Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:33:33.187Z] ---> Running in a6fdf3f4d67d [2024-11-07T09:33:33.459Z] Removing intermediate container a6fdf3f4d67d [2024-11-07T09:33:33.459Z] ---> cfdd6d5ba3e4 [2024-11-07T09:33:33.459Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-07T09:33:33.459Z] ---> Running in 1bc3de70822e [2024-11-07T09:33:34.052Z] Removing intermediate container 1bc3de70822e [2024-11-07T09:33:34.052Z] ---> 1e8a33d31c31 [2024-11-07T09:33:34.052Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-07T09:33:34.052Z] ---> Running in c0a9be1ef890 [2024-11-07T09:33:34.325Z] Removing intermediate container c0a9be1ef890 [2024-11-07T09:33:34.325Z] ---> 14645ad3c783 [2024-11-07T09:33:34.325Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:33:34.597Z] ---> Running in bd0c7466ddc5 [2024-11-07T09:33:36.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:33:36.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:33:38.251Z] OK: 246 MiB in 68 packages [2024-11-07T09:33:39.691Z] Removing intermediate container bd0c7466ddc5 [2024-11-07T09:33:39.691Z] ---> 24439d02d7e3 [2024-11-07T09:33:39.691Z] Step 8/37 : WORKDIR /device-usb-camera [2024-11-07T09:33:39.691Z] ---> Running in b7cd946ea33f [2024-11-07T09:33:39.962Z] Removing intermediate container b7cd946ea33f [2024-11-07T09:33:39.962Z] ---> 0b537562c870 [2024-11-07T09:33:39.962Z] Step 9/37 : COPY go.mod vendor* ./ [2024-11-07T09:33:41.007Z] ---> c898f8a4a992 [2024-11-07T09:33:41.007Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:33:41.007Z] ---> Running in f5a0351c969b [2024-11-07T09:33:44.385Z] Removing intermediate container f5a0351c969b [2024-11-07T09:33:44.385Z] ---> 7e1a56196a2d [2024-11-07T09:33:44.385Z] Step 11/37 : COPY . . [2024-11-07T09:33:45.815Z] ---> e599b01bd418 [2024-11-07T09:33:45.815Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-07T09:33:45.815Z] ---> Running in 7bbad9764db0 [2024-11-07T09:33:47.250Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:33:47.250Z] Dload Upload Total Spent Left Speed [2024-11-07T09:33:47.250Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4686 0 --:--:-- --:--:-- --:--:-- 4762 [2024-11-07T09:33:48.223Z] Removing intermediate container 7bbad9764db0 [2024-11-07T09:33:48.223Z] ---> a02c433f4ae5 [2024-11-07T09:33:48.223Z] Step 13/37 : RUN ${MAKE} [2024-11-07T09:33:48.223Z] ---> Running in a4c7b1d3e7e5 [2024-11-07T09:33:49.650Z] 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.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2024-11-07T09:38:56.677Z] Removing intermediate container a4c7b1d3e7e5 [2024-11-07T09:38:56.677Z] ---> bcaf195ce676 [2024-11-07T09:38:56.677Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-11-07T09:38:56.677Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-11-07T09:38:56.677Z] da4d7e05a7aa: Pulling fs layer [2024-11-07T09:38:56.677Z] da4d7e05a7aa: Verifying Checksum [2024-11-07T09:38:56.677Z] da4d7e05a7aa: Download complete [2024-11-07T09:38:56.677Z] da4d7e05a7aa: Pull complete [2024-11-07T09:38:56.677Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-11-07T09:38:56.677Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-11-07T09:38:56.677Z] ---> 62c65ed7ef0d [2024-11-07T09:38:56.677Z] Step 15/37 : FROM alpine:3.20 [2024-11-07T09:38:56.677Z] 3.20: Pulling from library/alpine [2024-11-07T09:38:56.677Z] cf04c63912e1: Already exists [2024-11-07T09:38:56.677Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:38:56.677Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:38:56.677Z] ---> c157a85ed455 [2024-11-07T09:38:56.677Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-07T09:38:56.677Z] ---> Running in 0c7a3ae3cd87 [2024-11-07T09:38:56.677Z] Removing intermediate container 0c7a3ae3cd87 [2024-11-07T09:38:56.677Z] ---> e227f613bb51 [2024-11-07T09:38:56.677Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-11-07T09:38:56.677Z] ---> Running in 294a4a6139ba [2024-11-07T09:38:56.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:38:56.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:38:56.677Z] (1/114) Installing dumb-init (1.2.5-r3) [2024-11-07T09:38:56.677Z] (2/114) Installing libSvtAv1Enc (2.0.0-r1) [2024-11-07T09:38:56.677Z] (3/114) Installing aom-libs (3.9.1-r0) [2024-11-07T09:38:56.677Z] (4/114) Installing libxau (1.0.11-r4) [2024-11-07T09:38:56.677Z] (5/114) Installing libmd (1.1.0-r0) [2024-11-07T09:38:56.677Z] (6/114) Installing libbsd (0.12.2-r0) [2024-11-07T09:38:56.677Z] (7/114) Installing libxdmcp (1.1.5-r1) [2024-11-07T09:38:56.677Z] (8/114) Installing libxcb (1.16.1-r0) [2024-11-07T09:38:56.677Z] (9/114) Installing libx11 (1.8.9-r1) [2024-11-07T09:38:56.677Z] (10/114) Installing hwdata-pci (0.382-r0) [2024-11-07T09:38:56.677Z] (11/114) Installing libpciaccess (0.18.1-r0) [2024-11-07T09:38:56.677Z] (12/114) Installing libdrm (2.4.120-r0) [2024-11-07T09:38:56.677Z] (13/114) Installing libxext (1.3.6-r2) [2024-11-07T09:38:56.677Z] (14/114) Installing libxfixes (6.0.1-r4) [2024-11-07T09:38:56.677Z] (15/114) Installing libffi (3.4.6-r0) [2024-11-07T09:38:56.677Z] (16/114) Installing wayland-libs-client (1.22.0-r4) [2024-11-07T09:38:56.677Z] (17/114) Installing libva (2.21.0-r0) [2024-11-07T09:38:56.677Z] (18/114) Installing libvdpau (1.5-r3) [2024-11-07T09:38:56.677Z] (19/114) Installing ffmpeg-libavutil (6.1.1-r8) [2024-11-07T09:38:56.677Z] (20/114) Installing libdav1d (1.4.2-r0) [2024-11-07T09:38:56.677Z] (21/114) Installing libgcc (13.2.1_git20240309-r0) [2024-11-07T09:38:56.677Z] (22/114) Installing libstdc++ (13.2.1_git20240309-r0) [2024-11-07T09:38:56.677Z] (23/114) Installing openexr-libiex (3.1.13-r1) [2024-11-07T09:38:56.677Z] (24/114) Installing openexr-libilmthread (3.1.13-r1) [2024-11-07T09:38:56.677Z] (25/114) Installing imath (3.1.12-r0) [2024-11-07T09:38:56.677Z] (26/114) Installing openexr-libopenexr (3.1.13-r1) [2024-11-07T09:38:56.677Z] (27/114) Installing brotli-libs (1.1.0-r2) [2024-11-07T09:38:56.677Z] (28/114) Installing giflib (5.2.2-r0) [2024-11-07T09:38:56.677Z] (29/114) Installing libhwy (1.0.7-r0) [2024-11-07T09:38:56.677Z] (30/114) Installing libjpeg-turbo (3.0.3-r0) [2024-11-07T09:38:56.677Z] (31/114) Installing lcms2 (2.16-r0) [2024-11-07T09:38:56.677Z] (32/114) Installing libpng (1.6.44-r0) [2024-11-07T09:38:56.678Z] (33/114) Installing libjxl (0.10.2-r0) [2024-11-07T09:38:56.678Z] (34/114) Installing lame-libs (3.100-r5) [2024-11-07T09:38:56.678Z] (35/114) Installing opus (1.5.2-r0) [2024-11-07T09:38:56.678Z] (36/114) Installing rav1e-libs (0.7.1-r0) [2024-11-07T09:38:56.678Z] (37/114) Installing libgomp (13.2.1_git20240309-r0) [2024-11-07T09:38:56.678Z] (38/114) Installing soxr (0.1.3-r7) [2024-11-07T09:38:56.678Z] (39/114) Installing ffmpeg-libswresample (6.1.1-r8) [2024-11-07T09:38:56.678Z] (40/114) Installing libogg (1.3.5-r5) [2024-11-07T09:38:56.678Z] (41/114) Installing libtheora (1.1.1-r18) [2024-11-07T09:38:56.678Z] (42/114) Installing libvorbis (1.3.7-r2) [2024-11-07T09:38:56.678Z] (43/114) Installing libvpx (1.14.1-r0) [2024-11-07T09:38:56.678Z] (44/114) Installing libsharpyuv (1.3.2-r0) [2024-11-07T09:38:56.678Z] (45/114) Installing libwebp (1.3.2-r0) [2024-11-07T09:38:56.678Z] (46/114) Installing libwebpmux (1.3.2-r0) [2024-11-07T09:38:56.678Z] (47/114) Installing x264-libs (0.164_git20231001-r0) [2024-11-07T09:38:56.678Z] (48/114) Installing numactl (2.0.18-r0) [2024-11-07T09:38:56.678Z] (49/114) Installing x265-libs (3.6-r0) [2024-11-07T09:38:56.678Z] (50/114) Installing xvidcore (1.3.7-r2) [2024-11-07T09:38:56.678Z] (51/114) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-11-07T09:38:56.678Z] (52/114) Installing sdl2 (2.28.5-r1) [2024-11-07T09:38:56.678Z] (53/114) Installing alsa-lib (1.2.11-r0) [2024-11-07T09:38:56.678Z] (54/114) Installing libexpat (2.6.3-r0) [2024-11-07T09:38:56.678Z] (55/114) Installing libbz2 (1.0.8-r6) [2024-11-07T09:38:56.678Z] (56/114) Installing freetype (2.13.2-r0) [2024-11-07T09:38:56.678Z] (57/114) Installing fontconfig (2.15.0-r1) [2024-11-07T09:38:56.678Z] (58/114) Installing fribidi (1.0.15-r0) [2024-11-07T09:38:56.678Z] (59/114) Installing libintl (0.22.5-r0) [2024-11-07T09:38:56.678Z] (60/114) Installing libeconf (0.6.3-r0) [2024-11-07T09:38:56.678Z] (61/114) Installing libblkid (2.40.1-r1) [2024-11-07T09:38:56.678Z] (62/114) Installing libmount (2.40.1-r1) [2024-11-07T09:38:56.678Z] (63/114) Installing pcre2 (10.43-r0) [2024-11-07T09:38:56.678Z] (64/114) Installing glib (2.80.5-r0) [2024-11-07T09:38:56.678Z] (65/114) Installing graphite2 (1.3.14-r6) [2024-11-07T09:38:56.678Z] (66/114) Installing harfbuzz (8.5.0-r0) [2024-11-07T09:38:56.678Z] (67/114) Installing libunibreak (6.1-r0) [2024-11-07T09:38:56.678Z] (68/114) Installing libass (0.17.2-r0) [2024-11-07T09:38:56.678Z] (69/114) Installing libbluray (1.3.4-r1) [2024-11-07T09:38:56.678Z] (70/114) Installing mpg123-libs (1.32.8-r0) [2024-11-07T09:38:56.678Z] (71/114) Installing libopenmpt (0.7.7-r0) [2024-11-07T09:38:56.678Z] (72/114) Installing cjson (1.7.18-r0) [2024-11-07T09:38:56.678Z] (73/114) Installing mbedtls (3.6.2-r0) [2024-11-07T09:38:56.678Z] (74/114) Installing librist (0.2.10-r1) [2024-11-07T09:38:56.678Z] (75/114) Installing libsrt (1.5.3-r0) [2024-11-07T09:38:56.678Z] (76/114) Installing libssh (0.10.6-r0) [2024-11-07T09:38:56.678Z] (77/114) Installing xz-libs (5.6.2-r0) [2024-11-07T09:38:56.678Z] (78/114) Installing libxml2 (2.12.7-r0) [2024-11-07T09:38:56.678Z] (79/114) Installing libsodium (1.0.19-r0) [2024-11-07T09:38:56.678Z] (80/114) Installing libzmq (4.3.5-r2) [2024-11-07T09:38:56.678Z] (81/114) Installing ffmpeg-libavformat (6.1.1-r8) [2024-11-07T09:38:56.678Z] (82/114) Installing serd-libs (0.32.2-r0) [2024-11-07T09:38:56.678Z] (83/114) Installing zix-libs (0.4.2-r0) [2024-11-07T09:38:56.678Z] (84/114) Installing sord-libs (0.16.16-r0) [2024-11-07T09:38:56.678Z] (85/114) Installing sratom (0.6.16-r0) [2024-11-07T09:38:56.678Z] (86/114) Installing lilv-libs (0.24.24-r1) [2024-11-07T09:38:56.678Z] (87/114) Installing glslang-libs (1.3.261.1-r0) [2024-11-07T09:38:56.678Z] (88/114) Installing libdovi (3.3.0-r0) [2024-11-07T09:38:56.678Z] (89/114) Installing spirv-tools (1.3.261.1-r0) [2024-11-07T09:38:56.678Z] (90/114) Installing shaderc (2024.0-r0) [2024-11-07T09:38:56.678Z] (91/114) Installing vulkan-loader (1.3.261.1-r0) [2024-11-07T09:38:56.678Z] (92/114) Installing libplacebo (6.338.2-r1) [2024-11-07T09:38:56.678Z] (93/114) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-11-07T09:38:56.678Z] (94/114) Installing ffmpeg-libswscale (6.1.1-r8) [2024-11-07T09:38:56.678Z] (95/114) Installing vidstab (1.1.1-r0) [2024-11-07T09:38:56.678Z] (96/114) Installing zimg (3.0.5-r2) [2024-11-07T09:38:56.678Z] (97/114) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-11-07T09:38:56.678Z] (98/114) Installing libasyncns (0.8-r3) [2024-11-07T09:38:56.678Z] (99/114) Installing dbus-libs (1.14.10-r1) [2024-11-07T09:38:56.678Z] (100/114) Installing libltdl (2.4.7-r3) [2024-11-07T09:38:56.678Z] (101/114) Installing orc (0.4.40-r0) [2024-11-07T09:38:56.678Z] (102/114) Installing libflac (1.4.3-r1) [2024-11-07T09:38:56.678Z] (103/114) Installing libsndfile (1.2.2-r0) [2024-11-07T09:38:56.678Z] (104/114) Installing speexdsp (1.2.1-r2) [2024-11-07T09:38:56.678Z] (105/114) Installing tdb-libs (1.4.9-r1) [2024-11-07T09:38:56.678Z] (106/114) Installing libpulse (17.0-r0) [2024-11-07T09:38:56.678Z] (107/114) Installing v4l-utils-libs (1.24.1-r1) [2024-11-07T09:38:56.678Z] (108/114) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-11-07T09:38:56.678Z] (109/114) Installing ffmpeg (6.1.1-r8) [2024-11-07T09:38:56.678Z] (110/114) Installing udev-init-scripts (35-r1) [2024-11-07T09:38:56.678Z] (111/114) Installing eudev-libs (3.2.14-r2) [2024-11-07T09:38:56.678Z] (112/114) Installing zstd-libs (1.5.6-r0) [2024-11-07T09:38:56.678Z] (113/114) Installing kmod-libs (32-r0) [2024-11-07T09:38:56.678Z] (114/114) Installing eudev (3.2.14-r2) [2024-11-07T09:38:56.678Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:38:56.678Z] Executing glib-2.80.5-r0.trigger [2024-11-07T09:38:56.678Z] Executing eudev-3.2.14-r2.trigger [2024-11-07T09:38:56.678Z] OK: 120 MiB in 128 packages [2024-11-07T09:39:00.968Z] Removing intermediate container 294a4a6139ba [2024-11-07T09:39:00.968Z] ---> 33a95e4eb318 [2024-11-07T09:39:00.968Z] Step 18/37 : RUN apk --no-cache upgrade [2024-11-07T09:39:01.240Z] ---> Running in 8bc8f094208c [2024-11-07T09:39:02.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:39:02.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:39:04.887Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:39:04.887Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:39:04.887Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:39:04.887Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:39:04.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:39:05.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:39:07.414Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:39:07.414Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:39:07.414Z] OK: 120 MiB in 128 packages [2024-11-07T09:39:08.381Z] Removing intermediate container 8bc8f094208c [2024-11-07T09:39:08.381Z] ---> 528c68e7a79f [2024-11-07T09:39:08.381Z] Step 19/37 : WORKDIR / [2024-11-07T09:39:08.647Z] ---> Running in ff103b92addb [2024-11-07T09:39:08.914Z] Removing intermediate container ff103b92addb [2024-11-07T09:39:08.914Z] ---> 376e86a911b5 [2024-11-07T09:39:08.914Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-11-07T09:39:11.496Z] ---> 62817efd8eba [2024-11-07T09:39:11.496Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-11-07T09:39:12.084Z] ---> 76b7d354316a [2024-11-07T09:39:12.084Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-11-07T09:39:12.672Z] ---> 07d9d16a26c7 [2024-11-07T09:39:12.672Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-11-07T09:39:13.263Z] ---> 01a650254d3f [2024-11-07T09:39:13.263Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-11-07T09:39:14.250Z] ---> 75a46e936c46 [2024-11-07T09:39:14.250Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-11-07T09:39:15.057Z] ---> dd65250296bd [2024-11-07T09:39:15.057Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-11-07T09:39:17.035Z] ---> 9c46f43fb194 [2024-11-07T09:39:17.035Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-11-07T09:39:17.035Z] ---> Running in 1696b084fa0a [2024-11-07T09:39:19.008Z] Removing intermediate container 1696b084fa0a [2024-11-07T09:39:19.008Z] ---> 49c5a27d654f [2024-11-07T09:39:19.008Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-11-07T09:39:19.008Z] ---> Running in 0714f39dc01d [2024-11-07T09:39:20.977Z] Removing intermediate container 0714f39dc01d [2024-11-07T09:39:20.977Z] ---> 92ccc926c832 [2024-11-07T09:39:20.977Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-11-07T09:39:20.977Z] ---> Running in f9e19dfed634 [2024-11-07T09:39:22.931Z] Removing intermediate container f9e19dfed634 [2024-11-07T09:39:22.931Z] ---> 89df924eaa8f [2024-11-07T09:39:22.931Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-11-07T09:39:22.931Z] ---> Running in 7443facbc92f [2024-11-07T09:39:24.359Z] Removing intermediate container 7443facbc92f [2024-11-07T09:39:24.359Z] ---> 918ed908b221 [2024-11-07T09:39:24.359Z] Step 31/37 : EXPOSE 59983 [2024-11-07T09:39:24.627Z] ---> Running in 1ef2676c5c80 [2024-11-07T09:39:24.895Z] Removing intermediate container 1ef2676c5c80 [2024-11-07T09:39:24.895Z] ---> 41ff4d953e8e [2024-11-07T09:39:24.895Z] Step 32/37 : EXPOSE 8554 [2024-11-07T09:39:25.164Z] ---> Running in 93085256b1a5 [2024-11-07T09:39:25.436Z] Removing intermediate container 93085256b1a5 [2024-11-07T09:39:25.436Z] ---> dd8efba7297b [2024-11-07T09:39:25.436Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-11-07T09:39:25.436Z] ---> Running in a4a2a353aec8 [2024-11-07T09:39:26.019Z] Removing intermediate container a4a2a353aec8 [2024-11-07T09:39:26.019Z] ---> 5afc2d0a0b9b [2024-11-07T09:39:26.019Z] Step 34/37 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry" ] [2024-11-07T09:39:26.019Z] ---> Running in 14ebdb551618 [2024-11-07T09:39:26.289Z] Removing intermediate container 14ebdb551618 [2024-11-07T09:39:26.289Z] ---> 8befcb06960a [2024-11-07T09:39:26.289Z] Step 35/37 : LABEL arch=arm64 [2024-11-07T09:39:26.289Z] ---> Running in e821a10a2e05 [2024-11-07T09:39:26.555Z] Removing intermediate container e821a10a2e05 [2024-11-07T09:39:26.555Z] ---> 9d631a9e596c [2024-11-07T09:39:26.555Z] Step 36/37 : LABEL git_sha=d094db71989286d2b3e14cf42c05888c2403aea8 [2024-11-07T09:39:26.822Z] ---> Running in 77ac902634ba [2024-11-07T09:39:27.090Z] Removing intermediate container 77ac902634ba [2024-11-07T09:39:27.090Z] ---> da6ac923c06b [2024-11-07T09:39:27.090Z] Step 37/37 : LABEL version=0.0.0 [2024-11-07T09:39:27.090Z] ---> Running in 1f23dd5c2a10 [2024-11-07T09:39:27.681Z] Removing intermediate container 1f23dd5c2a10 [2024-11-07T09:39:27.681Z] ---> 400ef72bc62f [2024-11-07T09:39:27.681Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:39:27.681Z] Successfully built 400ef72bc62f [2024-11-07T09:39:27.681Z] 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 [2024-11-07T09:39:28.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:39:28.644Z] [2024-11-07T09:39:28.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:39:29.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:39:29.095Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:39:29.364Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:39:29.365Z] 04944245beec: Pulling fs layer [2024-11-07T09:39:29.365Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:39:29.365Z] 765212b225bb: Pulling fs layer [2024-11-07T09:39:29.365Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:39:29.365Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:39:29.365Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:39:29.365Z] 765212b225bb: Waiting [2024-11-07T09:39:29.365Z] f23df028b6ca: Waiting [2024-11-07T09:39:29.365Z] d65c8cfc05b1: Waiting [2024-11-07T09:39:29.365Z] 2437ff75d9bd: Waiting [2024-11-07T09:39:29.365Z] 04944245beec: Verifying Checksum [2024-11-07T09:39:29.365Z] 04944245beec: Download complete [2024-11-07T09:39:29.365Z] 765212b225bb: Download complete [2024-11-07T09:39:29.365Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:39:29.365Z] d65c8cfc05b1: Download complete [2024-11-07T09:39:29.634Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:39:29.635Z] 699f458cf7ca: Download complete [2024-11-07T09:39:30.228Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:39:30.228Z] 8998bd30e6a1: Download complete [2024-11-07T09:39:32.813Z] 2437ff75d9bd: Verifying Checksum [2024-11-07T09:39:32.813Z] 2437ff75d9bd: Download complete [2024-11-07T09:39:34.762Z] 8998bd30e6a1: Pull complete [2024-11-07T09:39:35.030Z] 04944245beec: Pull complete [2024-11-07T09:39:36.980Z] 699f458cf7ca: Pull complete [2024-11-07T09:39:36.980Z] 765212b225bb: Pull complete [2024-11-07T09:39:37.570Z] f23df028b6ca: Pull complete [2024-11-07T09:39:37.840Z] d65c8cfc05b1: Pull complete [2024-11-07T09:39:56.086Z] 2437ff75d9bd: Pull complete [2024-11-07T09:39:56.086Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:39:56.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:39:56.086Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:39:56.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-24744 does not seem to be running inside a container [2024-11-07T09:39:56.516Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-07T09:39:59.477Z] $ docker top b701dee66a82610eb16b09ae71c38292e3381c63e097248731826e8bba4b292a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:00.473Z] ---> job-cost.sh [2024-11-07T09:40:00.473Z] lf-activate-venv: SKIPPING [2024-11-07T09:40:00.473Z] INFO: No Stack... [2024-11-07T09:40:01.056Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:40:01.650Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:40:02.335Z] + cut -d, -f6 [2024-11-07T09:40:02.336Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2024-11-07T09:40:02.410Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] [2024-11-07T09:40:02.416Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] did not exist. Created. [2024-11-07T09:40:02.423Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:40:03.187Z] /w/workspace/device-usb-camera/1@tmp/durable-a842deae/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:40:03.877Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:40:03.923Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:40:03.976Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:40:03.995Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:40:04.080Z] $ docker stop --time=1 b701dee66a82610eb16b09ae71c38292e3381c63e097248731826e8bba4b292a [2024-11-07T09:40:05.661Z] $ docker rm -f --volumes b701dee66a82610eb16b09ae71c38292e3381c63e097248731826e8bba4b292a [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 [2024-11-07T09:40:06.755Z] provisioning config files... [2024-11-07T09:40:06.764Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config16794036976518997074tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:40:07.122Z] + set +x [2024-11-07T09:40:07.122Z] + + curl -s https://codecov.io/bash [2024-11-07T09:40:07.122Z] bash -s -- [2024-11-07T09:40:07.122Z] [2024-11-07T09:40:07.122Z] _____ _ [2024-11-07T09:40:07.122Z] / ____| | | [2024-11-07T09:40:07.122Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:40:07.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:40:07.122Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:40:07.122Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:40:07.122Z] Bash-1.0.6 [2024-11-07T09:40:07.122Z] [2024-11-07T09:40:07.122Z] [2024-11-07T09:40:07.122Z] ==> git version 2.25.1 found [2024-11-07T09:40:07.122Z] ==> 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 [2024-11-07T09:40:07.122Z] Release-Date: 2020-01-08 [2024-11-07T09:40:07.122Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-07T09:40:07.122Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:40:07.122Z] ==> Jenkins CI detected. [2024-11-07T09:40:07.122Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-364 [2024-11-07T09:40:07.122Z] project root: . [2024-11-07T09:40:07.122Z] --> token set from env [2024-11-07T09:40:07.122Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:40:07.122Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:40:07.122Z] ==> Python coveragepy not found [2024-11-07T09:40:07.122Z] ==> Searching for coverage reports in: [2024-11-07T09:40:07.122Z] + . [2024-11-07T09:40:07.122Z] -> Found 1 reports [2024-11-07T09:40:07.122Z] ==> Detecting git/mercurial file structure [2024-11-07T09:40:07.122Z] ==> Reading reports [2024-11-07T09:40:07.122Z] + ./coverage.out bytes=54772 [2024-11-07T09:40:07.122Z] ==> Appending adjustments [2024-11-07T09:40:07.122Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:40:07.381Z] + Found adjustments [2024-11-07T09:40:07.381Z] ==> Gzipping contents [2024-11-07T09:40:07.381Z] 8.0K /tmp/codecov.zgEzal.gz [2024-11-07T09:40:07.381Z] ==> Uploading reports [2024-11-07T09:40:07.381Z] url: https://codecov.io [2024-11-07T09:40:07.381Z] query: branch=PR-364&commit=d094db71989286d2b3e14cf42c05888c2403aea8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=364&job=&cmd_args= [2024-11-07T09:40:07.381Z] -> Pinging Codecov [2024-11-07T09:40:07.381Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-364&commit=d094db71989286d2b3e14cf42c05888c2403aea8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=364&job=&cmd_args= [2024-11-07T09:40:07.640Z] -> Uploading to [2024-11-07T09:40:07.640Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-usb-camera/d094db71989286d2b3e14cf42c05888c2403aea8/9c4c3205-30ae-4b84-8d66-535f422dd9b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T094007Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f1441f74ec71172f097079b67670cfb103b5e189536bc8806683486587ce289b [2024-11-07T09:40:07.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:40:07.640Z] Dload Upload Total Spent Left Speed [2024-11-07T09:40:07.899Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6816 0 0 100 6816 0 30026 --:--:-- --:--:-- --:--:-- 29894 [2024-11-07T09:40:07.899Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d094db71989286d2b3e14cf42c05888c2403aea8 [Pipeline] } [2024-11-07T09:40:07.930Z] 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 [2024-11-07T09:40:10.083Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-364/archives ] [2024-11-07T09:40:10.083Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-364/archives [2024-11-07T09:40:10.083Z] total 16 [2024-11-07T09:40:10.083Z] drwxr-xr-x 3 root root 4096 Nov 7 09:22 . [2024-11-07T09:40:10.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:23 .. [2024-11-07T09:40:10.083Z] drwxr-xr-x 2 root root 4096 Nov 7 09:22 cost [2024-11-07T09:40:10.083Z] -rw-r--r-- 1 root root 89 Nov 7 09:22 cost.csv [2024-11-07T09:40:10.083Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-364/archives [2024-11-07T09:40:10.083Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-364/archives [2024-11-07T09:40:10.083Z] total 16 [2024-11-07T09:40:10.083Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:22 . [2024-11-07T09:40:10.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:23 .. [2024-11-07T09:40:10.083Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:22 cost [2024-11-07T09:40:10.083Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 7 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:10.419Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:11.410Z] ---> package-listing.sh [2024-11-07T09:40:11.410Z] ++ facter osfamily [2024-11-07T09:40:11.411Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:40:11.670Z] + OS_FAMILY=debian [2024-11-07T09:40:11.670Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-364 [2024-11-07T09:40:11.670Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:40:11.670Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:40:11.670Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:40:11.670Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:40:11.670Z] + '[' /w/workspace/foundry_device-usb-camera_PR-364 ']' [2024-11-07T09:40:11.670Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:40:11.670Z] + case "${OS_FAMILY}" in [2024-11-07T09:40:11.670Z] + dpkg -l [2024-11-07T09:40:11.670Z] + grep '^ii' [2024-11-07T09:40:11.670Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:40:11.670Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:40:11.670Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:40:11.670Z] + '[' /w/workspace/foundry_device-usb-camera_PR-364 ']' [2024-11-07T09:40:11.670Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-364/archives/ [2024-11-07T09:40:11.670Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-364/archives/ [Pipeline] echo [2024-11-07T09:40:11.705Z] 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-364/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-07T09:40:12.007Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:40:12.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:40:12.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:40:12.828Z] prd-ubuntu20.04-docker-8c-8g-24742 does not seem to be running inside a container [2024-11-07T09:40:12.853Z] $ 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-364/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-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:40:13.034Z] $ docker top 23f29c5fa4737839f4aab49a04411b2cffa49be2cc4eddf4136be1ea7d39f22c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:40:13.444Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:40:13.753Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:40:14.070Z] + ls /var/log/sa-host [2024-11-07T09:40:14.070Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:40:14.237Z] provisioning config files... [2024-11-07T09:40:14.247Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config3468202629090369063tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:40:14.317Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:15.488Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:40:16.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:17.259Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:40:17.298Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:17.622Z] ---> sudo-logs.sh [2024-11-07T09:40:17.623Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:40:17.720Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:18.044Z] ---> job-cost.sh [2024-11-07T09:40:18.044Z] lf-activate-venv: SKIPPING [2024-11-07T09:40:18.044Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:40:18.044Z] INFO: Retrieving Stack Cost... [2024-11-07T09:40:18.311Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:40:18.571Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:40:18.614Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:40:18.948Z] ---> logs-deploy.sh [2024-11-07T09:40:18.948Z] lf-activate-venv: SKIPPING [2024-11-07T09:40:18.948Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-364/1 [2024-11-07T09:40:18.948Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:40:19.884Z] Archives upload complete. [2024-11-07T09:40:19.884Z] INFO: archiving logs to Nexus