# Stuck on multi-pipeline stage

**URL:** <https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [September 20, 2025, 3:30am UTC](https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315 "2025-09-20T03:30:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulLocksley](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/paullocksley/32/16069_2.png) [@PaulLocksley](https://forum.codecrafters.io/u/PaulLocksley)\
**Post date:** [September 20, 2025, 3:30am UTC](https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315/1 "2025-09-20T03:30:59Z")

</div>

Hey team,

I’m stuck on Stage #xk3

“it works on my machine” but on the runner I’m just getting '“remote: [tester::#XK3] Received: “” (no line received)” Sometimes.

Sometimes it will pass the first multi pipeline stage and fail the second time.

Was wondering if there is anything in particular that triggers the end of stage check that I should be looking for?

Here are my logs:

```auto
remote: [tester::#XK3] Running ./your_program.sh
remote: [your-program] $ cat /tmp/baz/file-90 | head -n 5 | wc
remote: [tester::#XK3] Didn't find expected line.
remote: [tester::#XK3] Expected: " 5 5 35"
remote: [tester::#XK3] Received: "" (no line received)
remote: [tester::#XK3] Assertion failed.
remote: [tester::#XK3] Test failed

```

Locally this works fine on multiple computers and runtimes:

```auto
➜ codecrafters-shell-csharp git:(master) ./your_program.sh
   ....

$ cat /tmp/baz/file-50 | head -n 5 | wc
      5 5 42
$ exit

```

My code is available here: [GitHub - PaulLocksley/codecrafters-shell-csharp](https://github.com/PaulLocksley/codecrafters-shell-csharp)

I added lots of print logging and the runner just seems to disappear into the black hole somewhere with no information.  
Any tips on on what triggers the runner to think the command has ended or if you can see any errors that aren’t surfaced with debug=true would be helpful.

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [September 20, 2025, 6:03am UTC](https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315/4 "2025-09-20T06:03:39Z")

</div>

Hey @PaulLocksley, I’ll take a look early next week.

> I added lots of print logging and the runner just seems to disappear into the black hole somewhere with no information.

That usually means the program crashed, and the error message got swallowed somewhere along the way.

---

<div class="post-metadata">

**Author:** ![PaulLocksley](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/paullocksley/32/16069_2.png) [@PaulLocksley](https://forum.codecrafters.io/u/PaulLocksley)\
**Post date:** [September 20, 2025, 12:33pm UTC](https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315/5 "2025-09-20T12:33:17Z")

</div>

yeah, I was hoping with debug = true, I would get an trace, dump or a report if my program ends early but no luck. Is there anyway to trigger anything else?

Like I said I’ve tried a few environments and can’t get the same thing to happen. But I don’t have the same test harness.

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [September 20, 2025, 3:11pm UTC](https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315/6 "2025-09-20T15:11:28Z")

</div>

@PaulLocksley Looks like Stage #BR6 (Pipelines - Dual-command pipeline) is failing as well:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/e/8/e80263fd909ffea47115bda9dcfcc2c441130283.png)

You can re-run previous tests using [our CLI](https://docs.codecrafters.io/cli/installation):

```auto
codecrafters test --previous

```

* * *

> yeah, I was hoping with debug = true, I would get an trace, dump or a report if my program ends early but no luck. Is there anyway to trigger anything else?

That flag only controls the verbosity of the tester’s logs. Unfortunately, some stages don’t have detailed output even with debug = true.

One thing you could try is comparing your current code with a previous version that successfully passed Stage #BR6.

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [September 28, 2025, 9:04am UTC](https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315/8 "2025-09-28T09:04:26Z")

</div>

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [October 3, 2025, 9:05am UTC](https://forum.codecrafters.io/t/stuck-on-multi-pipeline-stage/15315/9 "2025-10-03T09:05:16Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
