Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate system test failures #775

Closed
callmehiphop opened this issue Jul 31, 2015 · 12 comments
Closed

Investigate system test failures #775

callmehiphop opened this issue Jul 31, 2015 · 12 comments
Assignees

Comments

@callmehiphop
Copy link
Contributor

We're green now, but the previous build choked on this

3) datastore querying the datastore should run a query as a stream:
Error: done() called multiple times
at Suite.<anonymous> (system-test/datastore.js:355:5)
at Suite.<anonymous> (system-test/datastore.js:236:3)
at Object.<anonymous> (system-test/datastore.js:29:1)
at Array.forEach (native)
at LOOP (fs.js:1474:14)
@callmehiphop callmehiphop added api: datastore Issues related to the Datastore API. testing labels Jul 31, 2015
@stephenplusplus
Copy link
Contributor

Just going to log anomaly system test failures here:

1) pubsub Topic should be listed:
      Uncaught AssertionError: 2 == 3
      + expected - actual
      -2
      +3

      at system-test/pubsub.js:75:16
      at lib/common/stream-router.js:9:4454

@stephenplusplus stephenplusplus changed the title Investigate datastore tests Investigate system test failures Aug 5, 2015
@callmehiphop callmehiphop self-assigned this Aug 5, 2015
@callmehiphop
Copy link
Contributor Author

good plan!

@stephenplusplus
Copy link
Contributor

Addressed in #784

(running in a Docker container)

  1) Search listing documents "before all" hook:
     Uncaught TypeError: Cannot read property 'statusCode' of undefined
      at Object.parseApiResp (lib/common/util.js:166:11)
      at Object.handleResp (lib/common/util.js:139:25)
      at lib/common/util.js:572:12
      at TLSSocket.socketOnEnd (_http_client.js:300:9)
      at _stream_readable.js:908:16

This specific error could be due to the timeout being reached and the process being interrupted. We might be hitting timeouts with Search because of the inability to delete Indexes. So, every time the tests are run, we test that an index can be created. Then, our before/afters require going through the indexes for the documents we create. In the absence of an index#delete method, we will probably just have to delete whatever we create per-test to avoid making such large amounts of API requests. (Right now, I have 288 indexes)

@stephenplusplus
Copy link
Contributor

(running in a Docker container)

2) storage "before all" hook:
     Uncaught TypeError: Cannot read property 'statusCode' of undefined
      at Object.parseApiResp (lib/common/util.js:166:11)
      at Object.handleResp (lib/common/util.js:139:25)
      at lib/common/util.js:572:12
      at TLSSocket.socketOnEnd (_http_client.js:300:9)
      at _stream_readable.js:908:16

@stephenplusplus
Copy link
Contributor

Fact: I've just learned that if a test times out, whatever code hasn't completed yet won't be aborted. It continues processing in the background, and in our case, is possibly making many API requests.

Theory: This could cause any future test to randomly fail or produce unexpected results, as the upstream API could be feeling overwhelmed or suspicious of our requests.

@callmehiphop callmehiphop removed the api: datastore Issues related to the Datastore API. label Aug 6, 2015
@callmehiphop
Copy link
Contributor Author

When doing a release Travis will run to jobs at once - one for the release commit and one for the tag. Both will fail and you'll get some really weird looking errors. Has this always been an issue..? We should see if it's possible to stagger the jobs.

@stephenplusplus
Copy link
Contributor

I think in the future we can just push the tag commit, let Travis run, then push the tag to GH.

(Marking for inclusion in #725)

@stephenplusplus
Copy link
Contributor

@callmehiphop have you noticed any test failures popping up lately? Wondering if we can call this resolved.

@callmehiphop
Copy link
Contributor Author

A couple of timeouts here and there, but I’d say otherwise we’ve been looking pretty good.

On Aug 14, 2015, at 3:40 PM, Stephen Sawchuk [email protected] wrote:

@callmehiphop https://github.com/callmehiphop have you noticed any test failures popping up lately? Wondering if we can call this resolved.


Reply to this email directly or view it on GitHub #775 (comment).

@stephenplusplus
Copy link
Contributor

Cool. For releases, I think we just need to push in two steps. One for master, then another for the tags. We can revisit if more weirdness pops up.

@stephenplusplus
Copy link
Contributor

@dhermes
Copy link
Contributor

dhermes commented Sep 2, 2015

👍

sofisl pushed a commit that referenced this issue Nov 17, 2022
Source-Link: googleapis/synthtool@d229a12
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:74ab2b3c71ef27e6d8b69b1d0a0c9d31447777b79ac3cd4be82c265b45f37e5e

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Fenster <[email protected]>
sofisl pushed a commit that referenced this issue Jan 10, 2023
* test: use fully qualified request type name in tests

PiperOrigin-RevId: 475685359

Source-Link: googleapis/googleapis@7a12973

Source-Link: googleapis/googleapis-gen@370c729
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzcwYzcyOWUyYmEwNjJhMTY3NDQ5YzI3ODgyYmE1ZjM3OWM1YzM0ZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
sofisl pushed a commit that referenced this issue Jan 17, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [mathjs](https://mathjs.org) ([source](https://togithub.com/josdejong/mathjs)) | dependencies | major | [`^6.0.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/mathjs/6.6.5/7.0.0) |

---

### Release Notes

<details>
<summary>josdejong/mathjs</summary>

### [`v7.0.0`](https://togithub.com/josdejong/mathjs/blob/master/HISTORY.md#&#8203;2020-05-07-version-700)

[Compare Source](https://togithub.com/josdejong/mathjs/compare/v6.6.5...v7.0.0)

Breaking changes:

-   Improvements in calculation of the `dot` product of complex values. 
    The first argument is now conjugated. See [#&#8203;1761](https://togithub.com/josdejong/mathjs/issues/1761). Thanks [@&#8203;m93a](https://togithub.com/m93a).  
-   Dropped official support for Node.js v8 which has reached end of life.
-   Removed all deprecation warnings introduced in v6. 
    To upgrade smoothly from v5 to v7 or higher, upgrade to v6 first
    and resolve all deprecation warnings.

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-vision).
sofisl pushed a commit that referenced this issue Jan 24, 2023
sofisl pushed a commit that referenced this issue Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants