Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 971
    • Issues 971
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #17163
Closed
Open
Issue created Oct 18, 2019 by intrigeri@intrigeriMaintainer

"SSH is using the default SocksPort" test suite scenario is fragile

Originally created by @intrigeri on #17163 (Redmine)

I’ve initially spotted this on #16792 (closed), and then noticed that it affected all branches.
For example, this scenario failed 12 times in the last 16 test suite runs on the testing branch.
In every failed case, SSH immediately fails with “nc: connection failed, SOCKSv5 error: General SOCKS server failure”.

Interestingly, none of the scenarios in ssh.feature are affected, while they do almost the same thing. The main differences are:

  • In tor_stream_isolation.feature we have the “I monitor the network connections of SSH” CPU hog running. This might make it harder for tor to do its job.
  • In ssh.feature, we use retry_tor so we retry up to MAX_NEW_TOR_CIRCUIT_RETRIES (default: 10); while in tor_stream_isolation.feature we only try once.

In short, the fragile scenario runs in a context that makes it more likely to fail, and does not retry.

Feature Branch: test/17163-ssh-stream-isolation+force-all-tests

Related issues

  • Related to #17013 (closed)
  • Related to #16792 (closed)
Edited May 15, 2020 by intrigeri
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking