Re: Review Request 75075: [build] remove TLS 1.0 and 1.1 tests

2024-07-02 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75075/#review226629 --- Ship it! Ship It! - Benjamin Mahler On July 2, 2024, 11:39

Re: Review Request 75026: [cgroups2] update device configuration EBPF program generator

2024-07-02 Thread Benjamin Mahler
(patched) <https://reviews.apache.org/r/75026/#comment314898> might want to test some more cases here: * allow all char devices but deny one? - Benjamin Mahler On June 3, 2024, 7:45 p.m., Jason Zhou

Re: Review Request 75026: [cgroups2] update device configuration EBPF program generator

2024-07-02 Thread Benjamin Mahler
for this variable to make sense here Maybe instead we can just take in an argument of the deny block jump, and this returns the size of the code generated (or maybe the caller can infer that from

Re: Review Request 75070: [build] fix 'incomplete definition of type 'struct bio_st'' error in libevent-enabled cmake builds on ubuntu 20.04

2024-07-02 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75070/#review226624 --- Ship it! Ship It! - Benjamin Mahler On July 2, 2024, 8:34

Re: Review Request 75066: [build] fix docker-build.sh failing to compile with distcheck

2024-07-02 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75066/#review226623 --- Ship it! Ship It! - Benjamin Mahler On July 2, 2024, 8:29

Re: Review Request 75066: [build] fix docker-build.sh failing to compile with distcheck

2024-07-02 Thread Benjamin Mahler
*"ubuntu"*"16.04"* ]]; then CLANG_PKG=clang-3.5 else CLANG_PKG=clang-10 fi ``` - Benjamin Mahler On July 2, 2024, 8:09 p.m., Jason Zhou wrote: > > --- > This is an automatical

Re: Review Request 75063: [build] use ubuntu:20.04 for verify-review

2024-07-02 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75063/#review226620 --- Ship it! Ship It! - Benjamin Mahler On June 26, 2024, 10:18

Re: Review Request 75066: [build] fix docker-build.sh failing to compile with distcheck

2024-07-02 Thread Benjamin Mahler
tps://reviews.apache.org/r/75066/#comment314887> do we still need this? does the comment need an update? - Benjamin Mahler On June 27, 2024, 2:06 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 75062: [build] fix distcheck for ubuntu20.04

2024-07-02 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75062/#review226618 --- Ship it! Ship It! - Benjamin Mahler On June 26, 2024, 10:34

Re: Review Request 75063: [build] use ubuntu:20.04 for verify-review

2024-06-25 Thread Benjamin Mahler
tps://reviews.apache.org/r/75063/#comment314876> this seems like something we should just fix? I suppose this is a reasonable temporary workaround **if** we can't figure out how to fix this quickly - Benjamin Mahler On June 25, 2024, 7:42 p.m., Jason Zhou

Re: Review Request 75062: [build] fix distcheck for ubuntu20.04

2024-06-25 Thread Benjamin Mahler
> On June 24, 2024, 6:31 p.m., Benjamin Mahler wrote: > > support/mesos-build/entrypoint.sh > > Lines 70 (patched) > > <https://reviews.apache.org/r/75062/diff/1/?file=2289252#file2289252line70> > > > > hm.. is this supposed to be needed for dist

Re: Review Request 75063: [build] use ubuntu:20.04 for verify-review

2024-06-24 Thread Benjamin Mahler
tps://reviews.apache.org/r/75063/#comment314863> ditto here, mind commenting on why we are disabling java here? - Benjamin Mahler On June 24, 2024, 5:49 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 75062: [build] fix distcheck for ubuntu20.04

2024-06-24 Thread Benjamin Mahler
t distcheck be performing what's missing that running `make` first solves? - Benjamin Mahler On June 24, 2024, 4:09 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 75057: [link] Work around apparent MAC address bug

2024-06-19 Thread Benjamin Mahler
ing/link/link.cpp Lines 342 (patched) <https://reviews.apache.org/r/75057/#comment314846> After multiple attempts to set the target MAC address, net::mac and ioctl did not report the correct address - Benjamin Mahler On June 18, 2024, 8:51 p.m., Jason Zhou wrote: > > -

Re: Review Request 75058: [mac] support constructing net::MAC object from sa_data char[14] array

2024-06-19 Thread Benjamin Mahler
. - Benjamin Mahler On June 18, 2024, 11:15 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/75058/ > --

Re: Review Request 75057: [link] Work around apparent MAC address bug

2024-06-18 Thread Benjamin Mahler
ting/link/link.cpp Lines 292-293 (patched) <https://reviews.apache.org/r/75057/#comment314832> ditto here, can we include the link name, the two mac addresses, and the target mac address? - Benjamin Mahler On June 18, 2024, 8:5

Re: Review Request 75056: [link] change link::setMAC return type to Try

2024-06-18 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75056/#review226569 --- Ship it! Ship It! - Benjamin Mahler On June 18, 2024, 8:06

Re: Review Request 75046: [route] use nl_addr_iszero helper fn when checking for destination IP network

2024-06-12 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75046/#review226538 --- Ship it! Ship It! - Benjamin Mahler On June 12, 2024, 12:46

Re: Review Request 75046: [route] use nl_addr_iszero helper fn when checking for destination IP network

2024-06-11 Thread Benjamin Mahler
) <https://reviews.apache.org/r/75046/#comment314778> what about this one and the one in diagnosis.cpp? - Benjamin Mahler On June 11, 2024, 10:59 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 75044: [port_mapping] fix SmallEgressLimit test

2024-06-10 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75044/#review226535 --- Ship it! Ship It! - Benjamin Mahler On June 10, 2024, 10:40

Re: Review Request 75043: [cgroups2] Fix control reaches end of non-void function

2024-06-10 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75043/#review226534 --- Ship it! Ship It! - Benjamin Mahler On June 10, 2024, 10:40

Re: Review Request 75042: [port-mapping] fix typo port_mapping.cpp

2024-06-10 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75042/#review226533 --- Ship it! Ship It! - Benjamin Mahler On June 10, 2024, 3:55

Re: Review Request 75038: [port-mapping] cat back ip_local_port_range after updating ephemeral ports

2024-06-07 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75038/#review226528 --- Ship it! Ship It! - Benjamin Mahler On June 7, 2024, 8:54

Re: Review Request 75037: [mesos-build] add /SRC/.git as safe directory for tidybot

2024-06-07 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75037/#review226526 --- Ship it! Ship It! - Benjamin Mahler On June 7, 2024, 6:19

Re: Review Request 75036: [mesos-build] remove setting of environment variable in dockerfiles

2024-06-07 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75036/#review226527 --- Ship it! Ship It! - Benjamin Mahler On June 7, 2024, 6:17

Re: Review Request 75035: [mesos-build] address dependency issues in centos-7 and ubuntu-20.04 dockerfiles

2024-06-07 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75035/#review226525 --- Ship it! Ship It! - Benjamin Mahler On June 6, 2024, 11:08

Re: Review Request 75032: [mesos-build] install openjdk 11 on ubuntu 20.04

2024-06-06 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75032/#review226521 --- Ship it! Ship It! - Benjamin Mahler On June 6, 2024, 12:47

Re: Review Request 75031: [mesos-build] add .git directory to safe directory

2024-06-05 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75031/#review226514 --- Ship it! - Benjamin Mahler On June 5, 2024, 11:25 p.m

Re: Review Request 75030: [mesos-readme] clarify mesos-build instructions for uploading to dockerhub

2024-06-05 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75030/#review226513 --- Ship it! Ship It! - Benjamin Mahler On June 5, 2024, 2:44

Re: Review Request 75029: [mesos-build] add correct directory to git safe directory & add explanation

2024-06-05 Thread Benjamin Mahler
) <https://reviews.apache.org/r/75029/#comment314764> nit: trailing whitespace - Benjamin Mahler On June 5, 2024, 2:42 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 75028: [mesos-build] add readme to support/mesos-build directory

2024-06-04 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75028/#review226509 --- Ship it! Ship It! - Benjamin Mahler On June 4, 2024, 3:23

Re: Review Request 75027: [mesos-build] update review tidybot & docker-build.sh to support ubuntu 20.04

2024-06-04 Thread Benjamin Mahler
26 (patched) <https://reviews.apache.org/r/75027/#comment314760> Probably helps to document what this is for? I will land it as is without it but please follow up with a patch that adds a comment :) - Benjamin Mahler On June 4, 2024, 3:22 p.m., Jason Zhou

Re: Review Request 75023: [mesos-build] Move mesos-build to from ubuntu 16.04 to 20.04

2024-06-03 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75023/#review226507 --- Ship it! Ship It! - Benjamin Mahler On June 3, 2024, 9:48

Re: Review Request 75023: [mesos-build] Move mesos-build to from ubuntu 16.04 to 20.04

2024-06-03 Thread Benjamin Mahler
) <https://reviews.apache.org/r/75023/#comment314759> stale? - Benjamin Mahler On May 30, 2024, 11:33 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 75021: [cgroups2] remove dependency on ENABLE_CGROUPS_V2 macro

2024-05-29 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75021/#review226496 --- Ship it! Ship It! - Benjamin Mahler On May 29, 2024, 10:37

Re: Review Request 75021: [cgroups2] remove dependency on ENABLE_CGROUPS_V2 macro

2024-05-29 Thread Benjamin Mahler
eserve the indentation here (4 space wrap) - Benjamin Mahler On May 29, 2024, 10:37 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visi

Re: Review Request 75020: [mesos-build] Fix python setup in docker-build.sh

2024-05-29 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75020/#review226493 --- Ship it! Ship It! - Benjamin Mahler On May 29, 2024, 8:09

Re: Review Request 75006: [cgroups2] Introduce the DeviceManagerProcess

2024-05-29 Thread Benjamin Mahler
nes 26-27 (patched) <https://reviews.apache.org/r/75006/#comment314685> s/Map// s/`_map`// maybe CgroupsDeviceAccess and device_access_per_cgroup? That way you have CgroupDeviceAccess (singular) and CgroupsDeviceAccess (plural) - Benjamin Mahler On May 22, 2024, 8:2

Re: Review Request 75018: [cgroups2] check bpf.h existence on docker images & fix docker files

2024-05-29 Thread Benjamin Mahler
after all? Looks more python related? - Benjamin Mahler On May 29, 2024, 3:37 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 75010: [http] add test for executor_id support in /containers endpoint

2024-05-23 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75010/#review226486 --- Ship it! Ship It! - Benjamin Mahler On May 23, 2024, 3:24

Re: Review Request 75009: [http] add support for executor_id and framework_id query parameters in /containers endpoint

2024-05-23 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75009/#review226485 --- Ship it! Ship It! - Benjamin Mahler On May 23, 2024, 3:23

Re: Review Request 75011: [contributors] add self to contributors.yaml

2024-05-23 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75011/#review226484 --- Ship it! Ship It! - Benjamin Mahler On May 23, 2024, 4:02

Re: Review Request 74998: [cgroups2] ignore manual enabling of perf_event during Cgroups2IsolatorProcess::prepare

2024-05-20 Thread Benjamin Mahler
ps://reviews.apache.org/r/74998/#comment314677> nit: keep open and close quotes on the same line src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.cpp Lines 241 (patched) <https://reviews.apache.org/r/74998/#comment314679> nit: double newline? - Benjamin Mahler On Ma

Re: Review Request 74997: [cgroups2] Introduce the PerfEventControllerProcess.

2024-05-20 Thread Benjamin Mahler
ithout the wrapping :) src/slave/containerizer/mesos/isolators/cgroups2/controllers/perf_event.cpp Lines 89 (patched) <https://reviews.apache.org/r/74997/#comment314674> nit: double newline between top level definitions in a file - Benjamin Mahler On May 17, 2024, 6:01 p.m., Jaso

Re: Review Request 74981: [cgroups2] allow enable() to take in a set instead of string

2024-05-20 Thread Benjamin Mahler
//reviews.apache.org/r/74981/#comment314672> nit: 4 space indent on parens wrapping - Benjamin Mahler On May 17, 2024, 9:46 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visit: &g

Re: Review Request 74981: [cgroups2] allow enable() to take in a set instead of string

2024-05-17 Thread Benjamin Mahler
10 (original), 810 (patched) <https://reviews.apache.org/r/74981/#comment314664> nit: indentation is off now - Benjamin Mahler On May 17, 2024, 8:43 p.m., Jason Zhou wrote: > > --- > This is an automatically generated

Re: Review Request 74995: [cgroups2] crash when root folder is not detected when creating cgroups

2024-05-16 Thread Benjamin Mahler
this in to the code as well for posterity. - Benjamin Mahler On May 16, 2024, 11:45 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 74994: [cgroups2] fix cgroups isolator test for RevocableCpu

2024-05-16 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74994/#review226458 --- Ship it! Ship It! - Benjamin Mahler On May 16, 2024, 3:07

Re: Review Request 74993: [cgroups2] rename constants in cgroups2 isolator

2024-05-16 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74993/#review226457 --- Ship it! Ship It! - Benjamin Mahler On May 16, 2024, 3:06

Re: Review Request 74989: [cgroup2] Fix CPU isolator tests on cgroups2 systems

2024-05-15 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74989/#review226456 --- Ship it! Ship It! - Benjamin Mahler On May 14, 2024, 9:58

Re: Review Request 74991: [cgroups2] populate unevictable field from memory.stat

2024-05-15 Thread Benjamin Mahler
) <https://reviews.apache.org/r/74991/#comment314662> nit: end with period - Benjamin Mahler On May 15, 2024, 1:07 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 74992: [cgroups2] adjust CPU weight values from v1 to v2 default

2024-05-15 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74992/#review226454 --- Ship it! Ship It! - Benjamin Mahler On May 15, 2024, 9:19

Re: Review Request 74985: [cgroups2] Add memory usage reporting to the MemoryControllerProcess

2024-05-14 Thread Benjamin Mahler
, looks like the comments aren't quite the same across the two src/linux/cgroups2.hpp Lines 301-302 (patched) <https://reviews.apache.org/r/74985/#comment314660> missing the .cpp change here? also feel free to pull this out in front as a separate patch? - Benjamin Mahler On May 14

Re: Review Request 74979: [cgroups2] Add OOM listening to the MemoryControllerProcess.

2024-05-14 Thread Benjamin Mahler
ine at end of file +} // namespace mesos { ``` src/slave/containerizer/mesos/isolators/cgroups2/controllers/memory.cpp Lines 280 (patched) <https://reviews.apache.org/r/74979/#comment314659> nit: extra whitespace here and below (you probably want to update your code ed

Re: Review Request 74985: [cgroups2] Add memory usage reporting to the MemoryControllerProcess

2024-05-13 Thread Benjamin Mahler
etter explain what cache represents src/slave/containerizer/mesos/isolators/cgroups2/controllers/memory.cpp Lines 229-236 (patched) <https://reviews.apache.org/r/74985/#comment314641> Looks like this should be coming from memory.stat's unevictable stat instead? - Benjamin Mahler On May 1

Re: Review Request 74979: [cgroups2] Add OOM listening to the MemoryControllerProcess.

2024-05-13 Thread Benjamin Mahler
/#comment314637> ditto here, need to handle missing hard limit - Benjamin Mahler On May 10, 2024, 10:21 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To reply, visi

Re: Review Request 74980: [cgroups2] Update cgroups2::memory::stats description

2024-05-13 Thread Benjamin Mahler
testing and found that the stat file reports hierarchical information. I'll add that prior to committing. - Benjamin Mahler On May 10, 2024, 10:48 p.m., Jason Zhou wrote: > > --- > This is an automatically generated e-mail. To rep

Re: Review Request 74984: [setup-tools] replace deprecated disutil LooseVersion with packaging.version

2024-05-13 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74984/#review226433 --- Ship it! Ship It! - Benjamin Mahler On May 13, 2024, 2:43

Re: Review Request 74917: [cgroups2][format] Reformat with clang-format

2024-03-07 Thread Benjamin Mahler
-format was inconsistent with the rest of our conventions. - Benjamin Mahler On March 7, 2024, 11:14 p.m., Devin Leamy wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 74910: [cgroups2] Add forward declarations for cgroups2::read and cgroups2::write

2024-03-07 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74910/#review226297 --- Ship it! Ship It! - Benjamin Mahler On March 7, 2024, 3:07

Re: Review Request 74919: [support/post-reviews] Add `--update-all` flag to update all diffs.

2024-03-01 Thread Benjamin Mahler
gt; --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/74919/ > --- > > (Updated Feb. 29, 2024, 11:14 p.m.) > &g

Re: Review Request 74906: [cgroups2][format] Reformat with clang-format

2024-02-28 Thread Benjamin Mahler
style guidelines / conventions, but you can try it out going forward on lines you edit specifically. This will need a significant rebase though against what I committed going forward just use it on lines you've edited, and I can make any style tweaks as needed when landing - Benjamin Mahler

Re: Review Request 74875: [cgroups2] List the available subsystems in a cgroup.

2024-02-28 Thread Benjamin Mahler
se below with the other Try src/tests/containerizer/cgroups2_tests.cpp Lines 45 (patched) <https://reviews.apache.org/r/74875/#comment314511> hm.. not sure if we want the test to be mounting it, but let's keep it for now and r

Re: Review Request 74874: [cgroups2] Introduce read() and write() utilities to read and write to cgroup controls.

2024-02-28 Thread Benjamin Mahler
tps://reviews.apache.org/r/74874/#comment314499> do we need these in the header? (i.e. available to callers as part of the interface?) src/linux/cgroups2.cpp Lines 131-132 (original), 152-153 (patched) <https://reviews.apache.org/r/74874/#comment314498> whoops? - Benjamin Mahler On F

Re: Review Request 74873: [cgroups2] Add constants for cgroup2 controls.

2024-02-27 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74873/#review226256 --- Ship it! Ship It! - Benjamin Mahler On Feb. 26, 2024, 10:12

Re: Review Request 74872: [cgroups2] Add mounting and unmounting of cgroup2 filesystem.

2024-02-27 Thread Benjamin Mahler
/ Checks if the cgroup2 file systems is mounted at /sys/fs/cgroup. -Try mounted_at_root(); - -// Checks if the cgroup2 file systems is mounted. +// Checks if the cgroup2 file systems is mounted at /sys/fs/cgroup, +// returns an error if the mount is found at an unexpected location. Try mounted();

Re: Review Request 74874: [cgroups2] Introduce read() and write() utilities to read and write to cgroup controls.

2024-02-27 Thread Benjamin Mahler
> On Feb. 20, 2024, 4:43 a.m., Benjamin Mahler wrote: > > src/linux/cgroups2.hpp > > Lines 83-96 (patched) > > <https://reviews.apache.org/r/74874/diff/1/?file=2285175#file2285175line83> > > > > hm.. this doesn't seem needed? the below can just be:

Re: Review Request 74871: [cgroups2] Adds cgroups2_tests.cpp.

2024-02-27 Thread Benjamin Mahler
tps://reviews.apache.org/r/74871/#comment314495> nit: remove the extra newline here? src/tests/environment.cpp Lines 233-245 (patched) <https://reviews.apache.org/r/74871/#comment314496> hm.. if `__linux__` this is always returning false..? - Benjamin Mahler On Feb. 27, 2024, 5:31

Re: Review Request 74872: [cgroups2] Add mounting and unmounting of cgroup2 filesystem.

2024-02-27 Thread Benjamin Mahler
POINT src/linux/cgroups2.cpp Lines 47 (patched) <https://reviews.apache.org/r/74872/#comment314493> nit: brace on the next line on functions like this, I missed it for enabled() so feel free to fix that here too :) - Benjamin Mahler On Feb. 26, 2024, 10:12

Re: Review Request 74871: [cgroups2] Adds cgroups2_tests.cpp.

2024-02-27 Thread Benjamin Mahler
d) <https://reviews.apache.org/r/74871/#comment314489> nbd, but this could be `*user == "root"` - Benjamin Mahler On Feb. 27, 2024, 2:52 p.m., Devin Leamy wrote: > > --- > This is an automatically generate

Re: Review Request 74871: [cgroups2] Adds cgroups2_tests.cpp to the Mesos test suit.

2024-02-26 Thread Benjamin Mahler
https://github.com/apache/mesos/blob/1.11.0/src/tests/environment.cpp#L162-L219 - Benjamin Mahler On Feb. 26, 2024, 10:12 p.m., Devin Leamy wrote: > > --- > This is an automatically generated e-mail. To reply, visit: &

Re: Review Request 74870: [cgroups2] Add enabled() to check if cgroups2 is available on the host.

2024-02-26 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74870/#review226238 --- Ship it! Ship It! - Benjamin Mahler On Feb. 26, 2024, 7:18

Re: Review Request 74874: [cgroups2] Introduce read() and write() utilities to read and write to cgroup controls.

2024-02-19 Thread Benjamin Mahler
t, cgroup, control), value); ``` - Benjamin Mahler On Feb. 12, 2024, 5:05 p.m., Devin Leamy wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Re: Review Request 74873: [cgroups2] Add constants for cgroup2 controls.

2024-02-19 Thread Benjamin Mahler
tps://reviews.apache.org/r/74873/#comment314470> hm.. it doesn't seem like the caller needs to know about these, can you put them in the .cpp file? - Benjamin Mahler On Feb. 12, 2024, 5:04 p.m., Devin Leamy wrote: > > --- > This is a

Re: Review Request 74872: [cgroups2] Add mounting and unmounting of cgroup2 filesystem.

2024-02-19 Thread Benjamin Mahler
d-only locating of the mount if you only want to detect and use the existing one on the system. - Benjamin Mahler On Feb. 12, 2024, 5:04 p.m., Devin Leamy wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 74871: [cgroups2] Adds cgroups2_tests.cpp to the Mesos test suit.

2024-02-19 Thread Benjamin Mahler
em only when we need them (as a general rule) src/tests/containerizer/cgroups2_tests.cpp Lines 32 (patched) <https://reviews.apache.org/r/74871/#comment314464> maybe your editor can automatically strip trailing whitespace? - Benjamin Mahler On Feb. 12, 2024, 5:02 p.m.,

Re: Review Request 74870: [cgroups2] Add enabled() to check if cgroups2 is available on the host.

2024-02-19 Thread Benjamin Mahler
4 (patched) <https://reviews.apache.org/r/74870/#comment314462> you could use `*supported` instead of .get(), which seems a bit more readable (we didn't have the star operator when the cgroups v1 code was added) - Benjamin Mahler On Feb. 12, 2024, 5

Re: Review Request 74869: [cgroups2] Add cgroups2.hpp and cgroups2.cpp to Mesos build.

2024-02-19 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74869/#review226220 --- Ship it! Ship It! - Benjamin Mahler On Feb. 12, 2024, 4:59

Re: Review Request 73136: Added support for multiple event loop / IO threads for libev.

2021-01-21 Thread Benjamin Mahler
PROCESS_LIBEV_NUM_IO_THREADS=1 $ make check -j16 TEST_DRIVER="" GTEST_FILTER="-ProcessRemoteLinkTest.RemoteLinkLeak" LIBPROCESS_LIBEV_NUM_IO_THREADS=32 ``` Will follow up with some test(s) that leverage the reinitialize support in libprocess, so that the testing doesn't need to be done manually. Thanks, Benjamin Mahler

Re: Review Request 73136: Added support for multiple event loop / IO threads for libev.

2021-01-20 Thread Benjamin Mahler
_IO_THREADS=1 $ make check -j16 TEST_DRIVER="" GTEST_FILTER="-ProcessRemoteLinkTest.RemoteLinkLeak" LIBPROCESS_LIBEV_NUM_IO_THREADS=32 ``` Will follow up with some test(s) that leverage the reinitialize support in libprocess, so that the testing doesn't need to be done manually. Thanks, Benjamin Mahler

Re: Review Request 73136: Added support for multiple event loop / IO threads for libev.

2021-01-20 Thread Benjamin Mahler
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73136/#review222475 --- On Jan. 12, 2021, 7:22 p.m., Benjamin Mahler wrote: > > ---

Re: Review Request 73137: Avoid using the libev default loop.

2021-01-20 Thread Benjamin Mahler
/ Changes: https://reviews.apache.org/r/73137/diff/1-2/ Testing --- make check Thanks, Benjamin Mahler

Re: Review Request 73137: Avoid using the libev default loop.

2021-01-20 Thread Benjamin Mahler
-null but deleted Since these live beyond the call to stop() finishing - Benjamin --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73137/#review222464 --------

Re: Review Request 73131: Fixed agent reregistration and marking as unreachable race.

2021-01-12 Thread Benjamin Mahler
e since we're just waiting for mark after. - Benjamin Mahler On Jan. 12, 2021, 1:23 a.m., Ilya Pronin wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Review Request 73136: Added support for multiple event loop / IO threads for libev.

2021-01-12 Thread Benjamin Mahler
=32 ``` Will follow up with some test(s) that leverage the reinitialize support in libprocess, so that the testing doesn't need to be done manually. Thanks, Benjamin Mahler

Review Request 73137: Avoid using the libev default loop.

2021-01-12 Thread Benjamin Mahler
, since those need to be dynamic loops as well. Diffs - 3rdparty/libprocess/src/posix/libev/libev.cpp b38e7a0f882a8c24950bdc6fd74a4d25fc68549e Diff: https://reviews.apache.org/r/73137/diff/1/ Testing --- make check Thanks, Benjamin Mahler

Review Request 73135: Removed unused io watcher queue from libev.cpp.

2021-01-12 Thread Benjamin Mahler
b38e7a0f882a8c24950bdc6fd74a4d25fc68549e Diff: https://reviews.apache.org/r/73135/diff/1/ Testing --- make check Thanks, Benjamin Mahler

Re: Review Request 72709: Fixed the tests warning messages.

2020-10-16 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72709/#review222064 --- Ship it! Ship It! - Benjamin Mahler On Aug. 4, 2020, 4:30

Re: Review Request 72956: Added validation that offer constraints are set only for existing roles.

2020-10-15 Thread Benjamin Mahler
s 706 (patched) <https://reviews.apache.org/r/72956/#comment311128> could just use `foreachkey (` ``` foreachkey (const string& role, offerConstraints.role_constraints()) { } ``` - Benjamin Mahler On Oct. 14, 2020, 6:

Re: Review Request 72955: Consolidated creation and validation of `allocator::Framework` options.

2020-10-15 Thread Benjamin Mahler
don't know if we need the quotes here, since we're not showing a string field: `Suppressed roles {"foo", "bar"} are not ...` - Benjamin Mahler On Oct. 14, 2020, 6:16 p.m., Andrei Sekretenko wrote: > > ---

Re: Review Request 72964: Moved failover timeout validation to stateless FrameworkInfo validation.

2020-10-15 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72964/#review222058 --- Ship it! Ship It! - Benjamin Mahler On Oct. 14, 2020, 6:20

Re: Review Request 72956: Added validation that offer constraints are set only for existing roles.

2020-10-13 Thread Benjamin Mahler
) <https://reviews.apache.org/r/72956/#comment30> Ditto here from the last review, shouldn't this go into the validation.hpp existing stateless validation? - Benjamin Mahler On Oct. 12, 2020, 8:15 p.m., Andrei Sekretenko

Re: Review Request 72955: Consolidated creation and validation of `allocator::Framework` options.

2020-10-13 Thread Benjamin Mahler
m.. shouldn't this stateless FrameworkInfo validation go in the existing `validation::framework::valdiate(const FrameworkInfo&)` function in master/validation.hpp? - Benjamin Mahler On Oct. 12, 2020, 8:

Re: Review Request 72945: Ignored the directoy `/dev/nvidia-caps` when globing Nvidia GPU devices.

2020-10-12 Thread Benjamin Mahler
it. If we don't have a solid answer, perhaps just add a TODO to figure out what we should do with it? - Benjamin Mahler On Oct. 13, 2020, 1:39 a.m., Qian Zhang wrote: > > --- > This is an automatically generated e-mail. To rep

Re: Review Request 72954: Added suppressed roles to `allocator/offer_constraints_debug` endpoint.

2020-10-12 Thread Benjamin Mahler
3311 (patched) <https://reviews.apache.org/r/72954/#comment311099> for ( - Benjamin Mahler On Oct. 12, 2020, 2:16 p.m., Andrei Sekretenko wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 72953: Made the offer constraints filter non-optional inside the allocator.

2020-10-12 Thread Benjamin Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72953/#review222026 --- Ship it! Ship It! - Benjamin Mahler On Oct. 12, 2020, 2:17

Re: Review Request 72945: Ignored directoy entries when globing Nvidia GPU devices.

2020-10-12 Thread Benjamin Mahler
oaches: * Ignore all non-device files, or * Ignore `nvidia-caps` specifically, since we probably want to know in the future if there's some other non device stuff getting added - Benjamin Mahler On Oct. 12, 2020, 1:50 a.m., Qian Zhang

Re: Review Request 72922: Re-added the obsolete `updateFramework` signature into libmesos-java.so.

2020-10-01 Thread Benjamin Mahler
che.org/r/72922/#comment311060> Use javadoc style here? maybe make this clear that it's a note for us and not the user looking at the interface? - Benjamin Mahler On Oct. 1, 2020, 2:01 p.m., Andrei Sekr

Re: Review Request 72900: Added offer constraints to `updateFramework()` in the Java bindings.

2020-09-24 Thread Benjamin Mahler
pache.org/r/72900/#comment311022> The suppressed roles collection is gone now? (Not sure if it was specified right originally) - Benjamin Mahler On Sept. 22, 2020, 6:09 p.m., Andrei Sekretenko wrote: > > --- > Thi

Re: Review Request 72874: Added offer constraints to `MesosSchedulerDriver::updateFramework()`.

2020-09-24 Thread Benjamin Mahler
), 367-369 (patched) <https://reviews.apache.org/r/72874/#comment311020> Note that this is the first rvalue reference in the driver interface. Which is largely because we weren't yet on C++11 when most of this interface was written. - Benjamin Mahler On Sept. 22, 2020, 5:57 p.m.,

  1   2   3   4   5   6   7   8   9   10   >