GithubHelp home page GithubHelp logo

Comments (8)

geky avatar geky commented on September 18, 2024 1

I don't actually want to merge https://github.com/ARMmbed/esp8266-driver/tree/g-connect-retries

I'd consider retries at this level to be an issue with the test framework, so I'll move them there.

from esp8266-driver.

geky avatar geky commented on September 18, 2024

Hi @MarceloSalazar, thanks for the test log, that helps a bunch.

It looks like the esp8266 can't establish a connection to your host PC. For those three tests, the esp8266 is supposed to connect to your computer, but the logs are showing that you can't.

Is it possible that there is something preventing the device and PC from talking to each other? Maybe your firewall is getting in the way?

from esp8266-driver.

MarceloSalazar avatar MarceloSalazar commented on September 18, 2024

Thanks @geky, you seem to be right, I've moved to a PC with Windows 10 and things have improve a bit. All tests usually pass (w/wo DEBUG), but sometimes random tests fail. See log with lots of tests:
lots_of_tests.txt

Also, the connectivity test sometimes fails when running it alone multiple times (with DEBUG enabled), might be related to previous report. See log:
tests-net-conn_fail.txt

I don't know whether this might be caused by the ESP8x fw, or the tests itself, but it would be great to be able to consistently have all tests passing at some point. Let me know if you need more info/help to do more testing.

from esp8266-driver.

geky avatar geky commented on September 18, 2024

Ah! that's good new. In the new results, it looks like the esp8266 just isn't able to connect to the wifi occasionally. We can add some retry logic to the tests for this.

from esp8266-driver.

geky avatar geky commented on September 18, 2024

Hi @MarceloSalazar, are you able to try this branch and see if it still shows the intermitent failures?
https://github.com/ARMmbed/esp8266-driver/tree/g-connect-retries

from esp8266-driver.

MarceloSalazar avatar MarceloSalazar commented on September 18, 2024

@geky I've been running the tests based on your branch the whole day.
The tests run in the morning are very unreliable (half of them fail), whether the ones run in the afternoon consistently pass all the time (more than 20 cycles completed!).
I suspect this might be related to the wifi network infrastructure, but cannot really say.
I'd be happy if you merge the branch and then close this issue.

from esp8266-driver.

ciarmcom avatar ciarmcom commented on September 18, 2024

ARM Internal Ref: MBOTRIAGE-502

from esp8266-driver.

cmonr avatar cmonr commented on September 18, 2024

Closing due to inactivity.

from esp8266-driver.

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.