• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

clearcontainers / runtime
12%
master: 94%

Build:
Build:
LAST BUILD BRANCH: origin/master
DEFAULT BRANCH: master
Repo Added 01 Feb 2017 03:52PM UTC
Files 22
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH sboeuf/fix_fd_leaks
branch: sboeuf/fix_fd_leaks
CHANGE BRANCH
x
Reset
  • sboeuf/fix_fd_leaks
  • 20180102_rdmsr_warnings
  • 20180112_sriov_lspci
  • 3.0.0
  • 3.0.0-alpha.0
  • 3.0.0-alpha.1
  • 3.0.0-alpha.2
  • 3.0.0-alpha.3
  • 3.0.0-alpha.4
  • 3.0.0-alpha.5
  • 3.0.0-beta.1
  • 3.0.0-beta.2
  • 3.0.13-branch
  • 3.0.14-branch
  • 3.0.15-branch
  • 3.0.16-branch
  • 3.0.17-branch
  • 3.0.18-branch
  • 3.0.19-branch
  • HEAD
  • acetang/cgroup
  • add-code-of-conduct-1
  • add-command-name-to-logs
  • add-distros-to-release-script
  • add-docker-config-to-dev-guide
  • add-find-stale-containers-script
  • add-more-checks-to-cc-check-cmd
  • add-proxy-logs-to-collect-script
  • add-shim-to-data-collection-script
  • add-structured-logging
  • add-usage-to-collect-script
  • add_kata_config
  • agent-update
  • arch-doc-one-proxy-per-vm
  • bclinux
  • build-add-arch-framework
  • build-show-arches
  • build-show-go-vesion
  • build-using-project-name
  • cc-check-always-run-all-tests
  • cc-check-refactor
  • cc-env-add-arch
  • ci-no-issue-for-release-PRs
  • collect-script-add-more-patterns
  • collect-script-fix-for-shim-logs
  • collect-script-ignore-qemu-startup-msg
  • collect-script-more-patterns
  • conditional-git-hook-install
  • config/hypervisor
  • config/removePauseRootPath
  • config/resources
  • coredump-on-error
  • correct-fedora-versions-supported
  • cpus/maxNumber
  • create-issue-template
  • docs-cleanup
  • docs-passing-devices
  • docs-update-assets
  • document-disable-block-flag
  • document-docker-swarm-version
  • document-unrestricted-guest
  • dont-use-git-hooks-under-ci
  • fix-cc-check-kvm-check-msg
  • fix-collect-script-for-kata
  • fix-collect-script-url
  • fix-exec--user
  • fix-install-scripts
  • fix-list--cc-all
  • fix-list-owner-enoent
  • fix-logging-nanosecond-test
  • fix-logging-of-non-strings
  • fix-nanosecond-timestamps
  • fix-write-cgroup-error
  • fix_architectural-limitations
  • fix_exec_override_options
  • fix_format_error
  • fix_gitignore
  • fix_test_timeout
  • ha-design-doc
  • image-18220
  • image-18860
  • image-cl-20640
  • implement_console_socket
  • implement_console_socket_test
  • improve-collect-data-script
  • improve-collect-script
  • improve-container-error-message
  • improve-doc-for-debug
  • improve-docker-failure-message-harder
  • improve-git-hook-install-check
  • improve-test-info-msgs
  • improve-unit-test-coverage
  • install-doc-fixes
  • lint-fixes
  • list-show-owner
  • list-show-stale-containers
  • log-timezone-as-offset
  • logging-fixes
  • make-debug-configurable
  • make-test-timeout-configurable
  • master
  • networkingmodel-op-20180103
  • networkingmodel-option
  • not_use_specified_cgroup_path
  • one-proxy-per-vm
  • origin/master
  • q35Hotplug
  • re-vendor-virtcontainers
  • refactor-some-codes
  • release-301
  • release-3010
  • release-3011
  • release-3012
  • release-302
  • release-303
  • release-304
  • release-305
  • release-306
  • release-307
  • release-308
  • release-309
  • remove-global-log
  • resolve-paths-earlier
  • revendor-vc
  • revendor-virtcontainers
  • revendor_virtcontainers
  • rework-config-file-comment
  • rm-cc-from-cc-env-output
  • sameo/topic/architecture
  • sameo/topic/cgroup
  • sameo/topic/ci
  • sameo/topic/config
  • sameo/topic/copyright
  • sameo/topic/mcastelino
  • sameo/topic/owners
  • sameo/topic/releases
  • sameo/topic/remove-id-prefix
  • sameo/topic/travis
  • sameo/topic/vendor
  • sameo/topic/vendoring
  • sameo/topic/version
  • sboeuf/add_machine_type_cc_env
  • sboeuf/add_proxy_config
  • sboeuf/add_shim_config
  • sboeuf/configurable_machine_type
  • sboeuf/crio_support
  • sboeuf/debug_crio
  • sboeuf/debug_shim_proxy
  • sboeuf/default_q35
  • sboeuf/exec_diff_console
  • sboeuf/fix_3_0
  • sboeuf/fix_CRIO_race_kill
  • sboeuf/fix_cli_args
  • sboeuf/fix_coverage
  • sboeuf/fix_create
  • sboeuf/fix_crio
  • sboeuf/fix_crio_semaphore
  • sboeuf/fix_exec
  • sboeuf/fix_gitignore
  • sboeuf/fix_kill
  • sboeuf/fix_kill_state
  • sboeuf/fix_kill_stop
  • sboeuf/fix_output_detach
  • sboeuf/fix_semaphore
  • sboeuf/fix_shim_exec
  • sboeuf/fix_vendoring
  • sboeuf/implement_exec
  • sboeuf/implement_runtime_create
  • sboeuf/move_qemu-lite_to_qemu-cc
  • sboeuf/move_to_pc
  • sboeuf/new_release
  • sboeuf/proxy_rework
  • sboeuf/remove_pause_bin
  • sboeuf/remove_shim
  • sboeuf/remove_travis
  • sboeuf/rename_to_clear-containers
  • sboeuf/replace_badges
  • sboeuf/shim_config_toml
  • sboeuf/switch_to_new_agent
  • sboeuf/test_ci
  • sboeuf/test_jenkins
  • sboeuf/unit_test_kill
  • sboeuf/unit_test_pause
  • sboeuf/unit_testing
  • sboeuf/update_badges
  • sboeuf/update_stopped_status
  • sboeuf/update_toml_license
  • sboeuf/update_vendoring
  • sboeuf/update_virtcontainers
  • sboeuf/update_virtcontainers_vendoring
  • sboeuf/vendor_virtc
  • sboeuf/vendor_virtcontainers
  • sboeuf/virtcontainers_vendoring
  • set-agent-unit-name-for-project
  • set-kata-agent-type
  • show-url-in-help-text
  • speed-up-docker-test-check
  • sriov-docs
  • suse_installation
  • switch_test_dir
  • topic/addarmsupport
  • topic/armoptions
  • topic/bugfix
  • topic/cc-image
  • topic/crio
  • topic/debug_console
  • topic/docfedora
  • topic/docubuntu
  • topic/documentation
  • topic/downgrade-image
  • topic/govet
  • topic/huge_pages
  • topic/installrhel
  • topic/macvtap
  • topic/nesting
  • topic/ociLogger
  • topic/psCommand
  • topic/refactor
  • topic/releases
  • topic/revendor
  • topic/semaphore_ci
  • topic/setup_ci_fix
  • topic/ubuntudoc
  • topic/ubuntuupdate
  • topic/update-docker-version
  • topic/update-run
  • topic/update-versions
  • topic/vendoring
  • topic/vendoring-pruned
  • topic/vendorvirt
  • unbreak-config-warning-msg
  • unbreak-gofmt
  • undo-go1.9-breakage
  • unit-test-coverage-fixes
  • update-agent
  • update-agent-for-scsi
  • update-artefacts
  • update-artefacts-306
  • update-limitations-vfio
  • update-readme-for-cc-check
  • update-vendoring-for-hotplug
  • update_centos_installation
  • user-kernel-params-take-priority
  • vendor/update
  • vendor/updateVirtcontainers
  • with
  • yet-more-install-doc-fixes

pending completion
162

push

travis-ci

sboeuf
cgroups: Create and delete cgroups files related to provided path

In config.json, a cgroupsPath is provided, and it is expected to be
created. "tasks" and "cgroup.procs" have to be created under this
directory, and filled with the shim's pid. That way, nothing else
will try to create those files on our behalf.

Because we know where the files were created, we are able to remove
them when delete() is called. By removing those files, we make sure
to prevent any file descriptor leak.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

73 of 632 relevant lines covered (11.55%)

0.58 hits per line

Relevant lines Covered
Build:
Build:
632 RELEVANT LINES 73 COVERED LINES
0.58 HITS PER LINE
Source Files on sboeuf/fix_fd_leaks
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
162 sboeuf/fix_fd_leaks cgroups: Create and delete cgroups files related to provided path In config.json, a cgroupsPath is provided, and it is expected to be created. "tasks" and "cgroup.procs" have to be created under this directory, and filled with the shim's pid. Tha... push 13 Mar 2017 04:17PM UTC sboeuf travis-ci pending completion  
157 sboeuf/fix_fd_leaks cgroups: Create and delete cgroups files related to provided path In config.json, a cgroupsPath is provided, and it is expected to be created. "tasks" and "cgroup.procs" have to be created under this directory, and filled with the shim's pid. Tha... push 13 Mar 2017 01:19PM UTC sboeuf travis-ci pending completion  
155 sboeuf/fix_fd_leaks cgroups: Create and delete cgroups files related to provided path In config.json, a cgroupsPath is provided, and it is expected to be created. "tasks" and "cgroup.procs" have to be created under this directory, and filled with the shim's pid. Tha... push 13 Mar 2017 01:17PM UTC sboeuf travis-ci pending completion  
152 sboeuf/fix_fd_leaks cgroups: Create and delete cgroups files related to provided path In config.json, a cgroupsPath is provided, and it is expected to be created. "tasks" and "cgroup.procs" have to be created under this directory, and filled with the shim's pid. Tha... push 10 Mar 2017 10:21PM UTC sboeuf travis-ci pending completion  
148 sboeuf/fix_fd_leaks cgroups: Create and delete cgroups files related to provided path In config.json, a cgroupsPath is provided, and it is expected to be created. "tasks" and "cgroup.procs" have to be created under this directory, and filled with the shim's pid. Tha... push 10 Mar 2017 08:40AM UTC sboeuf travis-ci pending completion  
See All Builds (1627)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc