Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 7d4ce62

Browse files
committed
Merge branch 'user/nohaper/job-result-warning' of https://github.com/nharper285/onefuzz into user/nohaper/job-result-warning
2 parents 1cbf447 + bd3d2e3 commit 7d4ce62

File tree

219 files changed

+6304
-7245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+6304
-7245
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG VARIANT="ubuntu-22.04"
55
FROM mcr.microsoft.com/devcontainers/base:${VARIANT}
66

77
# note: keep this in sync with .github/workflows/ci.yml
8-
ARG RUSTVERSION="1.71"
8+
ARG RUSTVERSION="1.71.1"
99

1010
# Install packages required for build:
1111
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

.gitattributes

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
* text=auto
2-
*.ps1 text=crlf
1+
* text=auto
2+
*.ps1 text eol=crlf
3+
*.sh text eol=lf

.github/workflows/ci.yml

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
env:
1818
CARGO_TERM_COLOR: always
19-
ACTIONS_CACHE_KEY_DATE: 2023-06-19
19+
ACTIONS_CACHE_KEY_DATE: 2023-08-10
2020
CI: true
2121

2222
jobs:
@@ -45,7 +45,7 @@ jobs:
4545
- name: Install specific Rust version
4646
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb # pinned latest master as of 2022-10-08
4747
with:
48-
toolchain: "1.71" # note: keep this in sync with .devcontainer/Dockerfile
48+
toolchain: "1.71.1" # note: keep this in sync with .devcontainer/Dockerfile
4949
components: clippy, rustfmt, llvm-tools-preview
5050
- name: Setup Rust problem-matchers
5151
uses: r7kamura/rust-problem-matchers@d58b70c4a13c4866d96436315da451d8106f8f08 # pinned to 1.3.0
@@ -527,7 +527,7 @@ jobs:
527527
uses: actions/cache@v3
528528
with:
529529
path: src/integration-tests/artifacts
530-
key: integration-tests|linux|${{ hashFiles('src/integration-tests/**/*') }}
530+
key: integration-tests|linux|${{ env.ACTIONS_CACHE_KEY_DATE }}|${{ hashFiles('src/integration-tests/**/*') }}
531531
- name: Build integration tests
532532
if: steps.cache-integration-tests.outputs.cache-hit != 'true'
533533
run: |
@@ -538,9 +538,11 @@ jobs:
538538
539539
mkdir -p artifacts/linux-libfuzzer
540540
mkdir -p artifacts/linux-libfuzzer-with-options
541+
mkdir -p artifacts/mariner-libfuzzer
541542
(cd libfuzzer ; make )
542543
cp -r libfuzzer/fuzz.exe libfuzzer/seeds artifacts/linux-libfuzzer
543544
cp -r libfuzzer/fuzz.exe libfuzzer/seeds artifacts/linux-libfuzzer-with-options
545+
cp -r libfuzzer/fuzz.exe libfuzzer/seeds artifacts/mariner-libfuzzer
544546
545547
mkdir -p artifacts/linux-libfuzzer-regression
546548
(cd libfuzzer-regression ; make )
@@ -590,15 +592,17 @@ jobs:
590592
name: artifact-integration-tests-linux
591593
path: src/integration-tests/artifacts
592594
build-integration-tests-windows:
593-
runs-on: windows-2019
595+
runs-on: windows-2022
594596
steps:
595597
- uses: actions/checkout@v3
596598
- name: Cache integration tests
597599
id: cache-integration-tests
598600
uses: actions/cache@v3
599601
with:
600602
path: src/integration-tests/artifacts
601-
key: integration-tests|windows|${{ hashFiles('src/integration-tests/**/*') }}
603+
key: integration-tests|windows|${{ env.ACTIONS_CACHE_KEY_DATE }}|${{ hashFiles('src/integration-tests/**/*') }}
604+
- name: Setup C/C++ environment
605+
uses: ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89 # pinned to v1.12.1
602606
- name: Build integration tests
603607
if: steps.cache-integration-tests.outputs.cache-hit != 'true'
604608
run: |
@@ -609,33 +613,6 @@ jobs:
609613
choco install make
610614
$env:Path += ";C:\Program Files\LLVM\bin;C:\ProgramData\chocolatey\bin"
611615
612-
# WORKAROUND: effectively downgrade the default Windows 10 SDK version.
613-
#
614-
# This ensures we link against a version of the SDK which won't trigger a
615-
# startup bug in the LLVM-shipped ASAN runtime.
616-
617-
# Assume a default MSVC 2019 install path.
618-
$MsvcDir = 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC'
619-
620-
# Assume that `$MsvcDir` only contains version-named subdirectories.
621-
$MsvcVersion = ((Get-ChildItem $MsvcDir).name | Sort-Object -Descending)[0]
622-
$MsvcLib = "${MsvcDir}/${MsvcVersion}/lib/x64"
623-
624-
# Known "good" (non-bug-surfacing) version.
625-
$WindowsSdkVersion = '10.0.18362.0'
626-
627-
# Assume default install path.
628-
$WindowsSdkDir = 'C:/Program Files (x86)/Windows Kits/10'
629-
$WindowsSdkLib = "${WindowsSdkDir}/Lib/${WindowsSdkVersion}"
630-
$WindowsSdkInclude = "${WindowsSdkDir}/Include/${WindowsSdkVersion}"
631-
632-
# Used by `clang.exe`.
633-
$env:CPATH = $WindowsSdkInclude
634-
$env:LIBRARY_PATH = "${MsvcLib};${WindowsSdkLib}/ucrt/x64;${WindowsSdkLib}/um/x64"
635-
636-
# Used by `link.exe`.
637-
$env:LIB = $env:LIBRARY_PATH
638-
639616
cd src/integration-tests
640617
641618
mkdir artifacts/windows-libfuzzer

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,79 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## 8.7.0
11+
12+
### Added
13+
14+
* Agent: Added a snapshot-based test to coverage implementation [#3368](https://github.com/microsoft/onefuzz/pull/3368)
15+
* Agent/CLI/Service: Added ability to capture crash dumps from libfuzzer, when provided [#2793](https://github.com/microsoft/onefuzz/pull/2793) [#3409](https://github.com/microsoft/onefuzz/pull/3409)
16+
* CLI/Service: Implemented `--with_tasks ` option for `onefuzz jobs get` command to expand the task information [#3343](https://github.com/microsoft/onefuzz/pull/3343)
17+
18+
### Changed
19+
20+
* Agent: Migrated all the task types to the template model [#3397](https://github.com/microsoft/onefuzz/pull/3307)
21+
* Agent: Removed `srcview` code from OneFuzz since it is not currently utilized [#3376](https://github.com/microsoft/onefuzz/pull/3376)
22+
* Agent: Updated default windows VM image to windows 11 [#3374](https://github.com/microsoft/onefuzz/pull/3374)
23+
* Agent: Migrated `winapi` to `windows-rs`, the newer Microsoft supported version of the Windows API bindings for Rust [#3050](https://github.com/microsoft/onefuzz/pull/3050)
24+
* Deployment: Updated the default deployment option for `EnableWorkItemCreation` feature flag to be enabled [#3387](https://github.com/microsoft/onefuzz/pull/3387)
25+
26+
### Fixed
27+
28+
* Agent: Deserialize the coverage files directly into the output files [#3410](https://github.com/microsoft/onefuzz/pull/3410)
29+
* Agent/Deployment/Service: Bumped several C#, Python, and Rust dependencies as well as the Rust edition across all Rust crates [#3396](https://github.com/microsoft/onefuzz/pull/3396), [#3161](https://github.com/microsoft/onefuzz/pull/3161), [#3346](https://github.com/microsoft/onefuzz/pull/3346), [#3391](https://github.com/microsoft/onefuzz/pull/3391), [#2870](https://github.com/microsoft/onefuzz/pull/2870), [#3392](https://github.com/microsoft/onefuzz/pull/3392), [#3402](https://github.com/microsoft/onefuzz/pull/3402)
30+
* Agent: Fixed a bug in agent `DirectoryMonitor` by adding error tolerance when attempting to fetch metadata for `CreateKind::Any` or `CreateKind::Other` events [#3393](https://github.com/microsoft/onefuzz/pull/3393)
31+
* Service: Fixed tag shadowing in logging by giving precedence to the tags produced by log messages over the tags added prior to the call, when the tag names clashed [#3388](https://github.com/microsoft/onefuzz/pull/3388)
32+
33+
## 8.6.3
34+
35+
### Fixed
36+
37+
* Service: Fixed another duplicate Azure DevOps work item creation case by handling `Microsoft.VSTS.Common.ResolvedReason` field when present [#3383](https://github.com/microsoft/onefuzz/pull/3383)
38+
39+
## 8.6.2
40+
41+
### Fixed
42+
43+
* Agent: Fixed tasks hanging when shutting down by forcefully shutting down the runtime before exiting the main task [#3378](https://github.com/microsoft/onefuzz/pull/3378)
44+
* Service: Refactored Azure DevOps template rendering to fix duplicate bugs being filed due to title truncation and added several validation tests in this area [#3370](https://github.com/microsoft/onefuzz/pull/3370)
45+
46+
## 8.6.1
47+
48+
### Added
49+
50+
* Service: Added feature flag to toggle Azure DevOps work item processing [#3353](https://github.com/microsoft/onefuzz/pull/3353)
51+
* Service: Requeue Azure DevOps notifications when the feature flag for work item processing is set to 'disabled' [#3358](https://github.com/microsoft/onefuzz/pull/3358)
52+
53+
## 8.6.0
54+
55+
### Added
56+
57+
* Agent: Implemented `debuginfo` caching [#3280](https://github.com/microsoft/onefuzz/pull/3280)
58+
59+
### Changed
60+
61+
* Agent: Limit azcopy copy buffer to 512MB of RAM as the default maximum [#3293](https://github.com/microsoft/onefuzz/pull/3293)
62+
* Agent: Define local fuzzing tasks relationships through new templating model [#3117](https://github.com/microsoft/onefuzz/pull/3117)
63+
* Deployment: Replaced `--upgrade` flag with `--skip_aad_setup` flag in the deploy.py setup script [#3345](https://github.com/microsoft/onefuzz/pull/3345)
64+
* Service: Make `ServiceConfiguration` eagerly evaluated [#3136](https://github.com/microsoft/onefuzz/pull/3136)
65+
* Service: Improved `TimerRetention` performance through several UPN changes & fixes [#3289](https://github.com/microsoft/onefuzz/pull/3289)
66+
67+
### Fixed
68+
69+
* Agent: Fixed resolution of sibling .NET DLLs [#3325](https://github.com/microsoft/onefuzz/pull/3325)
70+
* Agent/Service: Bumped several C# and Rust dependencies [#3319](https://github.com/microsoft/onefuzz/pull/3319), [#3320](https://github.com/microsoft/onefuzz/pull/3320), [#3317](https://github.com/microsoft/onefuzz/pull/3317), [#3297](https://github.com/microsoft/onefuzz/pull/3297), [#3301](https://github.com/microsoft/onefuzz/pull/3301), [#3291](https://github.com/microsoft/onefuzz/pull/3291), [#3195](https://github.com/microsoft/onefuzz/pull/3195), [#3328](https://github.com/microsoft/onefuzz/pull/3328)
71+
* CLI: Look for azcopy.exe in environment variable `AZCOPY` and determine if it's actually referencing a directory [#3344](https://github.com/microsoft/onefuzz/pull/3344)
72+
* CLI: Updated `repro get_files` to handle regression reports [#3340](https://github.com/microsoft/onefuzz/pull/3340)
73+
* CLI: Fixed missing `target_timeout` setting in the Libfuzzer basic template [#3334](https://github.com/microsoft/onefuzz/pull/3334)
74+
* CLI: Fixed false 'missing' dependency warning [#3331](https://github.com/microsoft/onefuzz/pull/3331)
75+
* CLI: Fixed the `debug notification test_template` command expecting a `task_id` [#3308](https://github.com/microsoft/onefuzz/pull/3308)
76+
* Deployment: Update App Registration redirect URIs if deployment uses a custom domain [#3341](https://github.com/microsoft/onefuzz/pull/3341)
77+
* Service: Fixed links in bugs filed from regression reports by populating `InputBlob` when possible [#3342](https://github.com/microsoft/onefuzz/pull/3342)
78+
* Service: Fixed several storage issues to improve platform performance and reduce spurious `404`s [#3313](https://github.com/microsoft/onefuzz/pull/3313)
79+
* Service: Added extra logging when `System.Title` is too long [#3332](https://github.com/microsoft/onefuzz/pull/3332)
80+
* Service: Render `System.Title` before trying to trim it to the max allowed size [#3329](https://github.com/microsoft/onefuzz/pull/3329)
81+
* Service: Differentiate `INVALID_JOB` and `INVALID_TASK` error codes [#3318](https://github.com/microsoft/onefuzz/pull/3318)
82+
1083
## 8.5.0
1184

1285
### Added

CURRENT_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.5.0
1+
8.7.0

0 commit comments

Comments
 (0)