platformio / platformio/platformio-core

Failed Remote Unit Test / Uploading using Travis : Could not find LD script.

Open
#3,580 5 comments 0 reactions 1 assignee View on GitHub

@valeros is already working on this.

Since Jul 10, 2020.

remote unit testing
Dominant language
Python
Stars
9.5k
Forks
905
Avg merge
2d 13h
Merged PRs (30d)
2

Description

Configuration

PlatformIO Version (platformio --version): 4.3.4

Description of problem

I’m testing remote CI using Travis CI.

I encounter problems testing on my ESP8266 NodeMCU which is attached to my PC (for demo).

What I've tried ?
I’ve tried pio remote update from Travis CI and pio update locally. but nothing has changed.

Steps to Reproduce
  1. Correctly setup with travis-ci.org. So any git push triggers a remote test (See .travis.yml below)
  2. Connect NodeMCU to PC and run pio remote agent start -n mydev
  3. hit git push to github.
  4. wait for the error.
Actual Results

This pops up when it tries to reach connected NodeMCU.

Error: Could not find LD script

If problems with PlatformIO Build System:

The content of platformio.ini:

[env:nodemcuv2]

platform = espressif8266

board = nodemcuv2

framework = arduino

build_flags = 

  -D BEARSSL_SSL_BASIC

; lib_deps = Blynk

board_build.ldscript = eagle.flash.4m1m.ld

monitor_speed = 115200

upload_speed = 921600

test_ignore = test-native

[env:native]

platform = native

test_ignore = test-embedded

.travis.yml :

language: python

python:

    - "3.8"

sudo: false

cache:

    directories:

        - "~/.platformio"

install:

    - pip install -U platformio

    - platformio update

script:

    - pio remote update

    - platformio test -e native

    - pio remote agent list

    - pio remote --agent mydev test -e nodemcuv2

    - pio remote --agent mydev run -e nodemcuv2 -t upload
Additional info

I’ve received the corresponding commands at pio agent :

2020-07-03 21:35:07 [info] Remote command received: psync
2020-07-03 21:35:12 [info] Remote command received: test
2020-07-03 21:35:31 [info] Remote command received: psync
2020-07-03 21:35:36 [info] Remote command received: run

What could be the problem / solution ?

UPDATE :
Here's a sample output of Travis-ci log :
https://api.travis-ci.org/v3/job/704757056/log.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.