# "The job exceeded the maximum log length" OR "No output has been received in the last 10m0s"

**URL:** https://travis-ci.community/t/the-job-exceeded-the-maximum-log-length-or-no-output-has-been-received-in-the-last-10m0s/9259
**Category:** Deployment
**Created:** [July 6, 2020, 12:41pm UTC](https://travis-ci.community/t/the-job-exceeded-the-maximum-log-length-or-no-output-has-been-received-in-the-last-10m0s/9259 "2020-07-06T12:41:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![atomlab](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@atomlab](https://travis-ci.community/u/atomlab)
#### Post date: [July 6, 2020, 12:41pm UTC](https://travis-ci.community/t/the-job-exceeded-the-maximum-log-length-or-no-output-has-been-received-in-the-last-10m0s/9259/1 "2020-07-06T12:41:37Z")

</div>

Hi. I run build code with `language: nix` and have two cases.

**1st case:**

.travis.yml

```auto
language: nix
nix: 2.3.6
script: nix-build -A dockerImage --no-out-link 

```

job terminated with error

```auto
The job exceeded the maximum log length, and has been terminated.

```

**2nd case:**

Ok, I understand that log size limits have reached. I have redirected all output mesages `>/dev/null`

.travis.yml

```auto
language: nix
nix: 2.3.6
script: nix-build -A dockerImage --no-out-link &>/dev/null

```

```auto
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

```

I expect to `travis_wait` will work more then 10 min

```auto
$ travis_wait 60 nix-build -A dockerImage --no-out-link &>/dev/null

```

But I get an error again

```auto
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
The build has been terminated

```

How can I solve this issue?

---

<div class="post-metadata">

### Author: ![NikitoRex](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nikitorex/32/9277_2.png) [@NikitoRex](https://travis-ci.community/u/NikitoRex)
#### Post date: [July 3, 2024, 12:19am UTC](https://travis-ci.community/t/the-job-exceeded-the-maximum-log-length-or-no-output-has-been-received-in-the-last-10m0s/9259/2 "2024-07-03T00:19:51Z")

</div>

did you find any solution i have this problem “cp: cannot create regular file ‘/etc/apt/trusted.gpg.d/apt.llvm.org.asc~’: Permission denied” and No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

249Check the details on how to adjust your build configuration on: [Common Build Problems - Travis CI](https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received)
