From owner-soc-status@freebsd.org Wed May 27 09:17:45 2020 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 94FE032D0D9 for ; Wed, 27 May 2020 09:17:45 +0000 (UTC) (envelope-from shubhgupta2104@gmail.com) Received: from mail-oo1-f68.google.com (mail-oo1-f68.google.com [209.85.161.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49X4x44C3lz41nK for ; Wed, 27 May 2020 09:17:44 +0000 (UTC) (envelope-from shubhgupta2104@gmail.com) Received: by mail-oo1-f68.google.com with SMTP id r12so4859211ool.4 for ; Wed, 27 May 2020 02:17:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SjvxT/FMl+0sylF802fkXlE2R99lVFnob5qzBBK29sU=; b=PWeFUNTQWo8xRseilVmHvMgkAdakDk0p/GlKKiB6KehDOxqab2GGVZzfQ9VH2h17Vs aMZn4XCntMZF/sz/GXTW2zj7on5GykEzEP3Ei2P32M0NUeBwCH7P0N70eLgYKBppx43h IZTmxavJV4nn+IzOsJ52vFlj+kuTFThCXXaJXfog1ttf5HJMGxoWD2tP4YI2hycEo0vp P1msMh2jT27oiG3gkSmaJ9TJOdvWdNELoFrNVg3t8j5L0NTNbIyB9akMj4N2zILzw099 PLHS7hggsf0MLyRXda9KsxVjM6GJ5OedqWTJI9aze6qsNcDIohbh55uTU+a1NW8lKxVs BgCw== X-Gm-Message-State: AOAM533Ur3kwiBbt9zjyP4keHONirqk7uyAytWDMNf+rWN/l9i36Vo0F Tfh9L5R2pfpr7oxKIl5mAfGbvt/OAOE= X-Google-Smtp-Source: ABdhPJx7pf/nM+WB6LtL6r6vgxWAJeLKK3EVKv215YUiWer8BTi5fw3S1KZzaxAk2RCYLzeiNZGxVw== X-Received: by 2002:a4a:d141:: with SMTP id o1mr2375862oor.39.1590571062984; Wed, 27 May 2020 02:17:42 -0700 (PDT) Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com. [209.85.167.178]) by smtp.gmail.com with ESMTPSA id c12sm698000oib.22.2020.05.27.02.17.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 May 2020 02:17:42 -0700 (PDT) Received: by mail-oi1-f178.google.com with SMTP id r67so185419oih.0 for ; Wed, 27 May 2020 02:17:42 -0700 (PDT) X-Received: by 2002:aca:f4cf:: with SMTP id s198mr1933277oih.105.1590571062220; Wed, 27 May 2020 02:17:42 -0700 (PDT) MIME-Version: 1.0 From: Shubh Gupta Date: Wed, 27 May 2020 14:47:31 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [ GSoC ' 20 weekly update ] Capsicumization of the base system To: soc-status@freebsd.org X-Rspamd-Queue-Id: 49X4x44C3lz41nK X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shubhgupta2104@gmail.com designates 209.85.161.68 as permitted sender) smtp.mailfrom=shubhgupta2104@gmail.com X-Spamd-Result: default: False [4.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; SEM_URIBL_FRESH15(3.00)[shubhgupta.live:url]; R_SPF_ALLOW(0.00)[+ip4:209.85.128.0/17:c]; RWL_MAILSPIKE_GOOD(0.00)[209.85.161.68:from]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FORGED_SENDER(0.30)[shubh@freebsd.org,shubhgupta2104@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[shubh@freebsd.org,shubhgupta2104@gmail.com]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.24)[0.235]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; NEURAL_SPAM_MEDIUM(0.23)[0.225]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(0.35)[0.348]; RCVD_IN_DNSWL_NONE(0.00)[209.85.161.68:from]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 09:17:45 -0000 Hello everyone, This project aims at capsicumizing some of the base system applications. In the past week, I made the following progress: * Setup FreeBSD on a VirtualBox environment, and be able to ssh into the VM from a Linux host. * Setup an NFS server on the FreeBSD guest and be able to access the shared directories on the Linux host. * Also wrote a blog about setting up an NFS server on a FreeBSD machine. The blog can be found at http://shubhgupta.live/. * I also built the kernel and world for *FreeBSD 13.0-CURRENT (GENERIC) #0 aeeda19f692-c268696(master)* to have the latest code, on which I can work. What I am working on now: * Capsicumizing traceroute6 * Capsicumizing fsck_ffs Project description: https://wiki.freebsd.org/SummerOfCode2020Projects/CapsicumizationOfTheBaseSystem The project source can be found at: https://github.com/ShubhGupta2125/freebsd/ Regards Shubh Gupta From owner-soc-status@freebsd.org Fri May 29 17:25:31 2020 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3BB4C33D2E8 for ; Fri, 29 May 2020 17:25:31 +0000 (UTC) (envelope-from ritikagupta1998@gmail.com) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49YWfy32Ydz45p9; Fri, 29 May 2020 17:25:30 +0000 (UTC) (envelope-from ritikagupta1998@gmail.com) Received: by mail-qk1-f182.google.com with SMTP id v79so2881405qkb.10; Fri, 29 May 2020 10:25:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=iejzJIt9iIAEr54kTTugrDNqBsOHQGbeOFx/0xShX6Y=; b=SEW10fumqpb6KIoR6gLy5DOBeXyQxmOpF0+ClLz7eu4da2EwsgWbfe4kSMU9zj9sGd 6NcYx7Jkcs4kLcvYKFqOQi1Rh9z5S8V9072jlw8xR5WgSN0NtnmbqV8ap4zvm+4wJsKM CR3kFwPvVEe73PHtsv1zSOpPqQhz7RlsFmwNM0uSdbxA3orT1z8Gjg7n9ljXsTCg+UMg 3us/k30bgjcIAfHz/CCJ3eXU/WVP3u/jqU1u6Wp+DqaNqYelSEIDn7JNdovzs3v/AejO 4nl+x2zcZSTkJPNs4iqYdEgbG5nHqFFc5N5C84pgcuizQizP5EtSNKy81LbWuAwBWbh7 Wmyg== X-Gm-Message-State: AOAM533voW5nKjbHcxe4sMLMSg3N8jihrQhmfLBSisFNNjpaoTRNJTj+ xviPSnFzGBDcGv9iZqYzplbFZz2ysHc= X-Google-Smtp-Source: ABdhPJyIWQYez5yU2xrxriA8xD3/jIMNK+Y7V/PIobs24kEFGy80yItsLTQHgCjBMQ/vMpwFFEFhAQ== X-Received: by 2002:ae9:f214:: with SMTP id m20mr8881610qkg.232.1590773129259; Fri, 29 May 2020 10:25:29 -0700 (PDT) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by smtp.gmail.com with ESMTPSA id a7sm8427699qth.61.2020.05.29.10.25.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 May 2020 10:25:29 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id n123so1486924ybf.11; Fri, 29 May 2020 10:25:28 -0700 (PDT) X-Received: by 2002:a5b:c82:: with SMTP id i2mr14214311ybq.290.1590773128558; Fri, 29 May 2020 10:25:28 -0700 (PDT) MIME-Version: 1.0 From: Ritika Gupta Date: Fri, 29 May 2020 22:55:16 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [ GSoC ' 20 progress] Kernel Dump Regression Testing To: soc-status@freebsd.org X-Rspamd-Queue-Id: 49YWfy32Ydz45p9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ritikagupta1998@gmail.com designates 209.85.222.182 as permitted sender) smtp.mailfrom=ritikagupta1998@gmail.com X-Spamd-Result: default: False [-1.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-0.90)[-0.902]; NEURAL_SPAM_SHORT(0.08)[0.081]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.93)[-0.931]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.222.182:from]; FORGED_SENDER(0.30)[ritika.gupta@freebsd.org,ritikagupta1998@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.222.182:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[ritika.gupta@freebsd.org,ritikagupta1998@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2020 17:25:31 -0000 Hi everyone, The aim of the project is to create a framework for recovering and testing those kernel dumps for a different set of configuration variables or code paths while logging every test case separately in a log file and later analyzing which code paths failed. *Project Description-* https://wiki.freebsd.org/SummerOfCode2020Projects/KernelDumpRegressionTesting I made the following progress in the past weeks: 1. FreeBSD environment setup on separate hardware 2. Autologin in FreeBSD 3. Explored Bhyve and Pyexpect 4. Made a script which can do the following tasks: - Booting FreeBSD VM using Bhyve - Panics the kernel - Dumps a core to the special partition - Reboots and saves the core to /var/crash I am currently testing the script in various different cases. I would really appreciate if you can provide some feedback. Thanks and Regards, Ritika Gupta