NASA-AMMOS / AIT-DSN

MIT License
19 stars 10 forks source link

CLTU API Test #129

Closed Futabay closed 3 years ago

Futabay commented 3 years ago
  1. SSPSim: i. Go to SSPSim website ii. Open "MISSION MANAGERS" > "Test" > "FCLTU-PLOP1" iii. Open "PRODUCTION" > "TestBaseband1" iv. Activate the production interface by clicking the green arrow labelled "TC" v. Activate the TM simulation data creation by clicking the green arrow labelled "SIM". vi. Activate the Mission Manager interface by clicking the green arrow labelled "SVC"

  2. Run AIT-DSN/ait/dsn/bin/examples/cltu_api_test.py: python cltu_api_test.py

  3. Stop AIT-DSN/ait/dsn/bin/examples/cltu_api_test.py by Ctl+C

  4. Verify each communication status are successful as shown terminal log below.

SSPSim image 1 Screen Shot 2020-08-25 at 1 43 49 PM

SSPSim Image 2 Screen Shot 2020-08-25 at 1 44 00 PM

SSPSim - Log Screen Shot 2020-08-25 at 2 32 51 PM

Terminal Log

(ait) LMC-062858:examples kkallas$ python cltu_api_test.py
2020-08-25T14:29:50.731 | WARNING  | Config parameter command.history.filename specifies nonexistent path /Users/kkallas/Documents/github/AIT/cmdhist.pcap
2020-08-25T14:29:50.733 | WARNING  | Config parameter dsn.cfdp.mib.path specifies nonexistent path /Users/kkallas/Documents/github/AIT/AIT-Core/config/mib
2020-08-25T14:29:50.734 | WARNING  | Config parameter dsn.cfdp.datasink.outgoing.path specifies nonexistent path /Users/kkallas/Documents/github/AIT/AIT-Core/ait/dsn/cfdp/datasink/outgoing
2020-08-25T14:29:50.736 | WARNING  | Config parameter dsn.cfdp.datasink.incoming.path specifies nonexistent path /Users/kkallas/Documents/github/AIT/AIT-Core/ait/dsn/cfdp/datasink/incoming
2020-08-25T14:29:50.738 | WARNING  | Config parameter dsn.cfdp.datasink.tempfiles.path specifies nonexistent path /Users/kkallas/Documents/github/AIT/AIT-Core/ait/dsn/cfdp/datasink/tempfiles
2020-08-25T14:29:50.739 | WARNING  | Config parameter dsn.cfdp.datasink.pdusink.path specifies nonexistent path /Users/kkallas/Documents/github/AIT/AIT-Core/ait/dsn/cfdp/datasink/pdusink
2020-08-25T14:29:50.740 | WARNING  | Config parameter data.1553.path specifies nonexistent path /gds/dev/data/LMC-062858/2020/2020-238/downlink/1553
2020-08-25T14:29:50.741 | WARNING  | Config parameter data.bad.path specifies nonexistent path /gds/dev/data/LMC-062858/2020/2020-238/downlink/bad
2020-08-25T14:29:50.742 | WARNING  | Config parameter data.lehx.path specifies nonexistent path /gds/dev/data/LMC-062858/2020/2020-238/downlink/lehx
2020-08-25T14:29:50.743 | WARNING  | Config parameter data.planning.path specifies nonexistent path /gds/dev/data/LMC-062858/2020/2020-238/planning
2020-08-25T14:29:50.745 | WARNING  | Config parameter data.sdos.path specifies nonexistent path /gds/dev/data/LMC-062858/2020/2020-238/sdos
2020-08-25T14:29:50.746 | WARNING  | Config parameter data.uplink.path specifies nonexistent path /gds/dev/data/LMC-062858/2020/2020-238/uplink
2020-08-25T14:29:50.747 | WARNING  | Config parameter data.ats.path specifies nonexistent path /gds/dev/data/LMC-062858/2020/2020-238/ats
2020-08-25T14:29:51.302 | INFO     | Connection to DSN successful through atb-ocio-sspsim.jpl.nasa.gov.
2020-08-25T14:29:51.303 | INFO     | Configuring SLE connection...
2020-08-25T14:29:51.304 | INFO     | SLE connection configuration successful
2020-08-25T14:29:53.307 | INFO     | Sending Bind request ...
2020-08-25T14:29:53.365 | INFO     | Bind successful
2020-08-25T14:29:55.312 | INFO     | Sending data start invocation ...
2020-08-25T14:29:55.359 | INFO     | Start Successful
2020-08-25T14:29:55.361 | INFO     | 
Last Processed: id: 2 | rad start: b'596204639ab80000' | status: radiated
Last Ok: id: 2 | end: b'596204639adf0000'
Production Status: operational

2020-08-25T14:29:57.317 | INFO     | Sending TC Data ...
2020-08-25T14:29:57.406 | INFO     | CLTU #1 trans. passed. Buffer avail.: 51121
2020-08-25T14:29:57.408 | INFO     | 
Last Processed: id: 0 | rad start: b'5962049cfd7a0000' | status: radiated
Last Ok: id: 0 | end: b'5962049cfda10000'
Production Status: operational

2020-08-25T14:30:01.320 | INFO     | Sending TC Data ...
2020-08-25T14:30:01.372 | INFO     | CLTU #2 trans. passed. Buffer avail.: 51121
2020-08-25T14:30:01.398 | INFO     | 
Last Processed: id: 1 | rad start: b'5962049d0d1e0000' | status: radiated
Last Ok: id: 1 | end: b'5962049d0d450000'
Production Status: operational

2020-08-25T14:30:05.327 | INFO     | Sending TC Data ...
2020-08-25T14:30:05.369 | INFO     | CLTU #3 trans. passed. Buffer avail.: 51121
2020-08-25T14:30:05.410 | INFO     | 
Last Processed: id: 2 | rad start: b'5962049d1cc20000' | status: radiated
Last Ok: id: 2 | end: b'5962049d1ce90000'
Production Status: operational

2020-08-25T14:30:09.332 | INFO     | Sending data stop invocation ...
2020-08-25T14:30:09.395 | INFO     | Stop successful
2020-08-25T14:30:11.336 | INFO     | Sending Unbind request ...
2020-08-25T14:30:11.555 | INFO     | Unbind successful
Futabay commented 3 years ago

Found bugs:

MJJoyce commented 3 years ago

Resolve in #120