git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: unit tests / cirrus ci fails

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Jul 10, 2021, 20:42 UTC
Message-ID
<dba84da7-f6ec-37b3-4322-378af9249d54@gmail.com>
In-Reply-To
<db030e49-edb0-8f4b-0e51-a89b2a4a47a8@gigacodes.de>
Hi Fabian,
Le 2021-07-09 à 12:04, Fabian Stelzer a écrit :
> The new tests themselves are failing now and i have no idea why on freebsd :/
> Are there detailed logs publicly available from the CI runs?
the logs should be accessible on the "Checks" tab of your PR
  if you are logged into GitHub. But I don't think there is more
to see than what's shown there.
> Or is my only option to set up a freebsd 12 vm to try to replicate this?
> Does the ci simply run "make test" or is there another mechanism involved?
> 

I managed to log into the Cirrus-CI FreeBSD VM using tunshell [1]. I found out about it at [2]. Here's the commit in my fork [3]

0. Create a Cirrus-CI account and give it access to your fork of Git
1. Create the tunshell session at [1]
2. Run the local script on your local host
3. Copy the remote script in '.cirrus.yml' in you branch
    (ex. as the first step of the "test_script:" section), commit and push to GitHub
4. wait for the build to start on Cirrus and the tunshell client on your machine
    should connect you to the VM.
5. Go to /tmp/cirrus-ci-build in the VM to find the git.git checkout
Caveat: your public IP will be viewable in the Cirrus log.

[1] https://tunshell.com/go [3] https://github.com/phil-blain/git/commit/b47d803ee1ba83100702cb80c93e18c74d787dce [2] https://github.com/cirruslabs/cirrus-ci-docs/issues/432

Previous: Fabian Stelzer
Message 4 of 4 in “unit tests / cirrus ci fails”
  1. Fabian StelzerJul 9, 2021
  2. Đoàn Trần Công DanhJul 9, 2021
  3. Fabian StelzerJul 9, 2021
  4. Philippe BlainJul 10, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.