Giter Site home page Giter Site logo

Comments (3)

nttoole avatar nttoole commented on June 20, 2024

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.

nttoole avatar nttoole commented on June 20, 2024

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.

nttoole avatar nttoole commented on June 20, 2024

Testing involved running : ait/dsn/bin/examples/raf_api_test

with SSP service setup detailed here:

from ait-dsn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.