Skip to content

Instantly share code, notes, and snippets.

View bhearsum's full-sized avatar

Ben Hearsum (he/him) bhearsum

View GitHub Profile
~/tmp/2023-12-08 ❯ diff -Naur good/sums.txt bad/sums.txt Node system task 4
--- good/sums.txt 2023-12-08 13:14:14.103710093 -0500
+++ bad/sums.txt 2023-12-08 13:14:50.664398031 -0500
@@ -108,41 +108,68 @@
ba14d80078a807d5dcc5074d929f557ae78652c2d17e07b247f014eb9aa35759 android-sdk-linux/emulator/bin64/mkfs.ext4
9165842ef534e740cf6392261082bec99bfc57f40708d9f18d2d8cebfa7925fb android-sdk-linux/emulator/bin64/resize2fs
54d81d124a1e1833469ebaf000f9a8af90e950f8132c943bc28913d23fa46714 android-sdk-linux/emulator/bin64/tune2fs
-42ab37abdca32f8eef54894cff4863c38858a25f611b015f2442bc3a851ef7a5 android-sdk-linux/emulator/crashpad_handler
-c331f8b80ee16838c31c49239cab84b55dc50a1520e55415d463155e235b2b42 android-sdk-linux/emulator/emulator
-57e81256b8f3a6169b9d10e62cdab3ed87d08484e3d68ea306913cd492df03d5 android-sdk-linux/emulator/emulator-check
> xul.dll!RefPtr<nsCycleCollector>::operator!() Line 311 C++
xul.dll!NS_CycleCollectorSuspect3(void * aPtr, nsCycleCollectionParticipant * aCp, nsCycleCollectingAutoRefCnt * aRefCnt, bool * aShouldDelete) Line 3765 C++
[Inline Frame] xul.dll!nsCycleCollectingAutoRefCnt::incr(void * aOwner, nsCycleCollectionParticipant * aCp) Line 248 C++
[Inline Frame] xul.dll!nsCycleCollectingAutoRefCnt::incr(nsISupports * aOwner) Line 234 C++
xul.dll!mozilla::intl::Localization::AddRef() Line 90 C++
xul.dll!mozilla::intl::Localization::QueryInterface(const nsID & aIID, void * * aInstancePtr) Line 97 C++
xul.dll!nsQueryInterfaceISupports::operator()(const nsID & aIID, void * * aAnswer) Line 13 C++
xul.dll!nsCOMPtr_base::assign_from_qi(const nsQueryInterfaceISupports aQI, const nsID & aIID) Line 46 C++
xul.dll!nsCOMPtr<nsISupportsWeakReference>::nsCOMPtr(const nsQueryInterfaceISupports aQI) Line 590 C++
xul.dll!nsPrefBranch::AddObserverImpl(const nsTSubstring<char> & aDomain, nsIObserver * aObserver, bool aH
diff --git a/src/winsign/osslsigncode.py b/src/winsign/osslsigncode.py
index 1cf1ef9..4c466be 100644
--- a/src/winsign/osslsigncode.py
+++ b/src/winsign/osslsigncode.py
@@ -279,9 +279,11 @@ def write_signature(infile, outfile, sig, certs, cafile, timestampfile):
"-untrusted",
timestampfile,
"-in",
infile,
"-out",
@bhearsum
bhearsum / gist:2c171e943d4becca213f9c5328c055e6
Created July 26, 2021 19:26
quick hack to update reftest manifests
# grab logs for the failing tests
taskcluster group list -f Fa4JHX5tSI-Oixr27vL5sQ | grep ' test' | grep mochitest-browser-chrome | awk '{print $1}' | sed -e 's,\(.*\),https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/\1/runs/0/artifacts/public/logs/live.log,' | xargs -P32 wget
for i in *; do mv $i $i.gz && gunzip $i; done
# update manifests -- run this from the root of the gecko repo
while read line; do
# split out the dir name from the test name
fulltest=$(echo $line | cut -f1 -d\=)
dir=$(echo $fulltest | sed -e 's,\(.*\)/.*,\1,')
test=$(echo -n $fulltest | sed -e 's,.*/,,')
~/repos/fenix mozillaonline-build:master ⇡2 ❯ diff -Naur ~/tmp/2021-06-09/{before,after}-beta.json Py taskgraph2 Node system task 7
--- /home/bhearsum/tmp/2021-06-09/before-beta.json 2021-06-09 14:47:25.097529285 -0400
+++ /home/bhearsum/tmp/2021-06-09/after-beta.json 2021-06-09 14:51:06.234555432 -0400
@@ -178,6 +178,185 @@
"workerType": "b-linux"
}
},
+ "build-beta-mozillaonline": {
+ "attributes": {
+ "always_target": false,
~/repos/fenix mozillaonline-build:master ⇡2 ❯ diff -Naur ~/tmp/2021-06-09/{before,after}-nightly.json х INT Py taskgraph2 Node system task 7
--- /home/bhearsum/tmp/2021-06-09/before-nightly.json 2021-06-09 14:16:56.053628509 -0400
+++ /home/bhearsum/tmp/2021-06-09/after-nightly.json 2021-06-09 14:49:35.844927189 -0400
@@ -293,6 +293,152 @@
"workerType": "b-linux"
}
},
+ "build-android-test-mozillaonline": {
+ "attributes": {
+ "always_target": false,
~/repos/ci-configuration ❯ ci-admin diff --environment firefoxci --ci-configuration-directory .
--- current
+++ generated
@@ -159800,16 +159800,39 @@ Role=repo:github.com/mozilla-releng/staging-fenix:release:
Scopes in this role are defined in [ci-configuration/grants.yml](https://hg.mozilla.org/ci/ci-configuration/file/tip/grants.yml).
scopes:
- project:mobile:fenix:releng:github:action:release
- project:mobile:fenix:releng:github:project:mock
- project:mobile:fenix:releng:googleplay:product:fenix:dep
- project:releng:ship-it:action:mark-as-shipped
➜ shipit git:(main) git log -n1 | cat
commit 906563cf58ffcc57643c0bd936c80ef1c6dc70bb (HEAD -> main, upstream/main)
Author: Aki Sasaki <aki@mozilla.com>
Date: Fri Feb 12 10:31:12 2021 -0800
move bforehand to normandy team (#632)
➜ shipit git:(main) # i don't have the latest changes, so i'll pull them
➜ shipit git:(main) git pull upstream main # pull the latest changes from upstream (mozilla-releng)'s main branch to my local one
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
01-05 11:19:26.761 E/getaddrinfo( 694): android_getaddrinfofornetcontext: explore_numeric: ai_family=2 ai_socktype=1 ai_protocol=6
01-05 11:19:26.761 E/getaddrinfo( 694): explore_numeric_scope
01-05 11:19:26.761 E/getaddrinfo( 694): explore_numeric_scopehostname: d
01-05 11:19:26.761 E/getaddrinfo( 694): explore_numeric_scopescoped does not exist
01-05 11:19:26.761 E/getaddrinfo( 694): android_getaddrinfofornetcontext: explore_fqdn(): ai_family=2 ai_socktype=1 ai_protocol=6
01-05 11:19:26.761 D/res_init( 694): res_vinit: dnsrch list:
01-05 11:19:26.761 D/res_init( 694):
01-05 11:19:26.761 D/res_init( 694): res_vinit: dnsrch list:
01-05 11:19:26.761 D/res_init( 694):
01-05 11:19:26.761 E/getaddrinfo( 694): res_queryN: (1, 28)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
Entitlements to apply to the .app bundle and main browser process
executable during codesigning of production channel builds.
-->
<plist version="1.0">
<dict>
<key>com.apple.application-identifier</key>
<string>43AQ936H96.org.mozilla.macos.FirefoxVPN</string>