Opened 5 years ago
Last modified 3 years ago
#3463 new defect
nonportable ps in test on Solaris 11
Reported by: | jreed | Owned by: | UnAssigned |
---|---|---|---|
Priority: | low | Milestone: | Solaris and other unsupported |
Component: | dhcp4 | Version: | git |
Keywords: | Cc: | ||
CVSS Scoring: | Parent Tickets: | ||
Sensitive: | no | Defect Severity: | N/A |
Sub-Project: | DHCP | Feature Depending on Ticket: | |
Estimated Difficulty: | 0 | Add Hours to Ticket: | 0 |
Total Hours: | 0 | Internal?: | no |
Description (last modified by tomek)
Running test: dhcp4_reconfigure_test.sh START TEST DHCPv4.dynamicReconfiguration ps: illegal option -- o usage: ps [ -aceglnrSuUvwx ] [ -t term ] [ num ] Creating Kea configuration file: test_config.json. Kea log will be stored in test.log. Running command "../b10-dhcp4 -c test_config.json". . ps: illegal option -- o usage: ps [ -aceglnrSuUvwx ] [ -t term ] [ num ] ERROR: expected one Kea process to be started. Found 0 processes started.
This is Solaris, but may see same problem on other Unixes too.
Subtickets
Change History (11)
comment:1 Changed 5 years ago by tomek
- Summary changed from nonportable ps in test to nonportable ps in test on Solaris 11
comment:2 Changed 5 years ago by jreed
comment:3 Changed 5 years ago by tomek
- Milestone changed from Kea-proposed to Kea0.9
- Priority changed from medium to low
comment:4 Changed 5 years ago by tomek
- Component changed from Unclassified to dhcp4
comment:5 Changed 5 years ago by jreed
Also see this at "Running test: dhcp4_process_tests.sh"
comment:6 Changed 5 years ago by tomek
- Milestone changed from Kea0.9 to Kea0.9.1
- Version set to git
comment:7 follow-up: ↓ 8 Changed 5 years ago by tomek
- Milestone changed from Kea0.9.1 to DHCP Outstanding Tasks
Moving to outstanding DHCP tickets as discussed on Kea call (2014-10-08).
I'm sorry, but this soft of tickets are tricky to deal with. Even though the change may be simple, one of the engineers must get a Solaris box (either work remotely or set up a VM on his own), configure the environment (which takes a lot of time for someone unfamiliar with Solaris), then build Kea code and run unit-tests.
I'm afraid that is just too much effort for a platform that we do not support. We will get to Solaris one day, it just too early at this stage.
comment:8 in reply to: ↑ 7 Changed 5 years ago by fdupont
Replying to tomek:
I'm sorry, but this soft of tickets are tricky to deal with. Even though the change may be simple, one of the engineers must get a Solaris box (either work remotely or set up a VM on his own), configure the environment (which takes a lot of time for someone unfamiliar with Solaris), then build Kea code and run unit-tests.
I'm afraid that is just too much effort for a platform that we do not support. We will get to Solaris one day, it just too early at this stage.
=> POSIX was designed to address this kind of problems, so the ticket should be renamed into "use a POSIX ps" in place to be dropped under the carpet (to paraphrase a French expression).
PS: http://pubs.opengroup.org/onlinepubs/009604499/utilities/ps.html
(which has a -o <format> option :-)
comment:9 Changed 4 years ago by tomek
- Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks
Milestone renamed
comment:10 Changed 3 years ago by tomek
- Description modified (diff)
- Milestone changed from Outstanding Tasks to Solaris-and-exotic-systems
comment:11 Changed 3 years ago by tomek
- Milestone changed from Solaris-and-exotic-systems to Solaris and other unsupported
Milestone renamed
src/lib/testutils/dhcp_test_lib.sh