[INTTEST-25] Variety of python erorrs while building docs after adding integration/test submodule to docs repo Created: 05/Jul/16  Updated: 19/Oct/17  Resolved: 08/Jul/16

Status: Resolved
Project: integration-test
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Colin Dixon Assignee: Thanh Ha (zxiiro)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

When building I get errors like:

> Importing test library '/Users/ckd/git-reps/docs/docs/submodules/integration/test/csit/libraries/riotdm.py' failed: ImportError: No module named requests

And many others like:
> sed: 1: "SxpLib.robot.html": invalid command code S
> sed: 1: "Tcpdump.robot.html": invalid command code T

Talking to Thanh in IRC, it sounds like these are currently expected with how the buildchain to produce robot docs interacts with being run from a VM that doesn't have the full CSIT suite installed, but are harmless.



 Comments   
Comment by Colin Dixon [ 05/Jul/16 ]

If these are going to be present, we should at least document it. If they can be hidden, it would help to make the docs build output more readable, but of course has risks of hiding real errors.

Comment by Thanh Ha (zxiiro) [ 05/Jul/16 ]

I'll take this as an action item. Hiding the errors is low risk because we'd only be hiding it for the libdoc that's used to generate the robot details and that specific error is expected. The rest of the doc build should still report proper errors.

Comment by Thanh Ha (zxiiro) [ 05/Jul/16 ]

Proposed patch: https://git.opendaylight.org/gerrit/41353

Generated at Wed Feb 07 20:04:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.