question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tracking Issue [Test Failures]

See original GitHub issue

This is an issue to help keep track of/coordinate/ultimately resolve test failures seen. @rwjblue and myself are pairing on this, and we using this issue to keep track of what is up.

Reproduction:

cd embroider/test-packages/macro-sample-addon
yarn test

Results in:

scenario entry status TL;DR current status
ember-lts-2.16
ember-lts-2.20 TypeError: block is not iterable proposed fix https://github.com/embroider-build/embroider/pull/839/
ember-lts-2.24 TypeError: block is not iterable proposed fix https://github.com/embroider-build/embroider/pull/839/
ember-release Uncaught ReferenceError: Ember is not defined ✅fix landed
ember-beta Uncaught ReferenceError: Ember is not defined ✅fix landed
ember-canary Uncaught ReferenceError: Ember is not defined ✅fix landed

Issues

At first glance, it appears we have two different issues:

1) block is not iterable

Maybe a template compiler iter-opt issue which appears to be at-play for LTS 2.20 -> LTS 2.24, we haven’t ruled out it isn’t effecting ember-release/ember-beta/ember-canary yet, but as those are failing for other reasons we do not yet know for sure they are not effected.

2) Ember is not defined

Maybe ember’s boot-straping of window.Ember isn’t running, this appears to effect ember-* scenarios.

Potentially related to: https://github.com/emberjs/ember.js/commit/de777ec921b21e5760284fa6e5a0f5bc7d6d144d / https://github.com/emberjs/ember.js/pull/19557

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
stefanpennercommented, Jun 9, 2021

I have posted a PR which addresses my understanding of the last issue: https://github.com/embroider-build/embroider/pull/839/

It also exposes two more currently undiscovered issues, related to the same problem, which I intend to follow up with fixes on next.

1reaction
rwjbluecommented, Jun 3, 2021

Working on fixing this over in https://github.com/emberjs/ember.js/pull/19586, that will reset the boostrapping back to an IIFE and restore functionality for Embroider 0.40 and 0.41 (without requiring changes in Embroider).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filtering and Tracking Test Failures - Testspace
When opening a test suite with failures, only the failing test cases are shown by default. A simple click removes the filter and...
Read more >
What is a good test review process for sporadic failures
My approach usually is to file a ticket for tracking and go on with the next test. Even if i know that it...
Read more >
Tracking how many times an Issue fails code review or testing
Once an Issue (User Story, Bug or Task) is deemed ready by a developer, it is passed on to a peer for code...
Read more >
Tracking investigation of test failures - Jazz Forum
One thing we currently struggle with is investigation of test failures. We run tests on 60 boxes, and failures can often become a...
Read more >
What is bug tracking? - IBM
Bug tracking is the process of logging and monitoring bugs or errors during software testing. It is also referred to as defect tracking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found