Pull request #198 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch levski at 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 rather than ca7d04a648be2b9e38a81f052164f1ae27985754 Obtained Jenkinsfile from 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 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-ssh8094099742384154891.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7780704769423353724.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-198/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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5768583004404060178.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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1574654211639757222.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh13105320273492030863.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-198/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-198/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh363018975593171677.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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, goVersion:1.18] ========================================================= [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.18 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-4995 in /w/workspace/foundry_device-usb-camera_PR-198 [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-198 # 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 Merging remotes/origin/levski commit 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 into PR head commit ca7d04a648be2b9e38a81f052164f1ae27985754 > 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/198/head:refs/remotes/origin/PR-198 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca7d04a648be2b9e38a81f052164f1ae27985754 # 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 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing ca7d04a648be2b9e38a81f052164f1ae27985754 Checking out Revision ca7d04a648be2b9e38a81f052164f1ae27985754 (PR-198) > git config core.sparsecheckout # timeout=10 > git checkout -f ca7d04a648be2b9e38a81f052164f1ae27985754 # timeout=10 Commit message: "docs: change log upated with levski patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T23:45:24.967Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T23:45:25.148Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T23:45:25.251Z] ========================================================= [2023-03-21T23:45:25.251Z] EdgeX Global Pipelines Version Info [2023-03-21T23:45:25.251Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:45:25.992Z] ------------------- [2023-03-21T23:45:25.992Z] stable info: [2023-03-21T23:45:25.992Z] ------------------- [2023-03-21T23:45:25.992Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T23:45:25.992Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T23:45:25.992Z] Message: update stable to v1.0.245 [2023-03-21T23:45:26.564Z] ------------------- [2023-03-21T23:45:26.564Z] experimental info: [2023-03-21T23:45:26.564Z] ------------------- [2023-03-21T23:45:26.564Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T23:45:26.564Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T23:45:26.564Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T23:45:26.842Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-21T23:45:26.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-21T23:45:26.925Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T23:45:26.969Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T23:45:27.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T23:45:27.061Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-21T23:45:27.101Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T23:45:27.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T23:45:27.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T23:45:27.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T23:45:27.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T23:45:27.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-21T23:45:27.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T23:45:27.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T23:45:27.428Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T23:45:27.465Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T23:45:27.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T23:45:27.548Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T23:45:27.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T23:45:27.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T23:45:27.673Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T23:45:27.715Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T23:45:27.755Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T23:45:27.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T23:45:27.834Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T23:45:27.874Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T23:45:27.915Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T23:45:27.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2023-03-21T23:45:27.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2023-03-21T23:45:28.035Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2023-03-21T23:45:28.079Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca7d04a648be2b9e38a81f052164f1ae27985754 [Pipeline] echo [2023-03-21T23:45:28.121Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca7d04a [Pipeline] echo [2023-03-21T23:45:28.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T23:45:28.265Z] provisioning config files... [2023-03-21T23:45:28.279Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-198@tmp/config16181015006991801814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:45:28.624Z] ---> docker-login.sh [2023-03-21T23:45:28.624Z] nexus3.edgexfoundry.org:10001 [2023-03-21T23:45:28.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:28.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:28.884Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:28.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:28.884Z] [2023-03-21T23:45:28.884Z] Login Succeeded [2023-03-21T23:45:28.884Z] nexus3.edgexfoundry.org:10002 [2023-03-21T23:45:29.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:29.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:29.143Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:29.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:29.143Z] [2023-03-21T23:45:29.143Z] Login Succeeded [2023-03-21T23:45:29.143Z] nexus3.edgexfoundry.org:10003 [2023-03-21T23:45:29.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:29.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:29.143Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:29.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:29.143Z] [2023-03-21T23:45:29.143Z] Login Succeeded [2023-03-21T23:45:29.143Z] nexus3.edgexfoundry.org:10004 [2023-03-21T23:45:29.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:29.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:29.403Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:29.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:29.403Z] [2023-03-21T23:45:29.403Z] Login Succeeded [2023-03-21T23:45:29.403Z] docker.io [2023-03-21T23:45:29.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:29.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:29.662Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:29.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:29.662Z] [2023-03-21T23:45:29.662Z] Login Succeeded [2023-03-21T23:45:29.662Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T23:45:29.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T23:45:30.308Z] + git rev-list -1 --merges ca7d04a648be2b9e38a81f052164f1ae27985754~1..ca7d04a648be2b9e38a81f052164f1ae27985754 [Pipeline] echo [2023-03-21T23:45:30.361Z] -----------> git rev-list -1 --merges ca7d04a648be2b9e38a81f052164f1ae27985754~1..ca7d04a648be2b9e38a81f052164f1ae27985754 ca7d04a648be2b9e38a81f052164f1ae27985754 [false] [Pipeline] sh [2023-03-21T23:45:30.664Z] + git log --format=format:%s -1 ca7d04a648be2b9e38a81f052164f1ae27985754 [Pipeline] echo [2023-03-21T23:45:30.699Z] ========================================================= [2023-03-21T23:45:30.699Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T23:45:30.699Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T23:45:31.121Z] + git log --format=format:%s -1 ca7d04a648be2b9e38a81f052164f1ae27985754 [Pipeline] echo [2023-03-21T23:45:31.155Z] [semverPrep] GIT_COMMIT: ca7d04a648be2b9e38a81f052164f1ae27985754, Commit Message: docs: change log upated with levski patch [Pipeline] echo [2023-03-21T23:45:31.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T23:45:31.543Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T23:45:31.543Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T23:45:31.543Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T23:45:31.543Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T23:45:31.543Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T23:45:31.543Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T23:45:31.543Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:45:31.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T23:45:31.961Z] [2023-03-21T23:45:31.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:45:32.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T23:45:32.338Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T23:45:32.338Z] b85a868b505f: Pulling fs layer [2023-03-21T23:45:32.338Z] e2be974225ed: Pulling fs layer [2023-03-21T23:45:32.338Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T23:45:32.338Z] 988bab9f4d93: Pulling fs layer [2023-03-21T23:45:32.338Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T23:45:32.338Z] 988bab9f4d93: Waiting [2023-03-21T23:45:32.338Z] eaf3925da568: Pulling fs layer [2023-03-21T23:45:32.338Z] bab4dde63d76: Pulling fs layer [2023-03-21T23:45:32.338Z] bde34c3a00c8: Pulling fs layer [2023-03-21T23:45:32.338Z] 1469e6f7b9e6: Waiting [2023-03-21T23:45:32.338Z] eaf3925da568: Waiting [2023-03-21T23:45:32.338Z] bab4dde63d76: Waiting [2023-03-21T23:45:32.338Z] b352a97aabf1: Pulling fs layer [2023-03-21T23:45:32.338Z] 4872d77fe225: Pulling fs layer [2023-03-21T23:45:32.338Z] 4872d77fe225: Waiting [2023-03-21T23:45:32.338Z] b352a97aabf1: Waiting [2023-03-21T23:45:32.338Z] bde34c3a00c8: Waiting [2023-03-21T23:45:32.338Z] 5851b861e8e6: Pulling fs layer [2023-03-21T23:45:32.338Z] 5851b861e8e6: Waiting [2023-03-21T23:45:32.338Z] e2be974225ed: Verifying Checksum [2023-03-21T23:45:32.338Z] e2be974225ed: Download complete [2023-03-21T23:45:32.338Z] 988bab9f4d93: Verifying Checksum [2023-03-21T23:45:32.338Z] 988bab9f4d93: Download complete [2023-03-21T23:45:32.598Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T23:45:32.598Z] 1469e6f7b9e6: Download complete [2023-03-21T23:45:32.598Z] eaf3925da568: Verifying Checksum [2023-03-21T23:45:32.598Z] eaf3925da568: Download complete [2023-03-21T23:45:32.598Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T23:45:32.598Z] 339a4e72a1f5: Download complete [2023-03-21T23:45:32.598Z] bde34c3a00c8: Download complete [2023-03-21T23:45:32.598Z] b352a97aabf1: Download complete [2023-03-21T23:45:32.598Z] 4872d77fe225: Verifying Checksum [2023-03-21T23:45:32.598Z] 4872d77fe225: Download complete [2023-03-21T23:45:32.598Z] 5851b861e8e6: Verifying Checksum [2023-03-21T23:45:32.598Z] 5851b861e8e6: Download complete [2023-03-21T23:45:32.598Z] b85a868b505f: Download complete [2023-03-21T23:45:32.856Z] bab4dde63d76: Verifying Checksum [2023-03-21T23:45:32.856Z] bab4dde63d76: Download complete [2023-03-21T23:45:33.789Z] b85a868b505f: Pull complete [2023-03-21T23:45:34.047Z] e2be974225ed: Pull complete [2023-03-21T23:45:34.305Z] 339a4e72a1f5: Pull complete [2023-03-21T23:45:34.305Z] 988bab9f4d93: Pull complete [2023-03-21T23:45:34.873Z] 1469e6f7b9e6: Pull complete [2023-03-21T23:45:34.873Z] eaf3925da568: Pull complete [2023-03-21T23:45:36.246Z] bab4dde63d76: Pull complete [2023-03-21T23:45:36.246Z] bde34c3a00c8: Pull complete [2023-03-21T23:45:36.506Z] b352a97aabf1: Pull complete [2023-03-21T23:45:36.506Z] 4872d77fe225: Pull complete [2023-03-21T23:45:36.765Z] 5851b861e8e6: Pull complete [2023-03-21T23:45:36.765Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T23:45:36.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T23:45:36.765Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:45:37.037Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2023-03-21T23:45:37.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-198 -v /w/workspace/foundry_device-usb-camera_PR-198:/w/workspace/foundry_device-usb-camera_PR-198:rw,z -v /w/workspace/foundry_device-usb-camera_PR-198@tmp:/w/workspace/foundry_device-usb-camera_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T23:45:39.582Z] $ docker top 34de5c71592477dc68c2161f562e2ed3842958431ebe68ed437a34d232cda535 -eo pid,comm [2023-03-21T23:45:39.632Z] 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). [2023-03-21T23:45:39.632Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T23:45:39.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T23:45:39.756Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T23:45:39.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T23:45:39.872Z] $ docker exec 34de5c71592477dc68c2161f562e2ed3842958431ebe68ed437a34d232cda535 ssh-agent [2023-03-21T23:45:39.975Z] SSH_AUTH_SOCK=/tmp/ssh-kXTopaT8OJ84/agent.32 [2023-03-21T23:45:39.975Z] SSH_AGENT_PID=38 [2023-03-21T23:45:39.980Z] Running ssh-add (command line suppressed) [2023-03-21T23:45:40.084Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-198@tmp/private_key_11285751635857463626.key (/w/workspace/foundry_device-usb-camera_PR-198@tmp/private_key_11285751635857463626.key) [2023-03-21T23:45:40.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T23:45:40.423Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T23:45:40.450Z] $ docker exec --env ******** --env ******** 34de5c71592477dc68c2161f562e2ed3842958431ebe68ed437a34d232cda535 ssh-agent -k [2023-03-21T23:45:40.547Z] unset SSH_AUTH_SOCK; [2023-03-21T23:45:40.547Z] unset SSH_AGENT_PID; [2023-03-21T23:45:40.547Z] echo Agent pid 38 killed; [2023-03-21T23:45:40.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T23:45:40.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T23:45:40.649Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T23:45:40.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T23:45:40.761Z] $ docker exec 34de5c71592477dc68c2161f562e2ed3842958431ebe68ed437a34d232cda535 ssh-agent [2023-03-21T23:45:40.875Z] SSH_AUTH_SOCK=/tmp/ssh-hk4vBcZEdOU3/agent.71 [2023-03-21T23:45:40.875Z] SSH_AGENT_PID=77 [2023-03-21T23:45:40.879Z] Running ssh-add (command line suppressed) [2023-03-21T23:45:40.981Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-198@tmp/private_key_7257831826521773642.key (/w/workspace/foundry_device-usb-camera_PR-198@tmp/private_key_7257831826521773642.key) [2023-03-21T23:45:40.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T23:45:41.317Z] + git semver init [2023-03-21T23:45:41.577Z] 2023-03-21 23:45:41,482 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T23:45:41.577Z] 2023-03-21 23:45:41,483 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-198/.semver [2023-03-21T23:45:41.577Z] 2023-03-21 23:45:41,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-198/.semver [2023-03-21T23:45:41.577Z] 2023-03-21 23:45:41,483 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-198/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-198, universal_newlines=False, shell=None, istream=None) [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,130 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-198/.git/info/exclude [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,131 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-198/.semver/PR-198 with force:False [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,131 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-198/.semver/PR-198 [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,135 [execute] INFO git cat-file --batch-check [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-198/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,141 [execute] INFO git cat-file --batch [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-198/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T23:45:42.146Z] 2023-03-21 23:45:42,146 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-198/.semver/PR-198 [2023-03-21T23:45:42.146Z] 0.0.0 [Pipeline] } [2023-03-21T23:45:42.425Z] $ docker exec --env ******** --env ******** 34de5c71592477dc68c2161f562e2ed3842958431ebe68ed437a34d232cda535 ssh-agent -k [2023-03-21T23:45:42.521Z] unset SSH_AUTH_SOCK; [2023-03-21T23:45:42.521Z] unset SSH_AGENT_PID; [2023-03-21T23:45:42.522Z] echo Agent pid 77 killed; [2023-03-21T23:45:42.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T23:45:42.942Z] + git semver [Pipeline] } [2023-03-21T23:45:43.229Z] $ docker stop --time=1 34de5c71592477dc68c2161f562e2ed3842958431ebe68ed437a34d232cda535 [2023-03-21T23:45:44.551Z] $ docker rm -f --volumes 34de5c71592477dc68c2161f562e2ed3842958431ebe68ed437a34d232cda535 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T23:45:44.940Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T23:45:45.181Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T23:45:45.196Z] [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 [2023-03-21T23:45:45.922Z] provisioning config files... [2023-03-21T23:45:45.931Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-198@tmp/config2632006164377582557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:45:46.276Z] ---> docker-login.sh [2023-03-21T23:45:46.277Z] nexus3.edgexfoundry.org:10001 [2023-03-21T23:45:46.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:46.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:46.277Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:46.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:46.277Z] [2023-03-21T23:45:46.277Z] Login Succeeded [2023-03-21T23:45:46.277Z] nexus3.edgexfoundry.org:10002 [2023-03-21T23:45:46.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:46.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:46.277Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:46.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:46.277Z] [2023-03-21T23:45:46.277Z] Login Succeeded [2023-03-21T23:45:46.277Z] nexus3.edgexfoundry.org:10003 [2023-03-21T23:45:46.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:46.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:46.535Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:46.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:46.535Z] [2023-03-21T23:45:46.535Z] Login Succeeded [2023-03-21T23:45:46.535Z] nexus3.edgexfoundry.org:10004 [2023-03-21T23:45:46.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:46.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:46.535Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:46.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:46.535Z] [2023-03-21T23:45:46.535Z] Login Succeeded [2023-03-21T23:45:46.535Z] docker.io [2023-03-21T23:45:46.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:45:46.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:45:46.793Z] Configure a credential helper to remove this warning. See [2023-03-21T23:45:46.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:45:46.793Z] [2023-03-21T23:45:46.793Z] Login Succeeded [2023-03-21T23:45:46.793Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T23:45:46.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T23:45:46.997Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:45:47.033Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:45:47.065Z] ========================================================= [2023-03-21T23:45:47.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-21T23:45:47.065Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:45:47.535Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T23:45:47.535Z] Sending build context to Docker daemon 1.858MB [2023-03-21T23:45:47.535Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:45:47.535Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T23:45:47.535Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T23:45:47.535Z] 213ec9aee27d: Pulling fs layer [2023-03-21T23:45:47.535Z] 4583459ba037: Pulling fs layer [2023-03-21T23:45:47.535Z] 93c1e223e6f2: Pulling fs layer [2023-03-21T23:45:47.535Z] 53926ce57604: Pulling fs layer [2023-03-21T23:45:47.535Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-21T23:45:47.535Z] 22ff95d597cd: Pulling fs layer [2023-03-21T23:45:47.535Z] 12d6caf4c0d1: Pulling fs layer [2023-03-21T23:45:47.535Z] 96b7cbca73a9: Pulling fs layer [2023-03-21T23:45:47.535Z] a7acece74701: Pulling fs layer [2023-03-21T23:45:47.535Z] 12d6caf4c0d1: Waiting [2023-03-21T23:45:47.535Z] 53926ce57604: Waiting [2023-03-21T23:45:47.535Z] 21b2b0c7a3f4: Waiting [2023-03-21T23:45:47.535Z] 22ff95d597cd: Waiting [2023-03-21T23:45:47.535Z] 93c1e223e6f2: Verifying Checksum [2023-03-21T23:45:47.535Z] 93c1e223e6f2: Download complete [2023-03-21T23:45:47.535Z] 4583459ba037: Verifying Checksum [2023-03-21T23:45:47.535Z] 4583459ba037: Download complete [2023-03-21T23:45:47.535Z] 21b2b0c7a3f4: Download complete [2023-03-21T23:45:47.535Z] 22ff95d597cd: Verifying Checksum [2023-03-21T23:45:47.535Z] 22ff95d597cd: Download complete [2023-03-21T23:45:47.797Z] 213ec9aee27d: Verifying Checksum [2023-03-21T23:45:47.797Z] 213ec9aee27d: Download complete [2023-03-21T23:45:47.797Z] 12d6caf4c0d1: Download complete [2023-03-21T23:45:47.797Z] 213ec9aee27d: Pull complete [2023-03-21T23:45:48.065Z] 4583459ba037: Pull complete [2023-03-21T23:45:48.065Z] 93c1e223e6f2: Pull complete [2023-03-21T23:45:48.669Z] a7acece74701: Verifying Checksum [2023-03-21T23:45:48.669Z] a7acece74701: Download complete [2023-03-21T23:45:48.669Z] 96b7cbca73a9: Verifying Checksum [2023-03-21T23:45:48.669Z] 96b7cbca73a9: Download complete [2023-03-21T23:45:48.926Z] 53926ce57604: Verifying Checksum [2023-03-21T23:45:48.926Z] 53926ce57604: Download complete [2023-03-21T23:45:52.203Z] 53926ce57604: Pull complete [2023-03-21T23:45:52.203Z] 21b2b0c7a3f4: Pull complete [2023-03-21T23:45:52.203Z] 22ff95d597cd: Pull complete [2023-03-21T23:45:52.460Z] 12d6caf4c0d1: Pull complete [2023-03-21T23:45:54.360Z] 96b7cbca73a9: Pull complete [2023-03-21T23:45:54.924Z] a7acece74701: Pull complete [2023-03-21T23:45:54.924Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-21T23:45:54.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-21T23:45:54.924Z] ---> db6d94c90886 [2023-03-21T23:45:54.924Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:45:59.114Z] ---> Running in 96c45147cac0 [2023-03-21T23:45:59.114Z] Removing intermediate container 96c45147cac0 [2023-03-21T23:45:59.114Z] ---> b503e57a3b3d [2023-03-21T23:45:59.114Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:45:59.114Z] ---> Running in 60e348847351 [2023-03-21T23:45:59.373Z] Removing intermediate container 60e348847351 [2023-03-21T23:45:59.373Z] ---> be884221b807 [2023-03-21T23:45:59.373Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:45:59.373Z] ---> Running in cbf35e0706b4 [2023-03-21T23:45:59.373Z] Removing intermediate container cbf35e0706b4 [2023-03-21T23:45:59.373Z] ---> 1f58596a1755 [2023-03-21T23:45:59.373Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:45:59.373Z] ---> Running in 38d5dc368455 [2023-03-21T23:45:59.633Z] Removing intermediate container 38d5dc368455 [2023-03-21T23:45:59.633Z] ---> 60437740c761 [2023-03-21T23:45:59.633Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:45:59.633Z] ---> Running in c592a4761973 [2023-03-21T23:45:59.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T23:45:59.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T23:46:00.151Z] (1/80) Installing mesa (21.3.9-r0) [2023-03-21T23:46:00.151Z] (2/80) Installing libxau (1.0.9-r0) [2023-03-21T23:46:00.151Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-03-21T23:46:00.409Z] (4/80) Installing libxcb (1.15-r0) [2023-03-21T23:46:00.409Z] (5/80) Installing libx11 (1.8-r0) [2023-03-21T23:46:00.409Z] (6/80) Installing libxext (1.3.4-r0) [2023-03-21T23:46:00.409Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-03-21T23:46:00.409Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-03-21T23:46:00.409Z] (9/80) Installing libpciaccess (0.16-r0) [2023-03-21T23:46:00.409Z] (10/80) Installing libdrm (2.4.110-r0) [2023-03-21T23:46:00.409Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-03-21T23:46:00.409Z] (12/80) Installing libxshmfence (1.3-r1) [2023-03-21T23:46:00.409Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-03-21T23:46:00.409Z] (14/80) Installing icu-data-full (71.1-r2) [2023-03-21T23:46:00.626Z] Still waiting to schedule task [2023-03-21T23:46:00.626Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-21T23:46:00.667Z] (15/80) Installing libice (1.0.10-r0) [2023-03-21T23:46:00.667Z] (16/80) Installing libuuid (2.38-r1) [2023-03-21T23:46:00.667Z] (17/80) Installing libsm (1.2.3-r0) [2023-03-21T23:46:00.667Z] (18/80) Installing libxt (1.2.1-r0) [2023-03-21T23:46:00.667Z] (19/80) Installing libxmu (1.1.3-r0) [2023-03-21T23:46:00.667Z] (20/80) Installing xset (1.2.4-r0) [2023-03-21T23:46:00.667Z] (21/80) Installing xprop (1.2.5-r0) [2023-03-21T23:46:00.667Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-03-21T23:46:00.667Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-03-21T23:46:00.667Z] (24/80) Installing libffi (3.4.2-r1) [2023-03-21T23:46:00.667Z] (25/80) Installing libintl (0.21-r2) [2023-03-21T23:46:00.667Z] (26/80) Installing libblkid (2.38-r1) [2023-03-21T23:46:00.667Z] (27/80) Installing libmount (2.38-r1) [2023-03-21T23:46:00.667Z] (28/80) Installing pcre (8.45-r2) [2023-03-21T23:46:00.925Z] (29/80) Installing glib (2.72.1-r0) [2023-03-21T23:46:00.925Z] (30/80) Installing icu-libs (71.1-r2) [2023-03-21T23:46:00.925Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-03-21T23:46:00.925Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-03-21T23:46:00.925Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-03-21T23:46:00.925Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-03-21T23:46:00.925Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-03-21T23:46:00.925Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-03-21T23:46:00.925Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-21T23:46:00.925Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-03-21T23:46:01.184Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-03-21T23:46:01.184Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-03-21T23:46:01.184Z] (41/80) Installing libpng (1.6.37-r1) [2023-03-21T23:46:01.184Z] (42/80) Installing freetype (2.12.1-r0) [2023-03-21T23:46:01.184Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-03-21T23:46:01.184Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-03-21T23:46:01.184Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-03-21T23:46:01.184Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-03-21T23:46:01.184Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-03-21T23:46:01.184Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-03-21T23:46:01.184Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-03-21T23:46:01.184Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-03-21T23:46:01.442Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-03-21T23:46:01.442Z] (52/80) Installing avahi-libs (0.8-r6) [2023-03-21T23:46:01.442Z] (53/80) Installing nettle (3.7.3-r0) [2023-03-21T23:46:01.443Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-03-21T23:46:01.443Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-03-21T23:46:01.443Z] (56/80) Installing libunistring (1.0-r0) [2023-03-21T23:46:01.443Z] (57/80) Installing gnutls (3.7.7-r1) [2023-03-21T23:46:01.443Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-03-21T23:46:01.443Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-03-21T23:46:01.443Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-03-21T23:46:01.443Z] (61/80) Installing libevdev (1.12.1-r0) [2023-03-21T23:46:01.443Z] (62/80) Installing mtdev (1.1.6-r0) [2023-03-21T23:46:01.443Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-03-21T23:46:01.443Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-03-21T23:46:01.443Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-21T23:46:01.443Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-03-21T23:46:01.443Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-03-21T23:46:01.443Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-03-21T23:46:01.701Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-03-21T23:46:01.701Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-03-21T23:46:01.701Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-03-21T23:46:01.701Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-03-21T23:46:01.701Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-21T23:46:01.701Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-03-21T23:46:01.701Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-21T23:46:01.701Z] Executing udev-init-scripts-35-r0.post-install [2023-03-21T23:46:01.701Z] (76/80) Installing kmod-libs (29-r2) [2023-03-21T23:46:01.701Z] (77/80) Installing eudev (3.2.11-r0) [2023-03-21T23:46:01.701Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-03-21T23:46:01.701Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-21T23:46:01.701Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-03-21T23:46:01.960Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T23:46:01.960Z] Executing eudev-3.2.11-r0.trigger [2023-03-21T23:46:01.960Z] OK: 331 MiB in 131 packages [2023-03-21T23:46:04.490Z] Removing intermediate container c592a4761973 [2023-03-21T23:46:04.490Z] ---> 090327e3d170 [2023-03-21T23:46:04.490Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-21T23:46:04.490Z] ---> Running in 29eebb8475b0 [2023-03-21T23:46:04.748Z] Removing intermediate container 29eebb8475b0 [2023-03-21T23:46:04.748Z] ---> b23861594038 [2023-03-21T23:46:04.748Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-21T23:46:04.748Z] ---> 64d2a8ac067c [2023-03-21T23:46:04.748Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:46:04.748Z] ---> Running in 45a1d70f1685 [2023-03-21T23:46:31.278Z] Removing intermediate container 45a1d70f1685 [2023-03-21T23:46:31.278Z] ---> b13baaba5d24 [2023-03-21T23:46:31.278Z] Step 11/13 : COPY . . [2023-03-21T23:46:31.278Z] ---> 1f77013c1610 [2023-03-21T23:46:31.278Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:46:31.278Z] ---> Running in 47a28ac2e726 [2023-03-21T23:46:31.278Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:46:31.278Z] Dload Upload Total Spent Left Speed [2023-03-21T23:46:31.278Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062   0     0  10881      0 --:--:-- --:--:-- --:--:-- 10948 [2023-03-21T23:46:31.278Z] Removing intermediate container 47a28ac2e726 [2023-03-21T23:46:31.278Z] ---> c250361988d5 [2023-03-21T23:46:31.278Z] Step 13/13 : RUN ${MAKE} [2023-03-21T23:46:31.278Z] ---> Running in cb0ac5029db6 [2023-03-21T23:46:31.278Z] noop [2023-03-21T23:46:31.278Z] Removing intermediate container cb0ac5029db6 [2023-03-21T23:46:31.278Z] ---> 5371f814a7aa [2023-03-21T23:46:31.278Z] Successfully built 5371f814a7aa [2023-03-21T23:46:31.278Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:46:31.718Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T23:46:31.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:46:31.863Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2023-03-21T23:46:31.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-198 -v /w/workspace/foundry_device-usb-camera_PR-198:/w/workspace/foundry_device-usb-camera_PR-198:rw,z -v /w/workspace/foundry_device-usb-camera_PR-198@tmp:/w/workspace/foundry_device-usb-camera_PR-198@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-x86_64 cat [2023-03-21T23:46:32.244Z] $ docker top b56a494d905a58eaea21f01f9d8fb0ba80bb5248c5c2b0fbfd3240be11f31f20 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:46:32.630Z] + go version [2023-03-21T23:46:32.630Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-21T23:46:32.665Z] $ docker stop --time=1 b56a494d905a58eaea21f01f9d8fb0ba80bb5248c5c2b0fbfd3240be11f31f20 [2023-03-21T23:46:33.912Z] $ docker rm -f --volumes b56a494d905a58eaea21f01f9d8fb0ba80bb5248c5c2b0fbfd3240be11f31f20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:46:34.590Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T23:46:34.590Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:46:34.738Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2023-03-21T23:46:34.768Z] $ 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-198 -v /w/workspace/foundry_device-usb-camera_PR-198:/w/workspace/foundry_device-usb-camera_PR-198:rw,z -v /w/workspace/foundry_device-usb-camera_PR-198@tmp:/w/workspace/foundry_device-usb-camera_PR-198@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-x86_64 cat [2023-03-21T23:46:35.099Z] $ docker top dca21c621c969460cecce373ee918f20c7a9e11c38d985234f3c4e28a4ead5a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:46:35.489Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-198 [Pipeline] fileExists [Pipeline] sh [2023-03-21T23:46:35.842Z] + make test [2023-03-21T23:46:35.842Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2023-03-21T23:46:36.101Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-21T23:46:46.072Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-21T23:46:46.072Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements [2023-03-21T23:46:51.332Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-21T23:46:51.591Z] CGO_ENABLED=1 go vet ./... [2023-03-21T23:46:54.870Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T23:46:54.870Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T23:46:54.870Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T23:46:54.915Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T23:46:54.949Z] $ docker stop --time=1 dca21c621c969460cecce373ee918f20c7a9e11c38d985234f3c4e28a4ead5a0 [2023-03-21T23:46:57.674Z] $ docker rm -f --volumes dca21c621c969460cecce373ee918f20c7a9e11c38d985234f3c4e28a4ead5a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T23:46:58.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T23:46:58.224Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T23:46:58.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T23:46:59.116Z] + ls -al . [2023-03-21T23:46:59.116Z] total 204 [2023-03-21T23:46:59.116Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 23:46 . [2023-03-21T23:46:59.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:45 .. [2023-03-21T23:46:59.116Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:46 .git [2023-03-21T23:46:59.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:45 .github [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 23:45 .gitignore [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:45 .golangci.yml [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 23:45 .hadolint.yml [2023-03-21T23:46:59.116Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:45 .semver [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 9702 Mar 21 23:45 Attribution.txt [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 6441 Mar 21 23:45 CHANGELOG.md [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 2378 Mar 21 23:45 Dockerfile [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 23:45 GOVERNANCE.md [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 21 23:45 Jenkinsfile [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:45 LICENSE [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 2554 Mar 21 23:45 Makefile [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 23:45 OWNERS.md [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 5934 Mar 21 23:45 README.md [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 23:45 VERSION [2023-03-21T23:46:59.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:45 bin [2023-03-21T23:46:59.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:45 cmd [2023-03-21T23:46:59.116Z] -rw-r--r-- 1 jenkins jenkins 30666 Mar 21 23:46 coverage.out [2023-03-21T23:46:59.116Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 23:45 docker-entrypoint.sh [2023-03-21T23:46:59.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:45 docs [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 3573 Mar 21 23:45 go.mod [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 45026 Mar 21 23:45 go.sum [2023-03-21T23:46:59.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:45 internal [2023-03-21T23:46:59.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:45 snap [2023-03-21T23:46:59.116Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 23:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:46:59.508Z] + 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=ca7d04a648be2b9e38a81f052164f1ae27985754 --label arch=amd64 --label version=0.0.0 . [2023-03-21T23:46:59.508Z] Sending build context to Docker daemon 1.889MB [2023-03-21T23:46:59.508Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:46:59.508Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-21T23:46:59.508Z] ---> 5371f814a7aa [2023-03-21T23:46:59.508Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:46:59.766Z] ---> Running in dd7700e3d714 [2023-03-21T23:46:59.766Z] Removing intermediate container dd7700e3d714 [2023-03-21T23:46:59.766Z] ---> 9944aab7321b [2023-03-21T23:46:59.766Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:46:59.766Z] ---> Running in ca6e7b5ba621 [2023-03-21T23:46:59.766Z] Removing intermediate container ca6e7b5ba621 [2023-03-21T23:46:59.766Z] ---> d6b0ca31040b [2023-03-21T23:46:59.766Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:46:59.766Z] ---> Running in 6b8b1ed10a78 [2023-03-21T23:47:00.025Z] Removing intermediate container 6b8b1ed10a78 [2023-03-21T23:47:00.025Z] ---> 9eeefb518f76 [2023-03-21T23:47:00.025Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:47:00.025Z] ---> Running in 6ded4dd15f85 [2023-03-21T23:47:00.025Z] Removing intermediate container 6ded4dd15f85 [2023-03-21T23:47:00.025Z] ---> f7c96b9e2981 [2023-03-21T23:47:00.025Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:47:00.025Z] ---> Running in 61ae361d9495 [2023-03-21T23:47:00.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T23:47:00.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T23:47:00.803Z] OK: 331 MiB in 131 packages [2023-03-21T23:47:01.060Z] Removing intermediate container 61ae361d9495 [2023-03-21T23:47:01.060Z] ---> 2d184c889c3d [2023-03-21T23:47:01.060Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-21T23:47:01.060Z] ---> Running in 93c680194adf [2023-03-21T23:47:01.060Z] Removing intermediate container 93c680194adf [2023-03-21T23:47:01.060Z] ---> 63fde2ec0c64 [2023-03-21T23:47:01.060Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-21T23:47:01.317Z] ---> 1578664efd1d [2023-03-21T23:47:01.317Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:47:01.317Z] ---> Running in 54af10c1e794 [2023-03-21T23:47:01.882Z] Removing intermediate container 54af10c1e794 [2023-03-21T23:47:01.883Z] ---> 86f6922764dd [2023-03-21T23:47:01.883Z] Step 11/35 : COPY . . [2023-03-21T23:47:02.141Z] ---> 626f29a3c90a [2023-03-21T23:47:02.141Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:47:02.141Z] ---> Running in 1ba774b89545 [2023-03-21T23:47:02.399Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:47:02.400Z] Dload Upload Total Spent Left Speed [2023-03-21T23:47:02.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11744 0 --:--:-- --:--:-- --:--:-- 11800 [2023-03-21T23:47:02.917Z] Removing intermediate container 1ba774b89545 [2023-03-21T23:47:02.917Z] ---> d6e076433b97 [2023-03-21T23:47:02.917Z] Step 13/35 : RUN ${MAKE} [2023-03-21T23:47:02.917Z] ---> Running in ba54774e9aec [2023-03-21T23:47:03.175Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2023-03-21T23:47:25.096Z] Removing intermediate container ba54774e9aec [2023-03-21T23:47:25.096Z] ---> 62f3f8400dd8 [2023-03-21T23:47:25.096Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-21T23:47:25.096Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-21T23:47:25.096Z] 4acc49c71d14: Pulling fs layer [2023-03-21T23:47:25.096Z] 4acc49c71d14: Verifying Checksum [2023-03-21T23:47:25.096Z] 4acc49c71d14: Download complete [2023-03-21T23:47:25.096Z] 4acc49c71d14: Pull complete [2023-03-21T23:47:25.096Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-21T23:47:25.096Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-21T23:47:25.096Z] ---> 01a2bd3e5fff [2023-03-21T23:47:25.096Z] Step 15/35 : FROM alpine:3.16 [2023-03-21T23:47:25.096Z] 3.16: Pulling from library/alpine [2023-03-21T23:47:25.096Z] ef5531b6e74e: Pulling fs layer [2023-03-21T23:47:25.355Z] ef5531b6e74e: Verifying Checksum [2023-03-21T23:47:25.355Z] ef5531b6e74e: Download complete [2023-03-21T23:47:25.355Z] ef5531b6e74e: Pull complete [2023-03-21T23:47:25.355Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T23:47:25.355Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T23:47:25.613Z] ---> dfd21b5a31f5 [2023-03-21T23:47:25.613Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T23:47:25.873Z] ---> Running in d850af8471ea [2023-03-21T23:47:25.873Z] Removing intermediate container d850af8471ea [2023-03-21T23:47:25.873Z] ---> a3141f5b4afc [2023-03-21T23:47:25.873Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2023-03-21T23:47:25.873Z] ---> Running in 9ac2273618e2 [2023-03-21T23:47:26.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T23:47:26.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T23:47:26.650Z] (1/83) Installing dumb-init (1.2.5-r1) [2023-03-21T23:47:26.650Z] (2/83) Installing sdl2 (2.0.22-r0) [2023-03-21T23:47:26.650Z] (3/83) Installing libxau (1.0.9-r0) [2023-03-21T23:47:26.650Z] (4/83) Installing libxdmcp (1.1.3-r0) [2023-03-21T23:47:26.650Z] (5/83) Installing libxcb (1.15-r0) [2023-03-21T23:47:26.650Z] (6/83) Installing libx11 (1.8-r0) [2023-03-21T23:47:26.650Z] (7/83) Installing aom-libs (3.3.0-r0) [2023-03-21T23:47:26.650Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2023-03-21T23:47:26.650Z] (9/83) Installing expat (2.5.0-r0) [2023-03-21T23:47:26.650Z] (10/83) Installing brotli-libs (1.0.9-r6) [2023-03-21T23:47:26.650Z] (11/83) Installing libbz2 (1.0.8-r1) [2023-03-21T23:47:26.650Z] (12/83) Installing libpng (1.6.37-r1) [2023-03-21T23:47:26.650Z] (13/83) Installing freetype (2.12.1-r0) [2023-03-21T23:47:26.650Z] (14/83) Installing fontconfig (2.14.0-r0) [2023-03-21T23:47:26.909Z] (15/83) Installing fribidi (1.0.12-r0) [2023-03-21T23:47:26.909Z] (16/83) Installing libffi (3.4.2-r1) [2023-03-21T23:47:26.909Z] (17/83) Installing libintl (0.21-r2) [2023-03-21T23:47:26.909Z] (18/83) Installing libblkid (2.38-r1) [2023-03-21T23:47:26.909Z] (19/83) Installing libmount (2.38-r1) [2023-03-21T23:47:26.909Z] (20/83) Installing pcre (8.45-r2) [2023-03-21T23:47:26.909Z] (21/83) Installing glib (2.72.1-r0) [2023-03-21T23:47:26.909Z] (22/83) Installing graphite2 (1.3.14-r1) [2023-03-21T23:47:26.909Z] (23/83) Installing harfbuzz (4.3.0-r0) [2023-03-21T23:47:26.909Z] (24/83) Installing libass (0.16.0-r0) [2023-03-21T23:47:26.909Z] (25/83) Installing libdav1d (1.0.0-r0) [2023-03-21T23:47:26.909Z] (26/83) Installing libpciaccess (0.16-r0) [2023-03-21T23:47:26.909Z] (27/83) Installing libdrm (2.4.110-r0) [2023-03-21T23:47:26.909Z] (28/83) Installing gmp (6.2.1-r2) [2023-03-21T23:47:26.909Z] (29/83) Installing nettle (3.7.3-r0) [2023-03-21T23:47:26.909Z] (30/83) Installing p11-kit (0.24.1-r0) [2023-03-21T23:47:26.909Z] (31/83) Installing libtasn1 (4.18.0-r1) [2023-03-21T23:47:26.909Z] (32/83) Installing libunistring (1.0-r0) [2023-03-21T23:47:26.909Z] (33/83) Installing gnutls (3.7.7-r1) [2023-03-21T23:47:26.909Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-21T23:47:26.909Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-21T23:47:26.909Z] (36/83) Installing lame (3.100-r0) [2023-03-21T23:47:27.168Z] (37/83) Installing opus (1.3.1-r1) [2023-03-21T23:47:27.168Z] (38/83) Installing libasyncns (0.8-r1) [2023-03-21T23:47:27.168Z] (39/83) Installing dbus-libs (1.14.4-r0) [2023-03-21T23:47:27.168Z] (40/83) Installing libltdl (2.4.7-r0) [2023-03-21T23:47:27.168Z] (41/83) Installing orc (0.4.32-r0) [2023-03-21T23:47:27.168Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T23:47:27.168Z] (43/83) Installing libogg (1.3.5-r1) [2023-03-21T23:47:27.168Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T23:47:27.168Z] (45/83) Installing flac (1.3.4-r0) [2023-03-21T23:47:27.168Z] (46/83) Installing libvorbis (1.3.7-r0) [2023-03-21T23:47:27.168Z] (47/83) Installing libsndfile (1.1.0-r0) [2023-03-21T23:47:27.168Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2023-03-21T23:47:27.168Z] (49/83) Installing soxr (0.1.3-r2) [2023-03-21T23:47:27.168Z] (50/83) Installing speexdsp (1.2.0-r0) [2023-03-21T23:47:27.168Z] (51/83) Installing tdb-libs (1.4.6-r0) [2023-03-21T23:47:27.168Z] (52/83) Installing libpulse (15.0-r2) [2023-03-21T23:47:27.168Z] (53/83) Installing cjson (1.7.15-r3) [2023-03-21T23:47:27.168Z] (54/83) Installing mbedtls (2.28.2-r0) [2023-03-21T23:47:27.168Z] (55/83) Installing librist (0.2.6-r1) [2023-03-21T23:47:27.168Z] (56/83) Installing libsrt (1.4.4-r0) [2023-03-21T23:47:27.168Z] (57/83) Installing libssh (0.9.6-r1) [2023-03-21T23:47:27.168Z] (58/83) Installing libtheora (1.1.1-r16) [2023-03-21T23:47:27.168Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2023-03-21T23:47:27.168Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2023-03-21T23:47:27.427Z] (61/83) Installing libxext (1.3.4-r0) [2023-03-21T23:47:27.427Z] (62/83) Installing libxfixes (6.0.0-r0) [2023-03-21T23:47:27.427Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2023-03-21T23:47:27.427Z] (64/83) Installing libva (2.14.0-r0) [2023-03-21T23:47:27.427Z] (65/83) Installing libvdpau (1.5-r0) [2023-03-21T23:47:27.427Z] (66/83) Installing vidstab (1.1.0-r1) [2023-03-21T23:47:27.427Z] (67/83) Installing libvpx (1.11.0-r1) [2023-03-21T23:47:27.427Z] (68/83) Installing libwebp (1.2.3-r0) [2023-03-21T23:47:27.427Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2023-03-21T23:47:27.427Z] (70/83) Installing numactl (2.0.14-r0) [2023-03-21T23:47:27.427Z] (71/83) Installing x265-libs (3.5-r3) [2023-03-21T23:47:27.685Z] (72/83) Installing xvidcore (1.3.7-r1) [2023-03-21T23:47:27.685Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2023-03-21T23:47:27.685Z] (74/83) Installing ffmpeg (5.0.1-r1) [2023-03-21T23:47:27.685Z] (75/83) Installing udev-init-scripts (35-r0) [2023-03-21T23:47:27.943Z] Executing udev-init-scripts-35-r0.post-install [2023-03-21T23:47:27.943Z] (76/83) Installing eudev-libs (3.2.11-r0) [2023-03-21T23:47:27.943Z] (77/83) Installing xz-libs (5.2.5-r1) [2023-03-21T23:47:27.943Z] (78/83) Installing zstd-libs (1.5.2-r1) [2023-03-21T23:47:27.943Z] (79/83) Installing kmod-libs (29-r2) [2023-03-21T23:47:27.943Z] (80/83) Installing eudev (3.2.11-r0) [2023-03-21T23:47:27.943Z] (81/83) Installing libsodium (1.0.18-r0) [2023-03-21T23:47:27.943Z] (82/83) Installing libzmq (4.3.4-r0) [2023-03-21T23:47:27.943Z] (83/83) Installing zeromq (4.3.4-r0) [2023-03-21T23:47:27.943Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T23:47:27.943Z] Executing eudev-3.2.11-r0.trigger [2023-03-21T23:47:27.943Z] OK: 101 MiB in 97 packages [2023-03-21T23:47:30.471Z] Removing intermediate container 9ac2273618e2 [2023-03-21T23:47:30.471Z] ---> a24178b4ca81 [2023-03-21T23:47:30.471Z] Step 18/35 : WORKDIR / [2023-03-21T23:47:30.471Z] ---> Running in 5a8567ec3534 [2023-03-21T23:47:30.471Z] Removing intermediate container 5a8567ec3534 [2023-03-21T23:47:30.471Z] ---> d67ca1f07d6a [2023-03-21T23:47:30.471Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-21T23:47:31.405Z] ---> 6eb246b04d1b [2023-03-21T23:47:31.405Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-21T23:47:31.405Z] ---> e82e8785f765 [2023-03-21T23:47:31.405Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-21T23:47:31.405Z] ---> d2ae3f781a79 [2023-03-21T23:47:31.405Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-21T23:47:31.665Z] ---> f3f40246b60c [2023-03-21T23:47:31.665Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-21T23:47:31.665Z] ---> 8788a0642d8f [2023-03-21T23:47:31.665Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-21T23:47:31.665Z] ---> 6028f6b6e0f3 [2023-03-21T23:47:31.665Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-21T23:47:32.598Z] ---> dc6caca437d5 [2023-03-21T23:47:32.598Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-21T23:47:32.598Z] ---> Running in 040e37e32ccf [2023-03-21T23:47:33.166Z] Removing intermediate container 040e37e32ccf [2023-03-21T23:47:33.166Z] ---> c370e9f3a1ef [2023-03-21T23:47:33.166Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-21T23:47:33.166Z] ---> Running in d32dd5dd9808 [2023-03-21T23:47:33.731Z] Removing intermediate container d32dd5dd9808 [2023-03-21T23:47:33.731Z] ---> 0e9943b45555 [2023-03-21T23:47:33.731Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-21T23:47:33.731Z] ---> Running in 2387164eb387 [2023-03-21T23:47:33.989Z] Removing intermediate container 2387164eb387 [2023-03-21T23:47:33.989Z] ---> 2afb14b957fa [2023-03-21T23:47:33.989Z] Step 29/35 : EXPOSE 59983 [2023-03-21T23:47:34.248Z] ---> Running in ecf973a41958 [2023-03-21T23:47:34.248Z] Removing intermediate container ecf973a41958 [2023-03-21T23:47:34.248Z] ---> 8c887b4aac25 [2023-03-21T23:47:34.248Z] Step 30/35 : EXPOSE 8554 [2023-03-21T23:47:34.248Z] ---> Running in f79684993b96 [2023-03-21T23:47:34.248Z] Removing intermediate container f79684993b96 [2023-03-21T23:47:34.248Z] ---> 3dae6651d62d [2023-03-21T23:47:34.248Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-21T23:47:34.248Z] ---> Running in ac31f851d0b2 [2023-03-21T23:47:34.506Z] Removing intermediate container ac31f851d0b2 [2023-03-21T23:47:34.506Z] ---> 3c79cfd1c208 [2023-03-21T23:47:34.506Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2023-03-21T23:47:34.506Z] ---> Running in 1157ca7d4e13 [2023-03-21T23:47:34.506Z] Removing intermediate container 1157ca7d4e13 [2023-03-21T23:47:34.506Z] ---> 5b944b39f817 [2023-03-21T23:47:34.506Z] Step 33/35 : LABEL arch=amd64 [2023-03-21T23:47:34.506Z] ---> Running in 27210cccfac4 [2023-03-21T23:47:34.506Z] Removing intermediate container 27210cccfac4 [2023-03-21T23:47:34.506Z] ---> 5b53a365c5aa [2023-03-21T23:47:34.506Z] Step 34/35 : LABEL git_sha=ca7d04a648be2b9e38a81f052164f1ae27985754 [2023-03-21T23:47:34.506Z] ---> Running in 2db109446560 [2023-03-21T23:47:34.765Z] Removing intermediate container 2db109446560 [2023-03-21T23:47:34.765Z] ---> b308e8368578 [2023-03-21T23:47:34.765Z] Step 35/35 : LABEL version=0.0.0 [2023-03-21T23:47:34.765Z] ---> Running in 4231d86f5cef [2023-03-21T23:47:34.765Z] Removing intermediate container 4231d86f5cef [2023-03-21T23:47:34.765Z] ---> 936b292541c9 [2023-03-21T23:47:34.765Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T23:47:34.765Z] Successfully built 936b292541c9 [2023-03-21T23:47:34.765Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:47:35.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T23:47:35.609Z] [2023-03-21T23:47:35.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:47:35.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T23:47:35.999Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T23:47:35.999Z] 5eb5b503b376: Pulling fs layer [2023-03-21T23:47:35.999Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T23:47:35.999Z] ec43610c2a17: Pulling fs layer [2023-03-21T23:47:35.999Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T23:47:35.999Z] 33b1e0a273af: Pulling fs layer [2023-03-21T23:47:35.999Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T23:47:36.000Z] 2f39f015ded8: Pulling fs layer [2023-03-21T23:47:36.000Z] 5d3b04190fa2: Waiting [2023-03-21T23:47:36.000Z] 3a2ae6a8a46f: Waiting [2023-03-21T23:47:36.000Z] 2f39f015ded8: Waiting [2023-03-21T23:47:36.000Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T23:47:36.000Z] 5c69ac0246d0: Download complete [2023-03-21T23:47:36.000Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T23:47:36.000Z] 3a2ae6a8a46f: Download complete [2023-03-21T23:47:36.258Z] 33b1e0a273af: Verifying Checksum [2023-03-21T23:47:36.258Z] 33b1e0a273af: Download complete [2023-03-21T23:47:36.258Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T23:47:36.258Z] 5d3b04190fa2: Download complete [2023-03-21T23:47:36.258Z] ec43610c2a17: Verifying Checksum [2023-03-21T23:47:36.258Z] ec43610c2a17: Download complete [2023-03-21T23:47:36.258Z] 5eb5b503b376: Verifying Checksum [2023-03-21T23:47:36.258Z] 5eb5b503b376: Download complete [2023-03-21T23:47:36.823Z] 2f39f015ded8: Download complete [2023-03-21T23:47:37.387Z] 5eb5b503b376: Pull complete [2023-03-21T23:47:37.648Z] 5c69ac0246d0: Pull complete [2023-03-21T23:47:37.907Z] ec43610c2a17: Pull complete [2023-03-21T23:47:37.907Z] 3a2ae6a8a46f: Pull complete [2023-03-21T23:47:38.167Z] 33b1e0a273af: Pull complete [2023-03-21T23:47:38.167Z] 5d3b04190fa2: Pull complete [2023-03-21T23:47:42.347Z] 2f39f015ded8: Pull complete [2023-03-21T23:47:42.347Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T23:47:42.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T23:47:42.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:47:42.563Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2023-03-21T23:47:42.593Z] $ 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-198 -v /w/workspace/foundry_device-usb-camera_PR-198:/w/workspace/foundry_device-usb-camera_PR-198:rw,z -v /w/workspace/foundry_device-usb-camera_PR-198@tmp:/w/workspace/foundry_device-usb-camera_PR-198@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:latest cat [2023-03-21T23:47:46.704Z] $ docker top b6ca7644a58b9502c96f118528cc129c3901803f2bf7a523791fd45e391f0a7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:47:47.139Z] ---> job-cost.sh [2023-03-21T23:47:47.139Z] lf-activate-venv: SKIPPING [2023-03-21T23:47:47.139Z] INFO: No Stack... [2023-03-21T23:47:47.397Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T23:47:47.964Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T23:47:48.279Z] + cat /w/workspace/foundry_device-usb-camera_PR-198/archives/cost.csv [2023-03-21T23:47:48.279Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T23:47:48.350Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] [2023-03-21T23:47:48.355Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] did not exist. Created. [2023-03-21T23:47:48.355Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T23:47:48.761Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T23:47:48.811Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T23:47:48.839Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T23:47:48.916Z] $ docker stop --time=1 b6ca7644a58b9502c96f118528cc129c3901803f2bf7a523791fd45e391f0a7e [2023-03-21T23:47:50.088Z] $ docker rm -f --volumes b6ca7644a58b9502c96f118528cc129c3901803f2bf7a523791fd45e391f0a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T23:50:06.771Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4997 in /w/workspace/foundry_device-usb-camera_PR-198 [Pipeline] { [Pipeline] ws [2023-03-21T23:50:06.832Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-21T23:50:06.919Z] Selected Git installation does not exist. Using Default [2023-03-21T23:50:06.919Z] The recommended git tool is: NONE [2023-03-21T23:50:12.385Z] using credential edgex-jenkins-ssh [2023-03-21T23:50:12.407Z] Cloning the remote Git repository [2023-03-21T23:50:12.453Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T23:50:12.554Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-21T23:50:12.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T23:50:12.716Z] > git --version # timeout=10 [2023-03-21T23:50:12.739Z] > git --version # 'git version 2.25.1' [2023-03-21T23:50:12.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T23:50:12.887Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T23:50:13.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-21T23:50:13.635Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T23:50:15.140Z] Merging remotes/origin/levski commit 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 into PR head commit ca7d04a648be2b9e38a81f052164f1ae27985754 [2023-03-21T23:50:15.430Z] Merge succeeded, producing ca7d04a648be2b9e38a81f052164f1ae27985754 [2023-03-21T23:50:15.431Z] Checking out Revision ca7d04a648be2b9e38a81f052164f1ae27985754 (PR-198) [2023-03-21T23:50:14.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-21T23:50:14.571Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T23:50:14.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T23:50:14.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-21T23:50:15.171Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T23:50:15.250Z] > git checkout -f ca7d04a648be2b9e38a81f052164f1ae27985754 # timeout=10 [2023-03-21T23:50:15.337Z] > git remote # timeout=10 [2023-03-21T23:50:15.356Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T23:50:15.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T23:50:15.395Z] > git merge 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 # timeout=10 [2023-03-21T23:50:15.418Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T23:50:15.439Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T23:50:15.451Z] > git checkout -f ca7d04a648be2b9e38a81f052164f1ae27985754 # timeout=10 [2023-03-21T23:50:18.898Z] Commit message: "docs: change log upated with levski patch" [2023-03-21T23:50:18.956Z] > git --version # timeout=10 [2023-03-21T23:50:18.968Z] > git --version # 'git version 2.25.1' [2023-03-21T23:50:18.986Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T23:50:20.119Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T23:50:20.119Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:50:20.119Z] Dload Upload Total Spent Left Speed [2023-03-21T23:50:20.120Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-03-21T23:50:20.761Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T23:50:21.112Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T23:50:21.113Z] + sudo tee /etc/docker/daemon.new [2023-03-21T23:50:21.113Z] { [2023-03-21T23:50:21.113Z] "registry-mirrors": [ [2023-03-21T23:50:21.113Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T23:50:21.113Z] ], [2023-03-21T23:50:21.113Z] "bip": "10.250.0.254/24", [2023-03-21T23:50:21.113Z] "hosts": [ [2023-03-21T23:50:21.113Z] "tcp://0.0.0.0:5555", [2023-03-21T23:50:21.113Z] "unix:///var/run/docker.sock" [2023-03-21T23:50:21.113Z] ], [2023-03-21T23:50:21.113Z] "mtu": 1458, [2023-03-21T23:50:21.113Z] "selinux-enabled": true, [2023-03-21T23:50:21.113Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T23:50:21.113Z] } [Pipeline] sh [2023-03-21T23:50:21.458Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T23:50:21.803Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T23:50:39.247Z] provisioning config files... [2023-03-21T23:50:39.276Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config2796888146637136468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:50:39.665Z] ---> docker-login.sh [2023-03-21T23:50:39.666Z] nexus3.edgexfoundry.org:10001 [2023-03-21T23:50:39.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:50:40.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:50:40.218Z] Configure a credential helper to remove this warning. See [2023-03-21T23:50:40.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:50:40.218Z] [2023-03-21T23:50:40.218Z] Login Succeeded [2023-03-21T23:50:40.218Z] nexus3.edgexfoundry.org:10002 [2023-03-21T23:50:40.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:50:40.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:50:40.768Z] Configure a credential helper to remove this warning. See [2023-03-21T23:50:40.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:50:40.768Z] [2023-03-21T23:50:40.768Z] Login Succeeded [2023-03-21T23:50:40.768Z] nexus3.edgexfoundry.org:10003 [2023-03-21T23:50:41.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:50:41.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:50:41.041Z] Configure a credential helper to remove this warning. See [2023-03-21T23:50:41.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:50:41.041Z] [2023-03-21T23:50:41.041Z] Login Succeeded [2023-03-21T23:50:41.041Z] nexus3.edgexfoundry.org:10004 [2023-03-21T23:50:41.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:50:41.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:50:41.323Z] Configure a credential helper to remove this warning. See [2023-03-21T23:50:41.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:50:41.323Z] [2023-03-21T23:50:41.323Z] Login Succeeded [2023-03-21T23:50:41.323Z] docker.io [2023-03-21T23:50:41.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:50:41.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:50:41.863Z] Configure a credential helper to remove this warning. See [2023-03-21T23:50:41.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:50:41.863Z] [2023-03-21T23:50:41.863Z] Login Succeeded [2023-03-21T23:50:41.863Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T23:50:41.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T23:50:42.266Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:50:42.302Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:50:42.335Z] ========================================================= [2023-03-21T23:50:42.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-21T23:50:42.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:50:42.829Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T23:50:43.098Z] Sending build context to Docker daemon 1.204MB [2023-03-21T23:50:43.098Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:50:43.098Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T23:50:43.368Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T23:50:43.368Z] 9b18e9b68314: Pulling fs layer [2023-03-21T23:50:43.368Z] 35d82f9e3411: Pulling fs layer [2023-03-21T23:50:43.368Z] e16973657156: Pulling fs layer [2023-03-21T23:50:43.368Z] fc693d55d65f: Pulling fs layer [2023-03-21T23:50:43.368Z] 7e9fc2657dce: Pulling fs layer [2023-03-21T23:50:43.368Z] dda99020689f: Pulling fs layer [2023-03-21T23:50:43.368Z] db1c61fa0a46: Pulling fs layer [2023-03-21T23:50:43.368Z] 891c053d2c06: Pulling fs layer [2023-03-21T23:50:43.368Z] fc693d55d65f: Waiting [2023-03-21T23:50:43.368Z] 7e9fc2657dce: Waiting [2023-03-21T23:50:43.368Z] dda99020689f: Waiting [2023-03-21T23:50:43.368Z] db1c61fa0a46: Waiting [2023-03-21T23:50:43.368Z] 891c053d2c06: Waiting [2023-03-21T23:50:43.368Z] e16973657156: Verifying Checksum [2023-03-21T23:50:43.368Z] e16973657156: Download complete [2023-03-21T23:50:43.368Z] 35d82f9e3411: Verifying Checksum [2023-03-21T23:50:43.368Z] 35d82f9e3411: Download complete [2023-03-21T23:50:43.368Z] 7e9fc2657dce: Download complete [2023-03-21T23:50:43.368Z] dda99020689f: Verifying Checksum [2023-03-21T23:50:43.368Z] dda99020689f: Download complete [2023-03-21T23:50:43.368Z] 9b18e9b68314: Verifying Checksum [2023-03-21T23:50:43.368Z] 9b18e9b68314: Download complete [2023-03-21T23:50:44.352Z] 9b18e9b68314: Pull complete [2023-03-21T23:50:44.352Z] 891c053d2c06: Verifying Checksum [2023-03-21T23:50:44.352Z] 891c053d2c06: Download complete [2023-03-21T23:50:45.777Z] db1c61fa0a46: Verifying Checksum [2023-03-21T23:50:45.777Z] db1c61fa0a46: Download complete [2023-03-21T23:50:46.367Z] fc693d55d65f: Verifying Checksum [2023-03-21T23:50:46.953Z] 35d82f9e3411: Pull complete [2023-03-21T23:50:47.223Z] e16973657156: Pull complete [2023-03-21T23:51:02.258Z] fc693d55d65f: Pull complete [2023-03-21T23:51:02.258Z] 7e9fc2657dce: Pull complete [2023-03-21T23:51:02.258Z] dda99020689f: Pull complete [2023-03-21T23:51:07.627Z] db1c61fa0a46: Pull complete [2023-03-21T23:51:09.060Z] 891c053d2c06: Pull complete [2023-03-21T23:51:09.060Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-21T23:51:09.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-21T23:51:09.060Z] ---> f96f9c87975a [2023-03-21T23:51:09.060Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:51:11.030Z] ---> Running in 6c0a47a04e6f [2023-03-21T23:51:11.300Z] Removing intermediate container 6c0a47a04e6f [2023-03-21T23:51:11.300Z] ---> 96b5d0c67ccf [2023-03-21T23:51:11.300Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:51:11.300Z] ---> Running in d9debbdeaafc [2023-03-21T23:51:11.572Z] Removing intermediate container d9debbdeaafc [2023-03-21T23:51:11.572Z] ---> b6d984ee87a8 [2023-03-21T23:51:11.572Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:51:11.840Z] ---> Running in 2c2ae0c83a98 [2023-03-21T23:51:12.108Z] Removing intermediate container 2c2ae0c83a98 [2023-03-21T23:51:12.108Z] ---> 182eff6f45c5 [2023-03-21T23:51:12.108Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:51:12.108Z] ---> Running in 0ce779ba37a5 [2023-03-21T23:51:12.378Z] Removing intermediate container 0ce779ba37a5 [2023-03-21T23:51:12.378Z] ---> b4f3b2906d0e [2023-03-21T23:51:12.378Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:51:12.645Z] ---> Running in d28500474e9a [2023-03-21T23:51:13.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T23:51:13.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T23:51:14.844Z] (1/14) Installing libintl (0.21-r2) [2023-03-21T23:51:14.844Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-03-21T23:51:14.844Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-03-21T23:51:14.844Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-03-21T23:51:15.111Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-03-21T23:51:15.111Z] (6/14) Installing udev-init-scripts (35-r0) [2023-03-21T23:51:15.111Z] Executing udev-init-scripts-35-r0.post-install [2023-03-21T23:51:15.111Z] (7/14) Installing libblkid (2.38-r1) [2023-03-21T23:51:15.111Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-03-21T23:51:15.111Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-03-21T23:51:15.111Z] (10/14) Installing kmod-libs (29-r2) [2023-03-21T23:51:15.111Z] (11/14) Installing eudev (3.2.11-r0) [2023-03-21T23:51:15.111Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-03-21T23:51:15.111Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-21T23:51:15.111Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-03-21T23:51:15.111Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T23:51:15.380Z] Executing eudev-3.2.11-r0.trigger [2023-03-21T23:51:15.380Z] OK: 228 MiB in 65 packages [2023-03-21T23:51:16.340Z] Removing intermediate container d28500474e9a [2023-03-21T23:51:16.340Z] ---> 1a7eb19a8aef [2023-03-21T23:51:16.340Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-21T23:51:16.606Z] ---> Running in a431c34b713f [2023-03-21T23:51:16.874Z] Removing intermediate container a431c34b713f [2023-03-21T23:51:16.874Z] ---> ec1c7084c76b [2023-03-21T23:51:16.874Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-21T23:51:17.142Z] ---> e78e07a3564c [2023-03-21T23:51:17.142Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:51:17.411Z] ---> Running in 25596b0b326a [2023-03-21T23:52:25.286Z] Removing intermediate container 25596b0b326a [2023-03-21T23:52:25.286Z] ---> 7d5687cdb31a [2023-03-21T23:52:25.286Z] Step 11/13 : COPY . . [2023-03-21T23:52:25.286Z] ---> 7d9428ac95ed [2023-03-21T23:52:25.286Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:52:25.286Z] ---> Running in 2ac4f2db7429 [2023-03-21T23:52:25.286Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:52:25.286Z] Dload Upload Total Spent Left Speed [2023-03-21T23:52:25.286Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7271 0 --:--:-- --:--:-- --:--:-- 7273 [2023-03-21T23:52:25.286Z] Removing intermediate container 2ac4f2db7429 [2023-03-21T23:52:25.286Z] ---> 817c15674c49 [2023-03-21T23:52:25.286Z] Step 13/13 : RUN ${MAKE} [2023-03-21T23:52:25.286Z] ---> Running in 3129b3a2476a [2023-03-21T23:52:25.555Z] noop [2023-03-21T23:52:26.139Z] Removing intermediate container 3129b3a2476a [2023-03-21T23:52:26.139Z] ---> 0105b7741f66 [2023-03-21T23:52:26.139Z] Successfully built 0105b7741f66 [2023-03-21T23:52:26.139Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:52:26.611Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T23:52:26.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:52:26.879Z] prd-ubuntu20.04-docker-arm64-4c-16g-4997 does not seem to be running inside a container [2023-03-21T23:52:26.940Z] $ 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 [2023-03-21T23:52:28.095Z] $ docker top 3df19be4b11eab441a929aa28ffc5e32587f6621560b53676c56da3fba85641d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:52:28.956Z] + go version [2023-03-21T23:52:28.956Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-21T23:52:29.064Z] $ docker stop --time=1 3df19be4b11eab441a929aa28ffc5e32587f6621560b53676c56da3fba85641d [2023-03-21T23:52:32.801Z] $ docker rm -f --volumes 3df19be4b11eab441a929aa28ffc5e32587f6621560b53676c56da3fba85641d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:52:33.641Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T23:52:33.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:52:33.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-4997 does not seem to be running inside a container [2023-03-21T23:52:34.006Z] $ 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 [2023-03-21T23:52:35.157Z] $ docker top aba91eb2805b9437d7893c2162202955a46dbf9b6c0de056492f25d7319598af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:52:35.708Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T23:52:36.353Z] + make test [2023-03-21T23:52:36.353Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2023-03-21T23:52:38.299Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-21T23:54:14.942Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-21T23:54:14.942Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 1.9% of statements [2023-03-21T23:54:14.942Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T23:54:14.942Z] CGO_ENABLED=1 go vet ./... [2023-03-21T23:54:37.017Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T23:54:37.017Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T23:54:37.017Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T23:54:37.644Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T23:54:37.679Z] $ docker stop --time=1 aba91eb2805b9437d7893c2162202955a46dbf9b6c0de056492f25d7319598af [2023-03-21T23:54:40.428Z] $ docker rm -f --volumes aba91eb2805b9437d7893c2162202955a46dbf9b6c0de056492f25d7319598af [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T23:54:41.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T23:54:41.513Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T23:54:42.635Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T23:54:43.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T23:54:43.777Z] + ls -al . [2023-03-21T23:54:43.777Z] total 200 [2023-03-21T23:54:43.777Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 23:52 . [2023-03-21T23:54:43.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:50 .. [2023-03-21T23:54:43.777Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:50 .git [2023-03-21T23:54:43.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:50 .github [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 23:50 .gitignore [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:50 .golangci.yml [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 23:50 .hadolint.yml [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 9702 Mar 21 23:50 Attribution.txt [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 6441 Mar 21 23:50 CHANGELOG.md [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 2378 Mar 21 23:50 Dockerfile [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 23:50 GOVERNANCE.md [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 21 23:50 Jenkinsfile [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:50 LICENSE [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 2554 Mar 21 23:50 Makefile [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 23:50 OWNERS.md [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 5934 Mar 21 23:50 README.md [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 23:45 VERSION [2023-03-21T23:54:43.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:50 bin [2023-03-21T23:54:43.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:50 cmd [2023-03-21T23:54:43.777Z] -rw-r--r-- 1 jenkins jenkins 30666 Mar 21 23:54 coverage.out [2023-03-21T23:54:43.777Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 23:50 docker-entrypoint.sh [2023-03-21T23:54:43.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:50 docs [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 3573 Mar 21 23:50 go.mod [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 45026 Mar 21 23:50 go.sum [2023-03-21T23:54:43.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:50 internal [2023-03-21T23:54:43.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:50 snap [2023-03-21T23:54:43.777Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 23:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:54:44.232Z] + 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=ca7d04a648be2b9e38a81f052164f1ae27985754 --label arch=arm64 --label version=0.0.0 . [2023-03-21T23:54:44.508Z] Sending build context to Docker daemon 1.235MB [2023-03-21T23:54:44.777Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:54:44.777Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-21T23:54:44.777Z] ---> 0105b7741f66 [2023-03-21T23:54:44.777Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:54:44.777Z] ---> Running in a01b9f3830da [2023-03-21T23:54:45.045Z] Removing intermediate container a01b9f3830da [2023-03-21T23:54:45.045Z] ---> 49f18762d95b [2023-03-21T23:54:45.045Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:54:45.319Z] ---> Running in 9daa9c39f070 [2023-03-21T23:54:45.596Z] Removing intermediate container 9daa9c39f070 [2023-03-21T23:54:45.596Z] ---> 474cc23a2560 [2023-03-21T23:54:45.596Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:54:45.596Z] ---> Running in 300d0d20001b [2023-03-21T23:54:46.184Z] Removing intermediate container 300d0d20001b [2023-03-21T23:54:46.184Z] ---> 40cd4d1b3b20 [2023-03-21T23:54:46.185Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:54:46.185Z] ---> Running in 88ac53cfb75e [2023-03-21T23:54:46.454Z] Removing intermediate container 88ac53cfb75e [2023-03-21T23:54:46.454Z] ---> 6338e5c2ad02 [2023-03-21T23:54:46.454Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:54:46.454Z] ---> Running in 0e21c032f5a5 [2023-03-21T23:54:47.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T23:54:48.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T23:54:48.993Z] OK: 228 MiB in 65 packages [2023-03-21T23:54:49.965Z] Removing intermediate container 0e21c032f5a5 [2023-03-21T23:54:49.965Z] ---> 8ef82f443ac9 [2023-03-21T23:54:49.965Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-21T23:54:50.239Z] ---> Running in dd8a68f4317b [2023-03-21T23:54:50.508Z] Removing intermediate container dd8a68f4317b [2023-03-21T23:54:50.508Z] ---> cb81e5186cc7 [2023-03-21T23:54:50.508Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-21T23:54:51.105Z] ---> 23ddb3fafad3 [2023-03-21T23:54:51.105Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:54:51.105Z] ---> Running in dc3f3cf90eb9 [2023-03-21T23:54:53.699Z] Removing intermediate container dc3f3cf90eb9 [2023-03-21T23:54:53.699Z] ---> 42bf6fb454b0 [2023-03-21T23:54:53.699Z] Step 11/35 : COPY . . [2023-03-21T23:54:54.659Z] ---> bff36c13cb15 [2023-03-21T23:54:54.659Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:54:54.929Z] ---> Running in 48c74a815bb3 [2023-03-21T23:54:55.894Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:54:55.894Z] Dload Upload Total Spent Left Speed [2023-03-21T23:54:56.166Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 9787 0 --:--:-- --:--:-- --:--:-- 9833 [2023-03-21T23:54:56.761Z] Removing intermediate container 48c74a815bb3 [2023-03-21T23:54:56.761Z] ---> b7759a8fdfa6 [2023-03-21T23:54:56.761Z] Step 13/35 : RUN ${MAKE} [2023-03-21T23:54:57.035Z] ---> Running in a5fd5e55178c [2023-03-21T23:54:57.998Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2023-03-21T23:57:34.738Z] Removing intermediate container a5fd5e55178c [2023-03-21T23:57:34.738Z] ---> e0c26685d698 [2023-03-21T23:57:34.738Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-21T23:57:34.738Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-21T23:57:34.738Z] 8766b47fe142: Pulling fs layer [2023-03-21T23:57:34.738Z] 8766b47fe142: Verifying Checksum [2023-03-21T23:57:34.738Z] 8766b47fe142: Download complete [2023-03-21T23:57:34.738Z] 8766b47fe142: Pull complete [2023-03-21T23:57:34.738Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-21T23:57:34.738Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-21T23:57:34.738Z] ---> 69d40e2cb93c [2023-03-21T23:57:34.738Z] Step 15/35 : FROM alpine:3.16 [2023-03-21T23:57:34.738Z] 3.16: Pulling from library/alpine [2023-03-21T23:57:34.738Z] 3760b48202b3: Pulling fs layer [2023-03-21T23:57:34.738Z] 3760b48202b3: Verifying Checksum [2023-03-21T23:57:34.738Z] 3760b48202b3: Download complete [2023-03-21T23:57:34.738Z] 3760b48202b3: Pull complete [2023-03-21T23:57:34.738Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T23:57:34.738Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T23:57:34.738Z] ---> 4c81e5bf8899 [2023-03-21T23:57:34.738Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T23:57:34.738Z] ---> Running in 08a27ceba3af [2023-03-21T23:57:34.738Z] Removing intermediate container 08a27ceba3af [2023-03-21T23:57:34.738Z] ---> 60551325c93b [2023-03-21T23:57:34.738Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2023-03-21T23:57:34.738Z] ---> Running in da51bbf480c5 [2023-03-21T23:57:34.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T23:57:34.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T23:57:35.323Z] (1/82) Installing dumb-init (1.2.5-r1) [2023-03-21T23:57:35.323Z] (2/82) Installing sdl2 (2.0.22-r0) [2023-03-21T23:57:35.323Z] (3/82) Installing libxau (1.0.9-r0) [2023-03-21T23:57:35.323Z] (4/82) Installing libxdmcp (1.1.3-r0) [2023-03-21T23:57:35.323Z] (5/82) Installing libxcb (1.15-r0) [2023-03-21T23:57:35.323Z] (6/82) Installing libx11 (1.8-r0) [2023-03-21T23:57:35.591Z] (7/82) Installing aom-libs (3.3.0-r0) [2023-03-21T23:57:35.591Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2023-03-21T23:57:35.860Z] (9/82) Installing expat (2.5.0-r0) [2023-03-21T23:57:35.860Z] (10/82) Installing brotli-libs (1.0.9-r6) [2023-03-21T23:57:35.860Z] (11/82) Installing libbz2 (1.0.8-r1) [2023-03-21T23:57:35.860Z] (12/82) Installing libpng (1.6.37-r1) [2023-03-21T23:57:35.860Z] (13/82) Installing freetype (2.12.1-r0) [2023-03-21T23:57:35.860Z] (14/82) Installing fontconfig (2.14.0-r0) [2023-03-21T23:57:35.860Z] (15/82) Installing fribidi (1.0.12-r0) [2023-03-21T23:57:35.860Z] (16/82) Installing libffi (3.4.2-r1) [2023-03-21T23:57:35.860Z] (17/82) Installing libintl (0.21-r2) [2023-03-21T23:57:35.860Z] (18/82) Installing libblkid (2.38-r1) [2023-03-21T23:57:35.860Z] (19/82) Installing libmount (2.38-r1) [2023-03-21T23:57:35.860Z] (20/82) Installing pcre (8.45-r2) [2023-03-21T23:57:36.128Z] (21/82) Installing glib (2.72.1-r0) [2023-03-21T23:57:36.128Z] (22/82) Installing graphite2 (1.3.14-r1) [2023-03-21T23:57:36.128Z] (23/82) Installing harfbuzz (4.3.0-r0) [2023-03-21T23:57:36.128Z] (24/82) Installing libass (0.16.0-r0) [2023-03-21T23:57:36.128Z] (25/82) Installing libdav1d (1.0.0-r0) [2023-03-21T23:57:36.128Z] (26/82) Installing libdrm (2.4.110-r0) [2023-03-21T23:57:36.128Z] (27/82) Installing gmp (6.2.1-r2) [2023-03-21T23:57:36.128Z] (28/82) Installing nettle (3.7.3-r0) [2023-03-21T23:57:36.395Z] (29/82) Installing p11-kit (0.24.1-r0) [2023-03-21T23:57:36.395Z] (30/82) Installing libtasn1 (4.18.0-r1) [2023-03-21T23:57:36.395Z] (31/82) Installing libunistring (1.0-r0) [2023-03-21T23:57:36.395Z] (32/82) Installing gnutls (3.7.7-r1) [2023-03-21T23:57:36.395Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-21T23:57:36.395Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-21T23:57:36.395Z] (35/82) Installing lame (3.100-r0) [2023-03-21T23:57:36.395Z] (36/82) Installing opus (1.3.1-r1) [2023-03-21T23:57:36.395Z] (37/82) Installing libasyncns (0.8-r1) [2023-03-21T23:57:36.395Z] (38/82) Installing dbus-libs (1.14.4-r0) [2023-03-21T23:57:36.395Z] (39/82) Installing libltdl (2.4.7-r0) [2023-03-21T23:57:36.661Z] (40/82) Installing orc (0.4.32-r0) [2023-03-21T23:57:36.661Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T23:57:36.661Z] (42/82) Installing libogg (1.3.5-r1) [2023-03-21T23:57:36.661Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T23:57:36.661Z] (44/82) Installing flac (1.3.4-r0) [2023-03-21T23:57:36.661Z] (45/82) Installing libvorbis (1.3.7-r0) [2023-03-21T23:57:36.661Z] (46/82) Installing libsndfile (1.1.0-r0) [2023-03-21T23:57:36.661Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2023-03-21T23:57:36.661Z] (48/82) Installing soxr (0.1.3-r2) [2023-03-21T23:57:36.661Z] (49/82) Installing speexdsp (1.2.0-r0) [2023-03-21T23:57:36.661Z] (50/82) Installing tdb-libs (1.4.6-r0) [2023-03-21T23:57:36.661Z] (51/82) Installing libpulse (15.0-r2) [2023-03-21T23:57:36.661Z] (52/82) Installing cjson (1.7.15-r3) [2023-03-21T23:57:36.931Z] (53/82) Installing mbedtls (2.28.2-r0) [2023-03-21T23:57:36.931Z] (54/82) Installing librist (0.2.6-r1) [2023-03-21T23:57:36.931Z] (55/82) Installing libsrt (1.4.4-r0) [2023-03-21T23:57:36.931Z] (56/82) Installing libssh (0.9.6-r1) [2023-03-21T23:57:36.931Z] (57/82) Installing libtheora (1.1.1-r16) [2023-03-21T23:57:36.931Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2023-03-21T23:57:36.931Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2023-03-21T23:57:36.931Z] (60/82) Installing libxext (1.3.4-r0) [2023-03-21T23:57:36.931Z] (61/82) Installing libxfixes (6.0.0-r0) [2023-03-21T23:57:36.931Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2023-03-21T23:57:36.931Z] (63/82) Installing libva (2.14.0-r0) [2023-03-21T23:57:36.931Z] (64/82) Installing libvdpau (1.5-r0) [2023-03-21T23:57:36.931Z] (65/82) Installing vidstab (1.1.0-r1) [2023-03-21T23:57:36.931Z] (66/82) Installing libvpx (1.11.0-r1) [2023-03-21T23:57:37.199Z] (67/82) Installing libwebp (1.2.3-r0) [2023-03-21T23:57:37.199Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2023-03-21T23:57:37.199Z] (69/82) Installing numactl (2.0.14-r0) [2023-03-21T23:57:37.199Z] (70/82) Installing x265-libs (3.5-r3) [2023-03-21T23:57:37.199Z] (71/82) Installing xvidcore (1.3.7-r1) [2023-03-21T23:57:37.468Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2023-03-21T23:57:37.736Z] (73/82) Installing ffmpeg (5.0.1-r1) [2023-03-21T23:57:37.736Z] (74/82) Installing udev-init-scripts (35-r0) [2023-03-21T23:57:37.736Z] Executing udev-init-scripts-35-r0.post-install [2023-03-21T23:57:37.736Z] (75/82) Installing eudev-libs (3.2.11-r0) [2023-03-21T23:57:38.008Z] (76/82) Installing xz-libs (5.2.5-r1) [2023-03-21T23:57:38.008Z] (77/82) Installing zstd-libs (1.5.2-r1) [2023-03-21T23:57:38.008Z] (78/82) Installing kmod-libs (29-r2) [2023-03-21T23:57:38.008Z] (79/82) Installing eudev (3.2.11-r0) [2023-03-21T23:57:38.008Z] (80/82) Installing libsodium (1.0.18-r0) [2023-03-21T23:57:38.008Z] (81/82) Installing libzmq (4.3.4-r0) [2023-03-21T23:57:38.008Z] (82/82) Installing zeromq (4.3.4-r0) [2023-03-21T23:57:38.008Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T23:57:38.008Z] Executing eudev-3.2.11-r0.trigger [2023-03-21T23:57:38.008Z] OK: 78 MiB in 96 packages [2023-03-21T23:57:41.363Z] Removing intermediate container da51bbf480c5 [2023-03-21T23:57:41.363Z] ---> fed5a0ba4d82 [2023-03-21T23:57:41.363Z] Step 18/35 : WORKDIR / [2023-03-21T23:57:41.363Z] ---> Running in 3278d882d232 [2023-03-21T23:57:41.631Z] Removing intermediate container 3278d882d232 [2023-03-21T23:57:41.631Z] ---> 66608154e147 [2023-03-21T23:57:41.631Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-21T23:57:43.046Z] ---> cae6991bd14f [2023-03-21T23:57:43.046Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-21T23:57:43.636Z] ---> ddfe65cd04f2 [2023-03-21T23:57:43.637Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-21T23:57:44.222Z] ---> 014c2fe0aaa7 [2023-03-21T23:57:44.222Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-21T23:57:44.810Z] ---> f95270f1d439 [2023-03-21T23:57:44.810Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-21T23:57:45.079Z] ---> dfa838a5a2e0 [2023-03-21T23:57:45.079Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-21T23:57:45.671Z] ---> 78c627d7b981 [2023-03-21T23:57:45.671Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-21T23:57:47.087Z] ---> e6ae3b424925 [2023-03-21T23:57:47.087Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-21T23:57:47.356Z] ---> Running in 832720be0e11 [2023-03-21T23:57:48.784Z] Removing intermediate container 832720be0e11 [2023-03-21T23:57:48.784Z] ---> 0f285abf7962 [2023-03-21T23:57:48.784Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-21T23:57:49.060Z] ---> Running in e329760788a0 [2023-03-21T23:57:50.481Z] Removing intermediate container e329760788a0 [2023-03-21T23:57:50.481Z] ---> b627196fd13f [2023-03-21T23:57:50.481Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-21T23:57:50.757Z] ---> Running in ede60dd42160 [2023-03-21T23:57:52.169Z] Removing intermediate container ede60dd42160 [2023-03-21T23:57:52.169Z] ---> 60d29b3f09e0 [2023-03-21T23:57:52.169Z] Step 29/35 : EXPOSE 59983 [2023-03-21T23:57:52.443Z] ---> Running in 0e6a31a11c68 [2023-03-21T23:57:52.712Z] Removing intermediate container 0e6a31a11c68 [2023-03-21T23:57:52.712Z] ---> 3bc68fc6fed9 [2023-03-21T23:57:52.712Z] Step 30/35 : EXPOSE 8554 [2023-03-21T23:57:52.712Z] ---> Running in 530e2af85ac0 [2023-03-21T23:57:52.980Z] Removing intermediate container 530e2af85ac0 [2023-03-21T23:57:52.980Z] ---> 8867565e7a85 [2023-03-21T23:57:52.980Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-21T23:57:52.980Z] ---> Running in aca289a729c0 [2023-03-21T23:57:53.246Z] Removing intermediate container aca289a729c0 [2023-03-21T23:57:53.246Z] ---> 16d795947972 [2023-03-21T23:57:53.246Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2023-03-21T23:57:53.516Z] ---> Running in eb3cef1f0c10 [2023-03-21T23:57:53.782Z] Removing intermediate container eb3cef1f0c10 [2023-03-21T23:57:53.782Z] ---> aaca82f37401 [2023-03-21T23:57:53.782Z] Step 33/35 : LABEL arch=arm64 [2023-03-21T23:57:53.782Z] ---> Running in a21a5416b060 [2023-03-21T23:57:54.051Z] Removing intermediate container a21a5416b060 [2023-03-21T23:57:54.051Z] ---> 231a9022e86d [2023-03-21T23:57:54.051Z] Step 34/35 : LABEL git_sha=ca7d04a648be2b9e38a81f052164f1ae27985754 [2023-03-21T23:57:54.051Z] ---> Running in aad9981c111d [2023-03-21T23:57:54.635Z] Removing intermediate container aad9981c111d [2023-03-21T23:57:54.635Z] ---> 4fbff4d09620 [2023-03-21T23:57:54.635Z] Step 35/35 : LABEL version=0.0.0 [2023-03-21T23:57:54.635Z] ---> Running in 9349c63ed130 [2023-03-21T23:57:54.903Z] Removing intermediate container 9349c63ed130 [2023-03-21T23:57:54.903Z] ---> 44d93cb0cf4d [2023-03-21T23:57:54.903Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T23:57:54.903Z] Successfully built 44d93cb0cf4d [2023-03-21T23:57:54.903Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:57:55.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T23:57:55.703Z] [2023-03-21T23:57:55.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:57:56.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T23:57:56.112Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T23:57:56.112Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T23:57:56.112Z] 04944245beec: Pulling fs layer [2023-03-21T23:57:56.112Z] 699f458cf7ca: Pulling fs layer [2023-03-21T23:57:56.112Z] 765212b225bb: Pulling fs layer [2023-03-21T23:57:56.112Z] f23df028b6ca: Pulling fs layer [2023-03-21T23:57:56.112Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T23:57:56.112Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T23:57:56.112Z] f23df028b6ca: Waiting [2023-03-21T23:57:56.112Z] d65c8cfc05b1: Waiting [2023-03-21T23:57:56.112Z] 2437ff75d9bd: Waiting [2023-03-21T23:57:56.112Z] 765212b225bb: Waiting [2023-03-21T23:57:56.382Z] 04944245beec: Verifying Checksum [2023-03-21T23:57:56.382Z] 04944245beec: Download complete [2023-03-21T23:57:56.382Z] 765212b225bb: Verifying Checksum [2023-03-21T23:57:56.382Z] 765212b225bb: Download complete [2023-03-21T23:57:56.382Z] f23df028b6ca: Verifying Checksum [2023-03-21T23:57:56.382Z] f23df028b6ca: Download complete [2023-03-21T23:57:56.382Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T23:57:56.382Z] d65c8cfc05b1: Download complete [2023-03-21T23:57:56.654Z] 699f458cf7ca: Verifying Checksum [2023-03-21T23:57:56.654Z] 699f458cf7ca: Download complete [2023-03-21T23:57:56.923Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T23:57:56.923Z] 8998bd30e6a1: Download complete [2023-03-21T23:57:59.513Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T23:57:59.513Z] 2437ff75d9bd: Download complete [2023-03-21T23:58:00.922Z] 8998bd30e6a1: Pull complete [2023-03-21T23:58:01.190Z] 04944245beec: Pull complete [2023-03-21T23:58:02.610Z] 699f458cf7ca: Pull complete [2023-03-21T23:58:02.879Z] 765212b225bb: Pull complete [2023-03-21T23:58:03.464Z] f23df028b6ca: Pull complete [2023-03-21T23:58:03.731Z] d65c8cfc05b1: Pull complete [2023-03-21T23:58:18.726Z] 2437ff75d9bd: Pull complete [2023-03-21T23:58:18.726Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T23:58:18.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T23:58:18.726Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:58:19.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-4997 does not seem to be running inside a container [2023-03-21T23:58:19.105Z] $ 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 [2023-03-21T23:58:21.776Z] $ docker top 53e45b643727521efb5a331212a4a33d29e379fe225e50d16f0c2df1567d25a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:22.686Z] ---> job-cost.sh [2023-03-21T23:58:22.686Z] lf-activate-venv: SKIPPING [2023-03-21T23:58:22.686Z] INFO: No Stack... [2023-03-21T23:58:22.953Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T23:58:23.913Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T23:58:24.254Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-21T23:58:24.254Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T23:58:24.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] [2023-03-21T23:58:24.338Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] did not exist. Created. [2023-03-21T23:58:24.338Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T23:58:25.053Z] /w/workspace/device-usb-camera/1@tmp/durable-b8de361e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T23:58:25.725Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T23:58:25.759Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T23:58:25.817Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T23:58:25.830Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T23:58:25.906Z] $ docker stop --time=1 53e45b643727521efb5a331212a4a33d29e379fe225e50d16f0c2df1567d25a8 [2023-03-21T23:58:27.406Z] $ docker rm -f --volumes 53e45b643727521efb5a331212a4a33d29e379fe225e50d16f0c2df1567d25a8 [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 [2023-03-21T23:58:28.360Z] provisioning config files... [2023-03-21T23:58:28.366Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-198@tmp/config3808484867540551158tmp [Pipeline] { [Pipeline] sh [2023-03-21T23:58:28.702Z] + set +x [2023-03-21T23:58:28.702Z] + curl -s https://codecov.io/bash [2023-03-21T23:58:28.702Z] + bash -s -- [2023-03-21T23:58:28.702Z] [2023-03-21T23:58:28.702Z] _____ _ [2023-03-21T23:58:28.702Z] / ____| | | [2023-03-21T23:58:28.702Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T23:58:28.702Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T23:58:28.702Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T23:58:28.702Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T23:58:28.702Z] Bash-1.0.6 [2023-03-21T23:58:28.702Z] [2023-03-21T23:58:28.702Z] [2023-03-21T23:58:28.702Z] ==> git version 2.25.1 found [2023-03-21T23:58:28.702Z] ==> 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 [2023-03-21T23:58:28.702Z] Release-Date: 2020-01-08 [2023-03-21T23:58:28.702Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T23:58:28.702Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T23:58:28.702Z] ==> Jenkins CI detected. [2023-03-21T23:58:28.702Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-198 [2023-03-21T23:58:28.702Z] project root: . [2023-03-21T23:58:28.702Z] --> token set from env [2023-03-21T23:58:28.702Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T23:58:28.702Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T23:58:28.702Z] ==> Python coveragepy not found [2023-03-21T23:58:28.702Z] ==> Searching for coverage reports in: [2023-03-21T23:58:28.702Z] + . [2023-03-21T23:58:28.702Z] -> Found 1 reports [2023-03-21T23:58:28.702Z] ==> Detecting git/mercurial file structure [2023-03-21T23:58:28.702Z] ==> Reading reports [2023-03-21T23:58:28.702Z] + ./coverage.out bytes=30666 [2023-03-21T23:58:28.961Z] ==> Appending adjustments [2023-03-21T23:58:28.961Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T23:58:28.961Z] + Found adjustments [2023-03-21T23:58:28.961Z] ==> Gzipping contents [2023-03-21T23:58:28.961Z] 8.0K /tmp/codecov.aaxRf7.gz [2023-03-21T23:58:28.961Z] ==> Uploading reports [2023-03-21T23:58:28.961Z] url: https://codecov.io [2023-03-21T23:58:28.961Z] query: branch=PR-198&commit=ca7d04a648be2b9e38a81f052164f1ae27985754&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=198&job=&cmd_args= [2023-03-21T23:58:28.961Z] -> Pinging Codecov [2023-03-21T23:58:28.961Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-198&commit=ca7d04a648be2b9e38a81f052164f1ae27985754&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=198&job=&cmd_args= [2023-03-21T23:58:28.961Z] -> Uploading to [2023-03-21T23:58:28.961Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/73D8F5FF140700D3E01443B452E23636/ca7d04a648be2b9e38a81f052164f1ae27985754/d5ec2f1f-cbe0-494b-962a-49c78beeb6f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T235828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a3e31c37e091c4c5e28adf70de596368bf5e4b09bc9e3e1ff6bfd4450c2d8fc [2023-03-21T23:58:28.961Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:58:28.961Z] Dload Upload Total Spent Left Speed [2023-03-21T23:58:29.219Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4337 0 0 100 4337 0 16122 --:--:-- --:--:-- --:--:-- 16062 100 4337 0 0 100 4337 0 16122 --:--:-- --:--:-- --:--:-- 16062 [2023-03-21T23:58:29.219Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/ca7d04a648be2b9e38a81f052164f1ae27985754 [Pipeline] } [2023-03-21T23:58:29.248Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-21T23:58:30.900Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-198/archives ] [2023-03-21T23:58:30.900Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-198/archives [2023-03-21T23:58:30.900Z] total 16 [2023-03-21T23:58:30.900Z] drwxr-xr-x 3 root root 4096 Mar 21 23:47 . [2023-03-21T23:58:30.900Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:47 .. [2023-03-21T23:58:30.900Z] drwxr-xr-x 2 root root 4096 Mar 21 23:47 cost [2023-03-21T23:58:30.900Z] -rw-r--r-- 1 root root 89 Mar 21 23:47 cost.csv [2023-03-21T23:58:30.900Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-198/archives [2023-03-21T23:58:30.900Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-198/archives [2023-03-21T23:58:30.900Z] total 16 [2023-03-21T23:58:30.900Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:47 . [2023-03-21T23:58:30.900Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:47 .. [2023-03-21T23:58:30.900Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 23:47 cost [2023-03-21T23:58:30.900Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 21 23:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:31.225Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:32.109Z] ---> package-listing.sh [2023-03-21T23:58:32.109Z] ++ facter osfamily [2023-03-21T23:58:32.109Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T23:58:32.368Z] + OS_FAMILY=debian [2023-03-21T23:58:32.368Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-198 [2023-03-21T23:58:32.368Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T23:58:32.368Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T23:58:32.368Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T23:58:32.368Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T23:58:32.368Z] + '[' /w/workspace/foundry_device-usb-camera_PR-198 ']' [2023-03-21T23:58:32.368Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T23:58:32.368Z] + case "${OS_FAMILY}" in [2023-03-21T23:58:32.368Z] + dpkg -l [2023-03-21T23:58:32.368Z] + grep '^ii' [2023-03-21T23:58:32.368Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T23:58:32.368Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T23:58:32.368Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T23:58:32.368Z] + '[' /w/workspace/foundry_device-usb-camera_PR-198 ']' [2023-03-21T23:58:32.368Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-198/archives/ [2023-03-21T23:58:32.368Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-198/archives/ [Pipeline] echo [2023-03-21T23:58:32.402Z] 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-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T23:58:32.692Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:58:33.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T23:58:33.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:58:33.452Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2023-03-21T23:58:33.482Z] $ 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-198/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-198 -v /w/workspace/foundry_device-usb-camera_PR-198:/w/workspace/foundry_device-usb-camera_PR-198:rw,z -v /w/workspace/foundry_device-usb-camera_PR-198@tmp:/w/workspace/foundry_device-usb-camera_PR-198@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 [2023-03-21T23:58:33.667Z] $ docker top 9bf30d1e83333c7dc72b4113090662c10cea8adf545b4d2c43a1202fa97ad193 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:58:34.047Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T23:58:34.353Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T23:58:34.662Z] + ls /var/log/sa-host [2023-03-21T23:58:34.662Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T23:58:34.794Z] provisioning config files... [2023-03-21T23:58:34.803Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-198@tmp/config3937486772270098041tmp [Pipeline] { [Pipeline] echo [2023-03-21T23:58:34.851Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:35.160Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T23:58:35.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:35.596Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T23:58:35.628Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:35.942Z] ---> sudo-logs.sh [2023-03-21T23:58:35.942Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T23:58:36.021Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:36.334Z] ---> job-cost.sh [2023-03-21T23:58:36.334Z] lf-activate-venv: SKIPPING [2023-03-21T23:58:36.334Z] DEBUG: total: 0.2199999988079071 [2023-03-21T23:58:36.334Z] INFO: Retrieving Stack Cost... [2023-03-21T23:58:36.593Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T23:58:37.168Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T23:58:37.203Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:58:37.515Z] ---> logs-deploy.sh [2023-03-21T23:58:37.515Z] lf-activate-venv: SKIPPING [2023-03-21T23:58:37.515Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-198/1 [2023-03-21T23:58:37.515Z] INFO: archiving workspace using pattern(s): [2023-03-21T23:58:38.452Z] Archives upload complete. [2023-03-21T23:58:38.452Z] INFO: archiving logs to Nexus