') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); [wasm] Fix Wasm.Build.Tests build by radical · Pull Request #90927 · dotnet/runtime · GitHub
Skip to content

[wasm] Fix Wasm.Build.Tests build - #90927

Merged
radical merged 1 commit into
dotnet:mainfrom
radical:fix-wbt-build
Aug 22, 2023
Merged

[wasm] Fix Wasm.Build.Tests build#90927
radical merged 1 commit into
dotnet:mainfrom
radical:fix-wbt-build

Conversation

@radical

@radicalradical commented Aug 22, 2023

Copy link
Copy Markdown
Member

workloads-testing.targets: Ignore standard error/warning formats

Prompted by the following getting caught as a warning, and converted to
an error, on windows:

EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.

Prompted by the following getting caught as a warning, and converted to
an error, on windows:
```
EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.
```
@radicalradical added the arch-wasm WebAssembly architecture label Aug 22, 2023
@ghostghost assigned radicalAug 22, 2023
@ghost

Copy link
Copy Markdown

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Prompted by the following getting caught as a warning, and converted to
an error, on windows:

EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.
Author:radical
Assignees:-
Labels:

arch-wasm

Milestone:-

@radicalradical changed the title workloads-testing.targets: Ignore standard error/warning formats[wasm] Fix Wasm.Build.Tests buildAug 22, 2023
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Prompted by the following getting caught as a warning, and converted to
an error, on windows:

EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.
Author:radical
Assignees:radical
Labels:

arch-wasm, area-Infrastructure-libraries

Milestone:-

@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

workloads-testing.targets: Ignore standard error/warning formats

Prompted by the following getting caught as a warning, and converted to
an error, on windows:

EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.
Author:radical
Assignees:radical
Labels:

arch-wasm, area-Infrastructure-libraries, area-Infrastructure-mono

Milestone:-

@radical

Copy link
Copy Markdown
MemberAuthor

Fix is confirmed. Merging to unblock CI.

@radical
radical merged commit 09d7b43 into dotnet:mainAug 22, 2023
@radical
radical deleted the fix-wbt-build branch August 22, 2023 15:46
radical added a commit that referenced this pull request Aug 22, 2023
Prompted by the following getting caught as a warning, and converted to
an error, on windows:
```
EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.
```
(cherry picked from commit 09d7b43)
carlossanlop pushed a commit that referenced this pull request Aug 22, 2023
* Update dependencies from https://github.com/dotnet/icu build 20230814.4
Microsoft.NETCore.Runtime.ICU.Transport
From Version 8.0.0-rc.1.23407.2 -> To Version 9.0.0-alpha.1.23414.4
* Update dependencies from https://github.com/dotnet/msquic build 20230812.1
System.Net.MsQuic.Transport
From Version 8.0.0-alpha.1.23166.1 -> To Version 8.0.0-alpha.1.23412.1
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230816.1
Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
From Version 3.11.0-beta1.23412.1 -> To Version 3.11.0-beta1.23416.1
* Update dependencies from https://github.com/dotnet/cecil build 20230814.1
Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.23407.2 -> To Version 0.11.4-alpha.23414.1
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230817.2
Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
From Version 3.11.0-beta1.23412.1 -> To Version 3.11.0-beta1.23417.2
* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230814.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
From Version 8.0.0-alpha.1.23381.3 -> To Version 8.0.0-alpha.1.23414.1
* Revert "Update dependencies from https://github.com/dotnet/icu build 20230814.4"
This reverts commit 6e553e1.
* Update dependencies from https://github.com/dotnet/icu build 20230818.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 8.0.0-rc.1.23407.2 -> To Version 8.0.0-rc.2.23418.1
* Update dependencies from https://github.com/dotnet/arcade build 20230817.3
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
From Version 8.0.0-beta.23415.4 -> To Version 8.0.0-beta.23417.3
* Dependency coherency updates
Microsoft.DotNet.XliffTasks
From Version 1.0.0-beta.23415.1 -> To Version 1.0.0-beta.23416.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20230819.1
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
From Version 8.0.0-beta.23415.4 -> To Version 8.0.0-beta.23419.1
Dependency coherency updates
Microsoft.DotNet.XliffTasks
From Version 1.0.0-beta.23415.1 -> To Version 1.0.0-beta.23418.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230820.2
Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
From Version 3.11.0-beta1.23412.1 -> To Version 3.11.0-beta1.23420.2
* Update dependencies from https://github.com/dotnet/cecil build 20230821.1
Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.23407.2 -> To Version 0.11.4-alpha.23421.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20230821.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 8.0.0-alpha.0.23407.2 -> To Version 8.0.0-alpha.0.23421.1
* Update dependencies from https://github.com/dotnet/icu build 20230821.2
Microsoft.NETCore.Runtime.ICU.Transport
From Version 8.0.0-rc.1.23407.2 -> To Version 8.0.0-rc.2.23421.2
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230821.3
Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
From Version 3.11.0-beta1.23412.1 -> To Version 3.11.0-beta1.23421.3
* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230821.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
From Version 8.0.0-alpha.1.23381.3 -> To Version 8.0.0-alpha.1.23421.1
* [wasm] Fix Wasm.Build.Tests build (#90927)
Prompted by the following getting caught as a warning, and converted to
an error, on windows:
```
EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.
```
(cherry picked from commit 09d7b43)
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
@ghostghost locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasmWebAssembly architecturearea-Infrastructure-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@radical@maraf