Comments (3)
Testing notes
The current code works fine for the original test which use a made-up hostnames as failure cases.
Config:
hostnames:
- example.hostname.1
- atb-ocio-sspsim.jpl.nasa.gov
- example.hostname.2
Results:
2022-03-28T16:55:04.015 | INFO | Failed to connect to DSN at example.hostname.1. Trying next hostname.
2022-03-28T16:55:04.052 | INFO | Connection to DSN successful through atb-ocio-sspsim.jpl.nasa.gov.
2022-03-28T16:55:04.054 | INFO | Configuring SLE connection...
2022-03-28T16:55:04.055 | INFO | SLE connection configuration successful
2022-03-28T16:55:06.058 | INFO | Sending Bind request ...
2022-03-28T16:55:06.146 | INFO | Bind successful
2022-03-28T16:55:08.062 | INFO | Sending data start invocation ...
2022-03-28T16:55:08.163 | INFO | Start successful
2022-03-28T16:55:08.264 | INFO | Production Status Report: running
However, if we test with an actual host but not SLE service (e.g. www.google.com), then we witness the user-reported error.
Config:
hostnames:
- www.google.com
- example.hostname.1
- atb-ocio-sspsim.jpl.nasa.gov
- example.hostname.2
Results:
2022-03-28T16:57:59.750 | INFO | Failed to connect to DSN at www.google.com: Trying next hostname.
2022-03-28T16:57:59.759 | INFO | Failed to connect to DSN at example.hostname.1. Trying next hostname.
2022-03-28T16:57:59.802 | INFO | Failed to connect to DSN at atb-ocio-sspsim.jpl.nasa.gov. Trying next hostname.
2022-03-28T16:57:59.805 | INFO | Failed to connect to DSN at example.hostname.2. Trying next hostname.
2022-03-28T16:57:59.806 | ERROR | Connection failure with DSN. Aborting ...
from ait-dsn.
After applying patch, re-running with config:
hostnames:
- www.google.com
- example.hostname.1
- atb-ocio-sspsim.jpl.nasa.gov
- example.hostname.2
...resulted in successful connection with the third entry of hostnames:
2022-03-29T11:51:14.498 | INFO | Failed to connect to DSN at www.google.com. Trying next hostname.
2022-03-29T11:51:14.505 | INFO | Failed to connect to DSN at example.hostname. Trying next hostname.
2022-03-29T11:51:14.663 | INFO | Connection to DSN successful through atb-ocio-sspsim.jpl.nasa.gov.
2022-03-29T11:51:14.665 | INFO | Configuring SLE connection...
2022-03-29T11:51:14.666 | INFO | SLE connection configuration successful
2022-03-29T11:51:16.667 | INFO | Sending Bind request ...
2022-03-29T11:51:16.775 | INFO | Bind successful
2022-03-29T11:51:18.669 | INFO | Sending data start invocation ...
2022-03-29T11:51:18.735 | INFO | Start successful
2022-03-29T11:51:18.847 | INFO | Production Status Report: running
from ait-dsn.
Testing involved running : ait/dsn/bin/examples/raf_api_test
with SSP service setup detailed here:
from ait-dsn.
Related Issues (20)
- Fix frames.py to properly import util for hexint
- Consolidate testing framework
- Add capability for TCP Manager to publish TCP data into PUB/SUB
- Add select/sendall when using DSN socket
- Add plugin for extracting CCSDS packets from AOS packets HOT 1
- Fix select call in common.py
- Fix typo in AOS_to_CCSDS
- Configure the destination stream names for received AOS frames
- Packaging and Dev Tooling Rework
- Fix AOS_to_CCSDS Idle Byte checking HOT 1
- Turn the BCH code into a plugin
- Update encryption documentation KMC config example
- Fix readthedocs build issue
- Create plugins for the SLE services
- Add TC frame Segmentation Byte option
- Python 3.10 Support HOT 1
- SLE Common Class Variables Should be Instance Variables HOT 1
- SLIM integration: Infusion of Lab-approved documentation and templating standards
- Add DSN monitor data plugin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ait-dsn.