Permalink
Switch branches/tags
Nothing to show
Commits on Nov 11, 2018
  1. tests/test_utils: use the localsshmanager mark to disable the ssh test

    jluebbe committed Nov 11, 2018
    They should only run when explicitly requested. Also enable them on
    Travis.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  2. travis: create known_hosts file for local ssh tests

    jluebbe committed Nov 11, 2018
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  3. test/test_utils: fix test name conflict

    jluebbe committed Nov 11, 2018
    test_sshmanager_remove_raise() was already used by another test.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  4. util/ssh: fix exception message format

    jluebbe committed Nov 11, 2018
    The readlines() method already returns a list, so there is no need to
    wrap it with [{}] in the message.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  5. util/ssh: use strict checking for host keys

    jluebbe committed Nov 9, 2018
    We shouldn't disable the checks configured in the normal SSH config for
    connections to exporters. Instead, make sure that ssh doesn't show a
    prompt for confirming the host key. That needs to be outside of labgrid.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  6. util/ssh: explicitly pass /dev/null for stdin

    jluebbe committed Nov 9, 2018
    This avoids a problem where SSH tries to interact with the terminal,
    which shouldn't happen here.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  7. util/ssh: remove indirection for run_command()

    jluebbe committed Nov 8, 2018
    The internal _run_command() is only called by the public
    run_command(), so remove the indirection.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  8. util/ssh: keep the SSH master active with a keepalive process

    jluebbe committed Nov 8, 2018
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  9. util/ssh: improve output and logging for SSH master check

    jluebbe committed Nov 8, 2018
    The output from 'ssh -O check' can be confusing to the user, so we
    capture it and check it for the expected results.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  10. util/ssh: store the SSH master process handle in a private variable

    jluebbe committed Nov 8, 2018
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  11. util/ssh: clean up argument construction

    jluebbe committed Nov 8, 2018
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  12. util/ssh: fix disconnect for exising shared SSH connections

    jluebbe committed Nov 5, 2018
    Previously we would try close any connection we found.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Commits on Nov 1, 2018
  1. Merge pull request #338 from BastianStender/bst/managed-file

    jluebbe committed Nov 1, 2018
    ManagedFile: fix quartushpsdriver, make configs in openocddriver managed
Commits on Oct 20, 2018
  1. Merge pull request #335 from BastianStender/bst/misc-fixes

    jluebbe committed Oct 20, 2018
    Miscellaneous fixes: styling, unused imports, overridden builtins, ..
  2. Merge pull request #330 from rohieb/patch-1

    jluebbe committed Oct 20, 2018
    doc: small "getting started" improvements
Commits on Oct 18, 2018
  1. Merge pull request #308 from Emantor/topic/sshmanager

    jluebbe committed Oct 18, 2018
    SSH Tunneling and ManagedFile
  2. util/managedfile: use /tmp/labgrid-user instead of /tmp/labgrid/user

    jluebbe committed Oct 18, 2018
    This change fixes possible permission errors when multiple users push
    files to the same host via ManagedFile. The shared /tmp/labgrid
    directory usually ends up with 755 permissions, so other users can't
    create their own user dirs inside it.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  3. Merge pull request #320 from esben/dockerfiles

    jluebbe committed Oct 18, 2018
    Build Docker images
Commits on Oct 16, 2018
  1. Merge pull request #325 from Emantor/topic/small_fixes

    jluebbe committed Oct 16, 2018
    Restrict python version, remove graphviz and fix DeprecationWarnings
Commits on Oct 11, 2018
  1. driver/usbtmc: add basic support for Tektronix TDS2000

    jluebbe committed Sep 5, 2018
    This was tested on a TDS2014B.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Commits on Sep 27, 2018
  1. graphstrategy: support a compatibility format for transitions with via

    jluebbe committed Jul 18, 2018
    GraphStrategies have an additional 'via' keyword argument for
    transitions. This change allows specifying this by using labgrid-client
    -s shell:off,barebox which translates to transition('shell',
    via=['off', 'barebox']).
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Commits on Sep 26, 2018
  1. driver/sshdriver: configure ServerAliveInterval to detect failed conn…

    jluebbe authored and Emantor committed Sep 26, 2018
    …ections
    
    TCP timeouts can take a long time to detect a failed connection, so we
    enable keep-alives at the SSH level. With the default value of
    ServerAliveCountMax of 3, this will detect a failed connection after
    about 45 seconds.
    
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Commits on Sep 25, 2018
  1. Merge pull request #299 from Emantor/topic/feature_flags

    jluebbe committed Sep 25, 2018
    Add support for feature flags
Commits on Sep 17, 2018
  1. Merge pull request #306 from Emantor/topic/smalluboot_login_timeout

    jluebbe committed Sep 17, 2018
    Add login_timeout for smallubootdriver
  2. Merge pull request #305 from Emantor/fix/pyserial_project_dependency

    jluebbe committed Sep 17, 2018
    Add Labgrid-project pyserial fork
Commits on Jul 20, 2018
  1. Merge pull request #289 from labgrid-project/bst/misc

    jluebbe committed Jul 20, 2018
    factory: recognize invalid config yaml item in _convert_to_named_list()
Commits on Jul 10, 2018
  1. Merge pull request #285 from Emantor/fix/ser2net_local_ports

    jluebbe committed Jul 10, 2018
    remote/exporter: set LOCAL option for ser2net exported serial ports
Commits on Jul 3, 2018
  1. Merge pull request #273 from BastianStender/bst/usability

    jluebbe committed Jul 3, 2018
    Improve usability
  2. Merge pull request #274 from BastianStender/bst/improve-doc-graph-str…

    jluebbe committed Jul 3, 2018
    …ategy
    
    doc/development: explain default paths in graph strategy
  3. Merge pull request #237 from Emantor/fix/_run_function

    jluebbe committed Jul 3, 2018
    multiple: add _run function, use _run in _run_check for the mixin
  4. tests: test run method in addition to run_check

    jluebbe committed Jul 3, 2018
    Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  5. Merge pull request #264 from BastianStender/bst/no-self-use

    jluebbe committed Jul 3, 2018
    linting: declare methods without self-use static and annotate legitimate methods
Commits on Jul 2, 2018
  1. Merge pull request #276 from BastianStender/bst/fix-quartushps

    jluebbe committed Jul 2, 2018
    drivers/quartushpsdriver: do not cache cable number
  2. Merge pull request #270 from BastianStender/bst/openocddriver

    jluebbe committed Jul 2, 2018
    driver/openocddriver: multiple improvements
Commits on Jun 11, 2018
  1. Merge pull request #261 from rohieb/imx-usb-loader-for-mxs-devices

    jluebbe committed Jun 11, 2018
    Use imx-usb-loader for MXS devices